Stream: git-cranelift

Topic: cranelift / Issue #1367 warning about unused import: `Fea...


view this post on Zulip GitHub (Jan 28 2020 at 10:21):

stefson labeled Issue #1367:

it's merely a warning, so might not be that much of a big deal:

   Compiling cranelift-filetests v0.56.0 (/tmp/cranelift/cranelift-filetests)
warning: unused import: `Feature`
  --> cranelift-filetests/src/runone.rs:11:36
   |
11 | use cranelift_reader::{parse_test, Feature, IsaSpec, ParseOptions};
   |                                    ^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

full build log:

/tmp/cranelift $ cargo build
    Updating crates.io index
  Downloaded indexmap v1.3.1
  Downloaded console v0.9.2
  Downloaded backtrace v0.3.42
  Downloaded num_cpus v1.12.0
  Downloaded syn v1.0.14
  Downloaded gimli v0.20.0
  Downloaded wat v1.0.7
  Downloaded wasmparser v0.47.0
  Downloaded wast v6.0.0
  Downloaded leb128 v0.2.4
   Compiling proc-macro2 v1.0.8
   Compiling unicode-xid v0.2.0
   Compiling cfg-if v0.1.10
   Compiling libc v0.2.66
   Compiling autocfg v1.0.0
   Compiling syn v1.0.14
   Compiling log v0.4.8
   Compiling cc v1.0.50
   Compiling target-lexicon v0.10.0
   Compiling cranelift-entity v0.56.0 (/tmp/cranelift/cranelift-entity)
   Compiling byteorder v1.3.2
   Compiling cranelift-codegen-shared v0.56.0 (/tmp/cranelift/cranelift-codegen/shared)
   Compiling arrayvec v0.5.1
   Compiling fallible-iterator v0.2.0
   Compiling stable_deref_trait v1.1.1
   Compiling smallvec v1.1.0
   Compiling memchr v2.3.0
   Compiling lazy_static v1.4.0
   Compiling regex-syntax v0.6.13
   Compiling semver-parser v0.7.0
   Compiling bitflags v1.2.1
   Compiling quick-error v1.2.3
   Compiling plain v0.2.3
   Compiling failure_derive v0.1.6
   Compiling serde v1.0.104
   Compiling unicode-width v0.1.7
   Compiling rustc-demangle v0.1.16
   Compiling termcolor v1.1.0
   Compiling anyhow v1.0.26
   Compiling crc32fast v1.2.0
   Compiling leb128 v0.2.4
   Compiling uuid v0.8.1
   Compiling number_prefix v0.3.0
   Compiling wasmparser v0.47.0
   Compiling vec_map v0.8.1
   Compiling ansi_term v0.11.0
   Compiling strsim v0.8.0
   Compiling same-file v1.0.6
   Compiling cranelift-codegen-meta v0.56.0 (/tmp/cranelift/cranelift-codegen/meta)
   Compiling cranelift-bforest v0.56.0 (/tmp/cranelift/cranelift-bforest)
   Compiling thread_local v1.0.1
   Compiling indexmap v1.3.1
   Compiling num-traits v0.2.11
   Compiling num-integer v0.1.42
   Compiling humantime v1.3.0
   Compiling semver v0.9.0
   Compiling textwrap v0.11.0
   Compiling wast v6.0.0
   Compiling walkdir v2.3.1
   Compiling backtrace-sys v0.1.32
   Compiling capstone-sys v0.10.0
   Compiling rustc_version v0.2.3
   Compiling aho-corasick v0.7.6
   Compiling gimli v0.20.0
   Compiling quote v1.0.2
   Compiling raw-cpuid v7.0.3
   Compiling wat v1.0.7
   Compiling atty v0.2.14
   Compiling region v2.1.2
   Compiling dirs-sys v0.3.4
   Compiling time v0.1.42
   Compiling termios v0.3.1
   Compiling clicolors-control v1.0.1
   Compiling memmap v0.7.0
   Compiling errno v0.2.4
   Compiling num_cpus v1.12.0
   Compiling regex v1.3.3
   Compiling clap v2.33.0
   Compiling dirs v2.0.2
   Compiling chrono v0.4.10
   Compiling term v0.6.1
   Compiling backtrace v0.3.42
   Compiling synstructure v0.12.3
   Compiling env_logger v0.6.2
   Compiling console v0.9.2
   Compiling file-per-thread-logger v0.1.2
   Compiling pretty_env_logger v0.3.1
   Compiling indicatif v0.13.0
   Compiling string-interner v0.7.1
   Compiling thiserror-impl v1.0.9
   Compiling scroll_derive v0.10.1
   Compiling thiserror v1.0.9
   Compiling scroll v0.10.1
   Compiling failure v0.1.6
   Compiling goblin v0.1.3
   Compiling filecheck v0.4.0
   Compiling cranelift-codegen v0.56.0 (/tmp/cranelift/cranelift-codegen)
   Compiling faerie v0.14.0
   Compiling object v0.17.0
   Compiling capstone v0.6.0
   Compiling cranelift-module v0.56.0 (/tmp/cranelift/cranelift-module)
   Compiling cranelift-native v0.56.0 (/tmp/cranelift/cranelift-native)
   Compiling cranelift-frontend v0.56.0 (/tmp/cranelift/cranelift-frontend)
   Compiling cranelift-preopt v0.56.0 (/tmp/cranelift/cranelift-preopt)
   Compiling cranelift-reader v0.56.0 (/tmp/cranelift/cranelift-reader)
   Compiling cranelift-faerie v0.56.0 (/tmp/cranelift/cranelift-faerie)
   Compiling cranelift-object v0.56.0 (/tmp/cranelift/cranelift-object)
   Compiling cranelift-simplejit v0.56.0 (/tmp/cranelift/cranelift-simplejit)
   Compiling cranelift-wasm v0.56.0 (/tmp/cranelift/cranelift-wasm)
   Compiling cranelift v0.56.0 (/tmp/cranelift/cranelift-umbrella)
   Compiling cranelift-filetests v0.56.0 (/tmp/cranelift/cranelift-filetests)
