[INFO] fetching crate dez80 3.0.0... [INFO] checking dez80-3.0.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate dez80 3.0.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate dez80 3.0.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dez80 3.0.0 [INFO] finished tweaking crates.io crate dez80 3.0.0 [INFO] tweaked toml for crates.io crate dez80 3.0.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.19.5 [INFO] [stderr] Downloaded strum_macros v0.19.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cabf2c9c58d78b8028675c8c140af1e5c9b4cdceae897073d5555f379d1f22e [INFO] running `Command { std: "docker" "start" "-a" "1cabf2c9c58d78b8028675c8c140af1e5c9b4cdceae897073d5555f379d1f22e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cabf2c9c58d78b8028675c8c140af1e5c9b4cdceae897073d5555f379d1f22e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cabf2c9c58d78b8028675c8c140af1e5c9b4cdceae897073d5555f379d1f22e", kill_on_drop: false }` [INFO] [stdout] 1cabf2c9c58d78b8028675c8c140af1e5c9b4cdceae897073d5555f379d1f22e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79f4eccb7a5feaf33d6fb8445df69e468ea0d11a26242ea1732baa4ed9d92c42 [INFO] running `Command { std: "docker" "start" "-a" "79f4eccb7a5feaf33d6fb8445df69e468ea0d11a26242ea1732baa4ed9d92c42", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] syn v1.0.75 (as host dependency): full, visit [INFO] [stderr] [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking strum v0.19.5 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Checking dez80 v3.0.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Migrating tests/integration_test.rs from 2018 edition to 2021 [INFO] [stderr] Migrating benches/bench.rs from 2018 edition to 2021 [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench_functions`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bench.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | c.bench_functions("Instruction::to_bytes", funs, instructions); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench_functions`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bench.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | c.bench_functions("Instruction::to_string", funs, instructions); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> benches/bench.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | b.iter(|| Instruction::decode_all(&mut INSTRUCTION_STREAM)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> benches/bench.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const INSTRUCTION_STREAM: &[u8] = include_bytes!("../tests/allinstructions.bin"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> benches/bench.rs:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | let mut instructions = Instruction::decode_all(&mut INSTRUCTION_STREAM); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> benches/bench.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const INSTRUCTION_STREAM: &[u8] = include_bytes!("../tests/allinstructions.bin"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> benches/bench.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 53 | let mut instructions = Instruction::decode_all(&mut INSTRUCTION_STREAM); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> benches/bench.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const INSTRUCTION_STREAM: &[u8] = include_bytes!("../tests/allinstructions.bin"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.46s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Checking dez80 v3.0.0 (/tmp/fixit) [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench_functions`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bench.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | c.bench_functions("Instruction::to_bytes", funs, instructions); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench_functions`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bench.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | c.bench_functions("Instruction::to_string", funs, instructions); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> benches/bench.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | b.iter(|| Instruction::decode_all(&mut INSTRUCTION_STREAM)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> benches/bench.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const INSTRUCTION_STREAM: &[u8] = include_bytes!("../tests/allinstructions.bin"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> benches/bench.rs:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | let mut instructions = Instruction::decode_all(&mut INSTRUCTION_STREAM); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> benches/bench.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const INSTRUCTION_STREAM: &[u8] = include_bytes!("../tests/allinstructions.bin"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> benches/bench.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 53 | let mut instructions = Instruction::decode_all(&mut INSTRUCTION_STREAM); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> benches/bench.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const INSTRUCTION_STREAM: &[u8] = include_bytes!("../tests/allinstructions.bin"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.12s [INFO] running `Command { std: "docker" "inspect" "79f4eccb7a5feaf33d6fb8445df69e468ea0d11a26242ea1732baa4ed9d92c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79f4eccb7a5feaf33d6fb8445df69e468ea0d11a26242ea1732baa4ed9d92c42", kill_on_drop: false }` [INFO] [stdout] 79f4eccb7a5feaf33d6fb8445df69e468ea0d11a26242ea1732baa4ed9d92c42