[INFO] cloning repository https://github.com/XMPPwocky/genoasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/XMPPwocky/genoasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMPPwocky%2Fgenoasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMPPwocky%2Fgenoasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7232bd253950e2479699e99c4a1742eb663e7c6 [INFO] building XMPPwocky/genoasm against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMPPwocky%2Fgenoasm" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/XMPPwocky/genoasm [INFO] finished tweaking git repo https://github.com/XMPPwocky/genoasm [INFO] tweaked toml for git repo https://github.com/XMPPwocky/genoasm written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/XMPPwocky/genoasm on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/XMPPwocky/genoasm already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking_lot_core v0.9.8 [INFO] [stderr] Downloaded signal-hook v0.3.15 [INFO] [stderr] Downloaded lock_api v0.4.10 [INFO] [stderr] Downloaded windows-targets v0.48.0 [INFO] [stderr] Downloaded num_cpus v1.15.0 [INFO] [stderr] Downloaded smallvec v1.10.0 [INFO] [stderr] Downloaded hound v3.5.0 [INFO] [stderr] Downloaded num-traits v0.2.15 [INFO] [stderr] Downloaded bumpalo v3.13.0 [INFO] [stderr] Downloaded serde_json v1.0.99 [INFO] [stderr] Downloaded object v0.30.4 [INFO] [stderr] Downloaded hermit-abi v0.3.1 [INFO] [stderr] Downloaded clap v4.3.5 [INFO] [stderr] Downloaded errno v0.3.1 [INFO] [stderr] Downloaded anstyle-wincon v1.0.1 [INFO] [stderr] Downloaded color-spantrace v0.2.0 [INFO] [stderr] Downloaded flate2 v1.0.26 [INFO] [stderr] Downloaded crossbeam-channel v0.5.8 [INFO] [stderr] Downloaded rustix v0.37.20 [INFO] [stderr] Downloaded time v0.3.22 [INFO] [stderr] Downloaded rayon-core v1.11.0 [INFO] [stderr] Downloaded backtrace v0.3.67 [INFO] [stderr] Downloaded serde_with v3.0.0 [INFO] [stderr] Downloaded gimli v0.27.3 [INFO] [stderr] Downloaded base64 v0.21.2 [INFO] [stderr] Downloaded darling v0.20.1 [INFO] [stderr] Downloaded serde_derive v1.0.164 [INFO] [stderr] Downloaded is-terminal v0.4.7 [INFO] [stderr] Downloaded indenter v0.3.3 [INFO] [stderr] Downloaded num-integer v0.1.45 [INFO] [stderr] Downloaded strength_reduce v0.2.4 [INFO] [stderr] Downloaded rustfft v6.1.0 [INFO] [stderr] Downloaded ryu v1.0.13 [INFO] [stderr] Downloaded time-macros v0.2.9 [INFO] [stderr] Downloaded unicode-ident v1.0.9 [INFO] [stderr] Downloaded num-iter v0.1.43 [INFO] [stderr] Downloaded hermit-abi v0.2.6 [INFO] [stderr] Downloaded num-complex v0.4.3 [INFO] [stderr] Downloaded primal-check v0.3.3 [INFO] [stderr] Downloaded cc v1.0.79 [INFO] [stderr] Downloaded color-eyre v0.6.2 [INFO] [stderr] Downloaded chrono v0.4.26 [INFO] [stderr] Downloaded miniz_oxide v0.6.2 [INFO] [stderr] Downloaded tracing-error v0.2.0 [INFO] [stderr] Downloaded clap_builder v4.3.5 [INFO] [stderr] Downloaded num-bigint v0.4.3 [INFO] [stderr] Downloaded crossbeam-deque v0.8.3 [INFO] [stderr] Downloaded rayon v1.7.0 [INFO] [stderr] Downloaded realfft v3.3.0 [INFO] [stderr] Downloaded serde_with_macros v3.0.0 [INFO] [stderr] Downloaded serde v1.0.164 [INFO] [stderr] Downloaded quote v1.0.28 [INFO] [stderr] Downloaded clap_derive v4.3.2 [INFO] [stderr] Downloaded addr2line v0.19.0 [INFO] [stderr] Downloaded eyre v0.6.8 [INFO] [stderr] Downloaded owo-colors v3.5.0 [INFO] [stderr] Downloaded num-rational v0.4.1 [INFO] [stderr] Downloaded num v0.4.0 [INFO] [stderr] Downloaded either v1.8.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.15 [INFO] [stderr] Downloaded transpose v0.2.2 [INFO] [stderr] Downloaded iana-time-zone v0.1.57 [INFO] [stderr] Downloaded darling_core v0.20.1 [INFO] [stderr] Downloaded darling_macro v0.20.1 [INFO] [stderr] Downloaded itoa v1.0.6 [INFO] [stderr] Downloaded time-core v0.1.1 [INFO] [stderr] Downloaded syn v2.0.18 [INFO] [stderr] Downloaded tracing-attributes v0.1.25 [INFO] [stderr] Downloaded tracing-log v0.1.3 [INFO] [stderr] Downloaded libc v0.2.146 [INFO] [stderr] Downloaded proc-macro2 v1.0.60 [INFO] [stderr] Downloaded tracing-subscriber v0.3.17 [INFO] [stderr] Downloaded unicode-segmentation v1.10.1 [INFO] [stderr] Downloaded tui v0.19.0 [INFO] [stderr] Downloaded thread_local v1.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54a4d820b8ab3da78cc4aa438dcc97bbc91c8a8c298ca7e139e920ef518855af [INFO] running `Command { std: "docker" "start" "-a" "54a4d820b8ab3da78cc4aa438dcc97bbc91c8a8c298ca7e139e920ef518855af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54a4d820b8ab3da78cc4aa438dcc97bbc91c8a8c298ca7e139e920ef518855af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54a4d820b8ab3da78cc4aa438dcc97bbc91c8a8c298ca7e139e920ef518855af", kill_on_drop: false }` [INFO] [stdout] 54a4d820b8ab3da78cc4aa438dcc97bbc91c8a8c298ca7e139e920ef518855af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4ab153871958275c110c3fb92c2405b52dc0f1fc87f5a549f9e1c7a98e0f601 [INFO] running `Command { std: "docker" "start" "-a" "f4ab153871958275c110c3fb92c2405b52dc0f1fc87f5a549f9e1c7a98e0f601", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strength_reduce v0.2.4 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling rustfft v6.1.0 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling object v0.30.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling transpose v0.2.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling primal-check v0.3.3 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling crossterm v0.26.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Compiling hound v3.5.0 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling clap_builder v4.3.5 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling darling_core v0.20.1 [INFO] [stderr] Compiling tracing-attributes v0.1.25 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling realfft v3.3.0 [INFO] [stderr] Compiling darling_macro v0.20.1 [INFO] [stderr] Compiling darling v0.20.1 [INFO] [stderr] Compiling serde_with_macros v3.0.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.0 [INFO] [stderr] Compiling clap v4.3.5 [INFO] [stderr] Compiling color-eyre v0.6.2 [INFO] [stderr] Compiling serde_with v3.0.0 [INFO] [stderr] Compiling genoasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/ecosystem.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/similarity.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | * f32::sqrt((hz.powi(2) + 107.7f32.powi(2))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - * f32::sqrt((hz.powi(2) + 107.7f32.powi(2))) [INFO] [stdout] 30 + * f32::sqrt(hz.powi(2) + 107.7f32.powi(2) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/similarity.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | * f32::sqrt((hz.powi(2) + 737.9f32.powi(2))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - * f32::sqrt((hz.powi(2) + 737.9f32.powi(2))); [INFO] [stdout] 31 + * f32::sqrt(hz.powi(2) + 737.9f32.powi(2) ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | (*seens.get(&elem.1.covhash).unwrap() == agh) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 542 - (*seens.get(&elem.1.covhash).unwrap() == agh) [INFO] [stdout] 542 + *seens.get(&elem.1.covhash).unwrap() == agh [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:516:41 [INFO] [stdout] | [INFO] [stdout] 516 | Entry::Occupied(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vm.rs:379:10 [INFO] [stdout] | [INFO] [stdout] 379 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcode` [INFO] [stdout] 380 | pub enum Opcode { [INFO] [stdout] | ------ `Opcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.26s [INFO] running `Command { std: "docker" "inspect" "f4ab153871958275c110c3fb92c2405b52dc0f1fc87f5a549f9e1c7a98e0f601", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4ab153871958275c110c3fb92c2405b52dc0f1fc87f5a549f9e1c7a98e0f601", kill_on_drop: false }` [INFO] [stdout] f4ab153871958275c110c3fb92c2405b52dc0f1fc87f5a549f9e1c7a98e0f601 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61fe60e05693b4092d9403ba0dc1635808c8a75af406e9b08895ed779a85b49b [INFO] running `Command { std: "docker" "start" "-a" "61fe60e05693b4092d9403ba0dc1635808c8a75af406e9b08895ed779a85b49b", kill_on_drop: false }` [INFO] [stderr] Compiling genoasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/ecosystem.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/similarity.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | * f32::sqrt((hz.powi(2) + 107.7f32.powi(2))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - * f32::sqrt((hz.powi(2) + 107.7f32.powi(2))) [INFO] [stdout] 30 + * f32::sqrt(hz.powi(2) + 107.7f32.powi(2) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/similarity.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | * f32::sqrt((hz.powi(2) + 737.9f32.powi(2))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - * f32::sqrt((hz.powi(2) + 737.9f32.powi(2))); [INFO] [stdout] 31 + * f32::sqrt(hz.powi(2) + 737.9f32.powi(2) ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | (*seens.get(&elem.1.covhash).unwrap() == agh) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 542 - (*seens.get(&elem.1.covhash).unwrap() == agh) [INFO] [stdout] 542 + *seens.get(&elem.1.covhash).unwrap() == agh [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:516:41 [INFO] [stdout] | [INFO] [stdout] 516 | Entry::Occupied(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vm.rs:379:10 [INFO] [stdout] | [INFO] [stdout] 379 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcode` [INFO] [stdout] 380 | pub enum Opcode { [INFO] [stdout] | ------ `Opcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `Command { std: "docker" "inspect" "61fe60e05693b4092d9403ba0dc1635808c8a75af406e9b08895ed779a85b49b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61fe60e05693b4092d9403ba0dc1635808c8a75af406e9b08895ed779a85b49b", kill_on_drop: false }` [INFO] [stdout] 61fe60e05693b4092d9403ba0dc1635808c8a75af406e9b08895ed779a85b49b