warning: unused import: `Feature`
  --> cranelift-filetests/src/runone.rs:11:36
   |
11 | use cranelift_reader::{parse_test, Feature, IsaSpec, ParseOptions};
   |                                    ^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

   Compiling cranelift-tools v0.56.0 (/tmp/cranelift)
    Finished dev [unoptimized + debuginfo] target(s) in 1m 21s

~~~

view this post on Zulip GitHub (Jan 28 2020 at 10:21):

stefson opened Issue #1367:

it's merely a warning, so might not be that much of a big deal:

   Compiling cranelift-filetests v0.56.0 (/tmp/cranelift/cranelift-filetests)
warning: unused import: `Feature`
  --> cranelift-filetests/src/runone.rs:11:36
   |
11 | use cranelift_reader::{parse_test, Feature, IsaSpec, ParseOptions};
   |                                    ^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

full build log:

/tmp/cranelift $ cargo build
    Updating crates.io index
  Downloaded indexmap v1.3.1
  Downloaded console v0.9.2
  Downloaded backtrace v0.3.42
  Downloaded num_cpus v1.12.0
  Downloaded syn v1.0.14
  Downloaded gimli v0.20.0
  Downloaded wat v1.0.7
  Downloaded wasmparser v0.47.0
  Downloaded wast v6.0.0
  Downloaded leb128 v0.2.4
   Compiling proc-macro2 v1.0.8
   Compiling unicode-xid v0.2.0
   Compiling cfg-if v0.1.10
   Compiling libc v0.2.66
   Compiling autocfg v1.0.0
   Compiling syn v1.0.14
   Compiling log v0.4.8
   Compiling cc v1.0.50
   Compiling target-lexicon v0.10.0
   Compiling cranelift-entity v0.56.0 (/tmp/cranelift/cranelift-entity)
   Compiling byteorder v1.3.2
   Compiling cranelift-codegen-shared v0.56.0 (/tmp/cranelift/cranelift-codegen/shared)
   Compiling arrayvec v0.5.1
   Compiling fallible-iterator v0.2.0
   Compiling stable_deref_trait v1.1.1
   Compiling smallvec v1.1.0
   Compiling memchr v2.3.0
   Compiling lazy_static v1.4.0
   Compiling regex-syntax v0.6.13
   Compiling semver-parser v0.7.0
   Compiling bitflags v1.2.1
   Compiling quick-error v1.2.3
   Compiling plain v0.2.3
   Compiling failure_derive v0.1.6
   Compiling serde v1.0.104
   Compiling unicode-width v0.1.7
   Compiling rustc-demangle v0.1.16
   Compiling termcolor v1.1.0
   Compiling anyhow v1.0.26
   Compiling crc32fast v1.2.0
   Compiling leb128 v0.2.4
   Compiling uuid v0.8.1
   Compiling number_prefix v0.3.0
   Compiling wasmparser v0.47.0
   Compiling vec_map v0.8.1
   Compiling ansi_term v0.11.0
   Compiling strsim v0.8.0
   Compiling same-file v1.0.6
   Compiling cranelift-codegen-meta v0.56.0 (/tmp/cranelift/cranelift-codegen/meta)
   Compiling cranelift-bforest v0.56.0 (/tmp/cranelift/cranelift-bforest)
   Compiling thread_local v1.0.1
   Compiling indexmap v1.3.1
   Compiling num-traits v0.2.11
   Compiling num-integer v0.1.42
   Compiling humantime v1.3.0
   Compiling semver v0.9.0
   Compiling textwrap v0.11.0
   Compiling wast v6.0.0
   Compiling walkdir v2.3.1
   Compiling backtrace-sys v0.1.32
   Compiling capstone-sys v0.10.0
   Compiling rustc_version v0.2.3
   Compiling aho-corasick v0.7.6
   Compiling gimli v0.20.0
   Compiling quote v1.0.2
   Compiling raw-cpuid v7.0.3
   Compiling wat v1.0.7
   Compiling atty v0.2.14
   Compiling region v2.1.2
   Compiling dirs-sys v0.3.4
   Compiling time v0.1.42
   Compiling termios v0.3.1
   Compiling clicolors-control v1.0.1
   Compiling memmap v0.7.0
   Compiling errno v0.2.4
   Compiling num_cpus v1.12.0
   Compiling regex v1.3.3
   Compiling clap v2.33.0
   Compiling dirs v2.0.2
   Compiling chrono v0.4.10
   Compiling term v0.6.1
   Compiling backtrace v0.3.42
   Compiling synstructure v0.12.3
   Compiling env_logger v0.6.2
   Compiling console v0.9.2
   Compiling file-per-thread-logger v0.1.2
   Compiling pretty_env_logger v0.3.1
   Compiling indicatif v0.13.0
   Compiling string-interner v0.7.1
   Compiling thiserror-impl v1.0.9
   Compiling scroll_derive v0.10.1
   Compiling thiserror v1.0.9
   Compiling scroll v0.10.1
   Compiling failure v0.1.6
   Compiling goblin v0.1.3
   Compiling filecheck v0.4.0
   Compiling cranelift-codegen v0.56.0 (/tmp/cranelift/cranelift-codegen)
   Compiling faerie v0.14.0
   Compiling object v0.17.0
   Compiling capstone v0.6.0
   Compiling cranelift-module v0.56.0 (/tmp/cranelift/cranelift-module)
   Compiling cranelift-native v0.56.0 (/tmp/cranelift/cranelift-native)
   Compiling cranelift-frontend v0.56.0 (/tmp/cranelift/cranelift-frontend)
   Compiling cranelift-preopt v0.56.0 (/tmp/cranelift/cranelift-preopt)
   Compiling cranelift-reader v0.56.0 (/tmp/cranelift/cranelift-reader)
   Compiling cranelift-faerie v0.56.0 (/tmp/cranelift/cranelift-faerie)
   Compiling cranelift-object v0.56.0 (/tmp/cranelift/cranelift-object)
   Compiling cranelift-simplejit v0.56.0 (/tmp/cranelift/cranelift-simplejit)
   Compiling cranelift-wasm v0.56.0 (/tmp/cranelift/cranelift-wasm)
   Compiling cranelift v0.56.0 (/tmp/cranelift/cranelift-umbrella)
   Compiling cranelift-filetests v0.56.0 (/tmp/cranelift/cranelift-filetests)
