[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#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMPPwocky%2Fgenoasm" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/XMPPwocky/genoasm on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-attributes v0.1.25 [INFO] [stderr] Downloaded primal-check v0.3.3 [INFO] [stderr] Downloaded darling_macro v0.20.1 [INFO] [stderr] Downloaded time-core v0.1.1 [INFO] [stderr] Downloaded quote v1.0.28 [INFO] [stderr] Downloaded transpose v0.2.2 [INFO] [stderr] Downloaded clap v4.3.5 [INFO] [stderr] Downloaded clap_derive v4.3.2 [INFO] [stderr] Downloaded darling_core v0.20.1 [INFO] [stderr] Downloaded rustix v0.37.20 [INFO] [stderr] Downloaded num v0.4.0 [INFO] [stderr] Downloaded clap_builder v4.3.5 [INFO] [stderr] Downloaded darling v0.20.1 [INFO] [stderr] Downloaded time-macros v0.2.9 [INFO] [stderr] Downloaded num-iter v0.1.43 [INFO] [stderr] Downloaded time v0.3.22 [INFO] [stderr] Downloaded signal-hook v0.3.15 [INFO] [stderr] Downloaded chrono v0.4.26 [INFO] [stderr] Downloaded crossterm v0.26.1 [INFO] [stderr] Downloaded rustfft v6.1.0 [INFO] [stderr] Downloaded serde v1.0.164 [INFO] [stderr] Downloaded syn v2.0.18 [INFO] [stderr] Downloaded serde_json v1.0.99 [INFO] [stderr] Downloaded serde_derive v1.0.164 [INFO] [stderr] Downloaded serde_with v3.0.0 [INFO] [stderr] Downloaded tui v0.19.0 [INFO] [stderr] Downloaded hound v3.5.0 [INFO] [stderr] Downloaded base64 v0.21.2 [INFO] [stderr] Downloaded serde_with_macros v3.0.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.57 [INFO] [stderr] Downloaded proc-macro2 v1.0.60 [INFO] [stderr] Downloaded object v0.30.4 [INFO] [stderr] Downloaded unicode-ident v1.0.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b1c4e3ebf21d6ca40e787f42cbe5ac91ee270a322e54ec4aa09203d359f8948 [INFO] running `Command { std: "docker" "start" "-a" "4b1c4e3ebf21d6ca40e787f42cbe5ac91ee270a322e54ec4aa09203d359f8948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b1c4e3ebf21d6ca40e787f42cbe5ac91ee270a322e54ec4aa09203d359f8948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b1c4e3ebf21d6ca40e787f42cbe5ac91ee270a322e54ec4aa09203d359f8948", kill_on_drop: false }` [INFO] [stdout] 4b1c4e3ebf21d6ca40e787f42cbe5ac91ee270a322e54ec4aa09203d359f8948 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02dfa1afcb234d2145c68038095e049a97a6203c68e4aa5dc47bd0e19110b3eb [INFO] running `Command { std: "docker" "start" "-a" "02dfa1afcb234d2145c68038095e049a97a6203c68e4aa5dc47bd0e19110b3eb", 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 num-integer v0.1.45 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling rustfft v6.1.0 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling strength_reduce v0.2.4 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling object v0.30.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling num-complex v0.4.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling primal-check v0.3.3 [INFO] [stderr] Compiling transpose v0.2.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num_cpus v1.15.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 rand_chacha v0.3.1 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling clap_builder v4.3.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling crossterm v0.26.1 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling flate2 v1.0.26 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling hound v3.5.0 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling darling_core v0.20.1 [INFO] [stderr] Compiling realfft v3.3.0 [INFO] [stderr] Compiling num-derive v0.3.3 [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 clap v4.3.5 [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 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 3m 40s [INFO] running `Command { std: "docker" "inspect" "02dfa1afcb234d2145c68038095e049a97a6203c68e4aa5dc47bd0e19110b3eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02dfa1afcb234d2145c68038095e049a97a6203c68e4aa5dc47bd0e19110b3eb", kill_on_drop: false }` [INFO] [stdout] 02dfa1afcb234d2145c68038095e049a97a6203c68e4aa5dc47bd0e19110b3eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92019355e1b2d1ace70c666e9b408f26760b3c0862f1b5e88bad6eb429227704 [INFO] running `Command { std: "docker" "start" "-a" "92019355e1b2d1ace70c666e9b408f26760b3c0862f1b5e88bad6eb429227704", 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.54s [INFO] running `Command { std: "docker" "inspect" "92019355e1b2d1ace70c666e9b408f26760b3c0862f1b5e88bad6eb429227704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92019355e1b2d1ace70c666e9b408f26760b3c0862f1b5e88bad6eb429227704", kill_on_drop: false }` [INFO] [stdout] 92019355e1b2d1ace70c666e9b408f26760b3c0862f1b5e88bad6eb429227704 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cf10e57280dfd142fd980e9b06e9dc9a69d6580ea9a126cd075e6dbadec1cb49 [INFO] running `Command { std: "docker" "start" "-a" "cf10e57280dfd142fd980e9b06e9dc9a69d6580ea9a126cd075e6dbadec1cb49", 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.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/genoasm-ea7c187d446f28b8) [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" "cf10e57280dfd142fd980e9b06e9dc9a69d6580ea9a126cd075e6dbadec1cb49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf10e57280dfd142fd980e9b06e9dc9a69d6580ea9a126cd075e6dbadec1cb49", kill_on_drop: false }` [INFO] [stdout] cf10e57280dfd142fd980e9b06e9dc9a69d6580ea9a126cd075e6dbadec1cb49