[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] testing XMPPwocky/genoasm against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMPPwocky%2Fgenoasm" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/XMPPwocky/genoasm on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded darling_macro v0.20.1 [INFO] [stderr] Downloaded darling_core v0.20.1 [INFO] [stderr] Downloaded transpose v0.2.2 [INFO] [stderr] Downloaded realfft v3.3.0 [INFO] [stderr] Downloaded primal-check v0.3.3 [INFO] [stderr] Downloaded darling v0.20.1 [INFO] [stderr] Downloaded serde_with_macros v3.0.0 [INFO] [stderr] Downloaded hound v3.5.0 [INFO] [stderr] Downloaded backtrace v0.3.67 [INFO] [stderr] Downloaded tracing-attributes v0.1.25 [INFO] [stderr] Downloaded time v0.3.22 [INFO] [stderr] Downloaded serde_with v3.0.0 [INFO] [stderr] Downloaded rustfft v6.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f97b345325772e8f67d862fd050ced3f9e8adc54a139ebc0b2c8e049734e8a0d [INFO] running `Command { std: "docker" "start" "-a" "f97b345325772e8f67d862fd050ced3f9e8adc54a139ebc0b2c8e049734e8a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f97b345325772e8f67d862fd050ced3f9e8adc54a139ebc0b2c8e049734e8a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f97b345325772e8f67d862fd050ced3f9e8adc54a139ebc0b2c8e049734e8a0d", kill_on_drop: false }` [INFO] [stdout] f97b345325772e8f67d862fd050ced3f9e8adc54a139ebc0b2c8e049734e8a0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea1360d346f6ace9380acf3af176ac9c6ab61a23230bee4e6a34db6ec6e95659 [INFO] running `Command { std: "docker" "start" "-a" "ea1360d346f6ace9380acf3af176ac9c6ab61a23230bee4e6a34db6ec6e95659", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling rustfft v6.1.0 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling object v0.30.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Compiling hound v3.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [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 primal-check v0.3.3 [INFO] [stderr] Compiling transpose v0.2.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling crossterm v0.26.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling clap_builder v4.3.5 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling darling_core v0.20.1 [INFO] [stderr] Compiling realfft v3.3.0 [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 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 color-eyre v0.6.2 [INFO] [stderr] Compiling clap v4.3.5 [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 36.29s [INFO] running `Command { std: "docker" "inspect" "ea1360d346f6ace9380acf3af176ac9c6ab61a23230bee4e6a34db6ec6e95659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea1360d346f6ace9380acf3af176ac9c6ab61a23230bee4e6a34db6ec6e95659", kill_on_drop: false }` [INFO] [stdout] ea1360d346f6ace9380acf3af176ac9c6ab61a23230bee4e6a34db6ec6e95659 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1972868d6130a3297f25674d8b7c80e8f4361fdf4cfd16fe277398b65776d2e3 [INFO] running `Command { std: "docker" "start" "-a" "1972868d6130a3297f25674d8b7c80e8f4361fdf4cfd16fe277398b65776d2e3", 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.16s [INFO] running `Command { std: "docker" "inspect" "1972868d6130a3297f25674d8b7c80e8f4361fdf4cfd16fe277398b65776d2e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1972868d6130a3297f25674d8b7c80e8f4361fdf4cfd16fe277398b65776d2e3", kill_on_drop: false }` [INFO] [stdout] 1972868d6130a3297f25674d8b7c80e8f4361fdf4cfd16fe277398b65776d2e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2dcf2a91cedecbad863eceb37597f79f70b0ae7ebd603238e425fa9a4266cec8 [INFO] running `Command { std: "docker" "start" "-a" "2dcf2a91cedecbad863eceb37597f79f70b0ae7ebd603238e425fa9a4266cec8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::collections::BTreeMap` [INFO] [stderr] --> src/ecosystem.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::BTreeMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/similarity.rs:30:21 [INFO] [stderr] | [INFO] [stderr] 30 | * f32::sqrt((hz.powi(2) + 107.7f32.powi(2))) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 30 - * f32::sqrt((hz.powi(2) + 107.7f32.powi(2))) [INFO] [stderr] 30 + * f32::sqrt(hz.powi(2) + 107.7f32.powi(2)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/similarity.rs:31:21 [INFO] [stderr] | [INFO] [stderr] 31 | * f32::sqrt((hz.powi(2) + 737.9f32.powi(2))); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 31 - * f32::sqrt((hz.powi(2) + 737.9f32.powi(2))); [INFO] [stderr] 31 + * f32::sqrt(hz.powi(2) + 737.9f32.powi(2)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/main.rs:542:13 [INFO] [stderr] | [INFO] [stderr] 542 | (*seens.get(&elem.1.covhash).unwrap() == agh) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 542 - (*seens.get(&elem.1.covhash).unwrap() == agh) [INFO] [stderr] 542 + *seens.get(&elem.1.covhash).unwrap() == agh [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:516:41 [INFO] [stderr] | [INFO] [stderr] 516 | Entry::Occupied(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/vm.rs:379:10 [INFO] [stderr] | [INFO] [stderr] 379 | #[derive(FromPrimitive, Debug, Copy, Clone, PartialEq, Eq, Hash)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcode` [INFO] [stderr] 380 | pub enum Opcode { [INFO] [stderr] | ------ `Opcode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `genoasm` (bin "genoasm" test) generated 6 warnings (run `cargo fix --bin "genoasm" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/genoasm-5f1f37b2b7fb4631) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2dcf2a91cedecbad863eceb37597f79f70b0ae7ebd603238e425fa9a4266cec8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dcf2a91cedecbad863eceb37597f79f70b0ae7ebd603238e425fa9a4266cec8", kill_on_drop: false }` [INFO] [stdout] 2dcf2a91cedecbad863eceb37597f79f70b0ae7ebd603238e425fa9a4266cec8