warning: unused import: `Feature`
  --> cranelift-filetests/src/runone.rs:11:36
   |
11 | use cranelift_reader::{parse_test, Feature, IsaSpec, ParseOptions};
   |                                    ^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

   Compiling cranelift-tools v0.56.0 (/tmp/cranelift)
    Finished dev [unoptimized + debuginfo] target(s) in 1m 21s

~~~

view this post on Zulip GitHub (Jan 28 2020 at 17:04):

abrown commented on Issue #1367:

@stefson, thanks for reporting this; not a big issue but #1368 will fix it.

view this post on Zulip GitHub (Jan 28 2020 at 18:11):

sstangl closed Issue #1367:

it's merely a warning, so might not be that much of a big deal:

   Compiling cranelift-filetests v0.56.0 (/tmp/cranelift/cranelift-filetests)
warning: unused import: `Feature`
  --> cranelift-filetests/src/runone.rs:11:36
   |
11 | use cranelift_reader::{parse_test, Feature, IsaSpec, ParseOptions};
   |                                    ^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

full build log:

/tmp/cranelift $ cargo build
    Updating crates.io index
  Downloaded indexmap v1.3.1
  Downloaded console v0.9.2
  Downloaded backtrace v0.3.42
  Downloaded num_cpus v1.12.0
  Downloaded syn v1.0.14
  Downloaded gimli v0.20.0
  Downloaded wat v1.0.7
  Downloaded wasmparser v0.47.0
  Downloaded wast v6.0.0
  Downloaded leb128 v0.2.4
   Compiling proc-macro2 v1.0.8
   Compiling unicode-xid v0.2.0
   Compiling cfg-if v0.1.10
   Compiling libc v0.2.66
   Compiling autocfg v1.0.0
   Compiling syn v1.0.14
   Compiling log v0.4.8
   Compiling cc v1.0.50
   Compiling target-lexicon v0.10.0
   Compiling cranelift-entity v0.56.0 (/tmp/cranelift/cranelift-entity)
   Compiling byteorder v1.3.2
   Compiling cranelift-codegen-shared v0.56.0 (/tmp/cranelift/cranelift-codegen/shared)
   Compiling arrayvec v0.5.1
   Compiling fallible-iterator v0.2.0
   Compiling stable_deref_trait v1.1.1
   Compiling smallvec v1.1.0
   Compiling memchr v2.3.0
   Compiling lazy_static v1.4.0
   Compiling regex-syntax v0.6.13
   Compiling semver-parser v0.7.0
   Compiling bitflags v1.2.1
   Compiling quick-error v1.2.3
   Compiling plain v0.2.3
   Compiling failure_derive v0.1.6
   Compiling serde v1.0.104
   Compiling unicode-width v0.1.7
   Compiling rustc-demangle v0.1.16
   Compiling termcolor v1.1.0
   Compiling anyhow v1.0.26
   Compiling crc32fast v1.2.0
   Compiling leb128 v0.2.4
   Compiling uuid v0.8.1
   Compiling number_prefix v0.3.0
   Compiling wasmparser v0.47.0
   Compiling vec_map v0.8.1
   Compiling ansi_term v0.11.0
   Compiling strsim v0.8.0
   Compiling same-file v1.0.6
   Compiling cranelift-codegen-meta v0.56.0 (/tmp/cranelift/cranelift-codegen/meta)
   Compiling cranelift-bforest v0.56.0 (/tmp/cranelift/cranelift-bforest)
   Compiling thread_local v1.0.1
   Compiling indexmap v1.3.1
   Compiling num-traits v0.2.11
   Compiling num-integer v0.1.42
   Compiling humantime v1.3.0
   Compiling semver v0.9.0
   Compiling textwrap v0.11.0
   Compiling wast v6.0.0
   Compiling walkdir v2.3.1
   Compiling backtrace-sys v0.1.32
   Compiling capstone-sys v0.10.0
   Compiling rustc_version v0.2.3
   Compiling aho-corasick v0.7.6
   Compiling gimli v0.20.0
   Compiling quote v1.0.2
   Compiling raw-cpuid v7.0.3
   Compiling wat v1.0.7
   Compiling atty v0.2.14
   Compiling region v2.1.2
   Compiling dirs-sys v0.3.4
   Compiling time v0.1.42
   Compiling termios v0.3.1
   Compiling clicolors-control v1.0.1
   Compiling memmap v0.7.0
   Compiling errno v0.2.4
   Compiling num_cpus v1.12.0
   Compiling regex v1.3.3
   Compiling clap v2.33.0
   Compiling dirs v2.0.2
   Compiling chrono v0.4.10
   Compiling term v0.6.1
   Compiling backtrace v0.3.42
   Compiling synstructure v0.12.3
   Compiling env_logger v0.6.2
   Compiling console v0.9.2
   Compiling file-per-thread-logger v0.1.2
   Compiling pretty_env_logger v0.3.1
   Compiling indicatif v0.13.0
   Compiling string-interner v0.7.1
   Compiling thiserror-impl v1.0.9
   Compiling scroll_derive v0.10.1
   Compiling thiserror v1.0.9
   Compiling scroll v0.10.1
   Compiling failure v0.1.6
   Compiling goblin v0.1.3
   Compiling filecheck v0.4.0
   Compiling cranelift-codegen v0.56.0 (/tmp/cranelift/cranelift-codegen)
   Compiling faerie v0.14.0
   Compiling object v0.17.0
   Compiling capstone v0.6.0
   Compiling cranelift-module v0.56.0 (/tmp/cranelift/cranelift-module)
   Compiling cranelift-native v0.56.0 (/tmp/cranelift/cranelift-native)
   Compiling cranelift-frontend v0.56.0 (/tmp/cranelift/cranelift-frontend)
   Compiling cranelift-preopt v0.56.0 (/tmp/cranelift/cranelift-preopt)
   Compiling cranelift-reader v0.56.0 (/tmp/cranelift/cranelift-reader)
   Compiling cranelift-faerie v0.56.0 (/tmp/cranelift/cranelift-faerie)
   Compiling cranelift-object v0.56.0 (/tmp/cranelift/cranelift-object)
   Compiling cranelift-simplejit v0.56.0 (/tmp/cranelift/cranelift-simplejit)
   Compiling cranelift-wasm v0.56.0 (/tmp/cranelift/cranelift-wasm)
   Compiling cranelift v0.56.0 (/tmp/cranelift/cranelift-umbrella)
   Compiling cranelift-filetests v0.56.0 (/tmp/cranelift/cranelift-filetests)
warning: unused import: `Feature`
  --> cranelift-filetests/src/runone.rs:11:36
   |
11 | use cranelift_reader::{parse_test, Feature, IsaSpec, ParseOptions};
   |                                    ^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

   Compiling cranelift-tools v0.56.0 (/tmp/cranelift)
    Finished dev [unoptimized + debuginfo] target(s) in 1m 21s

~~~

Last updated: Dec 23 2024 at 13:07 UTC