[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#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMPPwocky%2Fgenoasm" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/XMPPwocky/genoasm on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4b57a60001123ffde924abce2e03650e3e56fcbdd78858feb9b16be6d05396f [INFO] running `Command { std: "docker" "start" "-a" "a4b57a60001123ffde924abce2e03650e3e56fcbdd78858feb9b16be6d05396f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4b57a60001123ffde924abce2e03650e3e56fcbdd78858feb9b16be6d05396f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4b57a60001123ffde924abce2e03650e3e56fcbdd78858feb9b16be6d05396f", kill_on_drop: false }` [INFO] [stdout] a4b57a60001123ffde924abce2e03650e3e56fcbdd78858feb9b16be6d05396f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8eae614a0e436ec458396b3727f71415a66a70b87f49b9699bb0ebf26e149a3 [INFO] running `Command { std: "docker" "start" "-a" "d8eae614a0e436ec458396b3727f71415a66a70b87f49b9699bb0ebf26e149a3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling cfg-if v1.0.0 [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 once_cell v1.18.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling rustfft v6.1.0 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling strength_reduce v0.2.4 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling object v0.30.4 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling clap_lex v0.5.0 [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 heck v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling backtrace v0.3.67 [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 num-complex v0.4.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling primal-check v0.3.3 [INFO] [stderr] Compiling transpose v0.2.2 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Compiling crossterm v0.26.1 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling hound v3.5.0 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling addr2line v0.19.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 num v0.4.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 tracing v0.1.37 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.0 [INFO] [stderr] Compiling darling_macro v0.20.1 [INFO] [stderr] Compiling color-eyre v0.6.2 [INFO] [stderr] Compiling darling v0.20.1 [INFO] [stderr] Compiling serde_with_macros v3.0.0 [INFO] [stderr] Compiling clap v4.3.5 [INFO] [stderr] Compiling realfft v3.3.0 [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)]` 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)]` 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)]` 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 42.87s [INFO] running `Command { std: "docker" "inspect" "d8eae614a0e436ec458396b3727f71415a66a70b87f49b9699bb0ebf26e149a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8eae614a0e436ec458396b3727f71415a66a70b87f49b9699bb0ebf26e149a3", kill_on_drop: false }` [INFO] [stdout] d8eae614a0e436ec458396b3727f71415a66a70b87f49b9699bb0ebf26e149a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6e63011726ac3a4f5f23d240840942880ec596b811529e84b34cefa66eb9570 [INFO] running `Command { std: "docker" "start" "-a" "b6e63011726ac3a4f5f23d240840942880ec596b811529e84b34cefa66eb9570", 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)]` 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)]` 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)]` 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.12s [INFO] running `Command { std: "docker" "inspect" "b6e63011726ac3a4f5f23d240840942880ec596b811529e84b34cefa66eb9570", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6e63011726ac3a4f5f23d240840942880ec596b811529e84b34cefa66eb9570", kill_on_drop: false }` [INFO] [stdout] b6e63011726ac3a4f5f23d240840942880ec596b811529e84b34cefa66eb9570 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d0a7caea016a44c4e91d7ab39a63d64b4d0f80afc83b7aa032e7a9e4cd6c99b4 [INFO] running `Command { std: "docker" "start" "-a" "d0a7caea016a44c4e91d7ab39a63d64b4d0f80afc83b7aa032e7a9e4cd6c99b4", 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)]` 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)]` 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)]` 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.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/genoasm-5397b2164e7f3b3c) [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" "d0a7caea016a44c4e91d7ab39a63d64b4d0f80afc83b7aa032e7a9e4cd6c99b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0a7caea016a44c4e91d7ab39a63d64b4d0f80afc83b7aa032e7a9e4cd6c99b4", kill_on_drop: false }` [INFO] [stdout] d0a7caea016a44c4e91d7ab39a63d64b4d0f80afc83b7aa032e7a9e4cd6c99b4