[INFO] cloning repository https://github.com/holtgrewe/rust-microbench-chrom-maps [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/holtgrewe/rust-microbench-chrom-maps" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fholtgrewe%2Frust-microbench-chrom-maps", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fholtgrewe%2Frust-microbench-chrom-maps'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be35819b741b870e82a73ae26c24d39eb5bcb320 [INFO] checking holtgrewe/rust-microbench-chrom-maps against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fholtgrewe%2Frust-microbench-chrom-maps" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/holtgrewe/rust-microbench-chrom-maps 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 git repo https://github.com/holtgrewe/rust-microbench-chrom-maps [INFO] finished tweaking git repo https://github.com/holtgrewe/rust-microbench-chrom-maps [INFO] tweaked toml for git repo https://github.com/holtgrewe/rust-microbench-chrom-maps written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/holtgrewe/rust-microbench-chrom-maps already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded linear-map v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 0102e0d677f6f35ae5fd3a573d82908b74d8d2f19dcbaf459dd708eb998d71fb [INFO] running `Command { std: "docker" "start" "-a" "0102e0d677f6f35ae5fd3a573d82908b74d8d2f19dcbaf459dd708eb998d71fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0102e0d677f6f35ae5fd3a573d82908b74d8d2f19dcbaf459dd708eb998d71fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0102e0d677f6f35ae5fd3a573d82908b74d8d2f19dcbaf459dd708eb998d71fb", kill_on_drop: false }` [INFO] [stdout] 0102e0d677f6f35ae5fd3a573d82908b74d8d2f19dcbaf459dd708eb998d71fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 377956869dc156c54a784a19551126df04728ba4ed64bc3ba3354a5988c0586c [INFO] running `Command { std: "docker" "start" "-a" "377956869dc156c54a784a19551126df04728ba4ed64bc3ba3354a5988c0586c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking hashbrown v0.3.1 [INFO] [stderr] Checking linear-map v1.2.0 [INFO] [stderr] Checking rust-microbench-chrom-maps v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (4 fixes) [INFO] [stdout] warning: static is never used: `REPETITIONS` [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | static REPETITIONS: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `NAMES` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / static NAMES: &[&str] = &[ [INFO] [stdout] 14 | | "1", [INFO] [stdout] 15 | | "2", [INFO] [stdout] 16 | | "3", [INFO] [stdout] ... | [INFO] [stdout] 99 | | "hs37d5", [INFO] [stdout] 100 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `SHORT_NAMES` [INFO] [stdout] --> src/main.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | / static SHORT_NAMES: &[&str] = &[ [INFO] [stdout] 103 | | "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", [INFO] [stdout] 104 | | "18", "19", "20", "21", "22", "X", "Y", "MT", "1", "2", "3", "4", "5", "6", "7", "8", "9", [INFO] [stdout] 105 | | "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "X", "Y", "MT", [INFO] [stdout] ... | [INFO] [stdout] 108 | | "10", "11", [INFO] [stdout] 109 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `collections` [INFO] [stdout] --> src/main.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | let mut map: collections::HashMap = collections::HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `collections` [INFO] [stdout] --> src/main.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | let mut map: collections::HashMap = collections::HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bencher` in this scope [INFO] [stdout] --> src/main.rs:114:26 [INFO] [stdout] | [INFO] [stdout] 114 | fn bench_hashmap(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use test::Bencher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `collections` [INFO] [stdout] --> src/main.rs:115:69 [INFO] [stdout] | [INFO] [stdout] 115 | let mut map: collections::HashMap = collections::HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in `collections` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 | use hashbrown::HashMap; [INFO] [stdout] | [INFO] [stdout] 11 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bencher` in this scope [INFO] [stdout] --> src/main.rs:131:32 [INFO] [stdout] | [INFO] [stdout] 131 | fn bench_hashmap_short(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use test::Bencher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `collections` [INFO] [stdout] --> src/main.rs:132:69 [INFO] [stdout] | [INFO] [stdout] 132 | let mut map: collections::HashMap = collections::HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in `collections` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 11 | use hashbrown::HashMap; [INFO] [stdout] | [INFO] [stdout] 11 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bencher` in this scope [INFO] [stdout] --> src/main.rs:149:29 [INFO] [stdout] | [INFO] [stdout] 149 | fn bench_linear_map(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use test::Bencher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bencher` in this scope [INFO] [stdout] --> src/main.rs:166:35 [INFO] [stdout] | [INFO] [stdout] 166 | fn bench_linear_map_short(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use test::Bencher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bencher` in this scope [INFO] [stdout] --> src/main.rs:184:28 [INFO] [stdout] | [INFO] [stdout] 184 | fn bench_hashbrown(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use test::Bencher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bencher` in this scope [INFO] [stdout] --> src/main.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 202 | fn bench_hashbrown_short(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 11 | use test::Bencher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-microbench-chrom-maps` due to 11 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "377956869dc156c54a784a19551126df04728ba4ed64bc3ba3354a5988c0586c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "377956869dc156c54a784a19551126df04728ba4ed64bc3ba3354a5988c0586c", kill_on_drop: false }` [INFO] [stdout] 377956869dc156c54a784a19551126df04728ba4ed64bc3ba3354a5988c0586c