[INFO] fetching crate bao 0.12.1... [INFO] checking bao-0.12.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate bao 0.12.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate bao 0.12.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bao 0.12.1 [INFO] finished tweaking crates.io crate bao 0.12.1 [INFO] tweaked toml for crates.io crate bao 0.12.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 44 packages [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding page_size v0.4.2 (latest: v0.6.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded page_size v0.4.2 [INFO] [stderr] Downloaded rand_xorshift v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d5b14130fab6dc072e0e1f322745aafd10edd920f4a14b23075f37d6b724667 [INFO] running `Command { std: "docker" "start" "-a" "0d5b14130fab6dc072e0e1f322745aafd10edd920f4a14b23075f37d6b724667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d5b14130fab6dc072e0e1f322745aafd10edd920f4a14b23075f37d6b724667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d5b14130fab6dc072e0e1f322745aafd10edd920f4a14b23075f37d6b724667", kill_on_drop: false }` [INFO] [stdout] 0d5b14130fab6dc072e0e1f322745aafd10edd920f4a14b23075f37d6b724667 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b68817ef452184ef61ba42b17d36416fbce17c2d8400793d1583ca55c0b5e22d [INFO] running `Command { std: "docker" "start" "-a" "b68817ef452184ef61ba42b17d36416fbce17c2d8400793d1583ca55c0b5e22d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking bao v0.12.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking page_size v0.4.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `blake2s_simd` [INFO] [stdout] --> benches/bench.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | const MEDIUM: usize = bao::benchmarks::CHUNK_SIZE * blake2s_simd::many::MAX_DEGREE; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `blake2s_simd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash` in crate `bao` [INFO] [stdout] --> benches/bench.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | b.iter(|| bao::hash(input.get())); [INFO] [stdout] | ^^^^ not found in `bao` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 + use blake3::hash; [INFO] [stdout] | [INFO] [stdout] 7 + use core::ptr::hash; [INFO] [stdout] | [INFO] [stdout] 7 + use std::ptr::hash; [INFO] [stdout] | [INFO] [stdout] help: if you import `hash`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 60 - b.iter(|| bao::hash(input.get())); [INFO] [stdout] 60 + b.iter(|| hash(input.get())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash` in crate `bao` [INFO] [stdout] --> benches/bench.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | b.iter(|| bao::hash(input.get())); [INFO] [stdout] | ^^^^ not found in `bao` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 + use blake3::hash; [INFO] [stdout] | [INFO] [stdout] 7 + use core::ptr::hash; [INFO] [stdout] | [INFO] [stdout] 7 + use std::ptr::hash; [INFO] [stdout] | [INFO] [stdout] help: if you import `hash`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 66 - b.iter(|| bao::hash(input.get())); [INFO] [stdout] 66 + b.iter(|| hash(input.get())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `hash` in crate `bao` [INFO] [stdout] --> benches/bench.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | b.iter(|| bao::hash(input.get())); [INFO] [stdout] | ^^^^ not found in `bao` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 + use blake3::hash; [INFO] [stdout] | [INFO] [stdout] 7 + use core::ptr::hash; [INFO] [stdout] | [INFO] [stdout] 7 + use std::ptr::hash; [INFO] [stdout] | [INFO] [stdout] help: if you import `hash`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 72 - b.iter(|| bao::hash(input.get())); [INFO] [stdout] 72 + b.iter(|| hash(input.get())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Hasher` in `bao` [INFO] [stdout] --> benches/bench.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | let mut hasher = bao::Hasher::new(); [INFO] [stdout] | ^^^^^^ could not find `Hasher` in `bao` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 79 | let mut hasher = bao::Hash::new(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 + use blake3::Hasher; [INFO] [stdout] | [INFO] [stdout] 7 + use core::hash::Hasher; [INFO] [stdout] | [INFO] [stdout] 7 + use std::hash::Hasher; [INFO] [stdout] | [INFO] [stdout] help: if you import `Hasher`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 79 - let mut hasher = bao::Hasher::new(); [INFO] [stdout] 79 + let mut hasher = Hasher::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Hasher` in `bao` [INFO] [stdout] --> benches/bench.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | let mut hasher = bao::Hasher::new(); [INFO] [stdout] | ^^^^^^ could not find `Hasher` in `bao` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 89 | let mut hasher = bao::Hash::new(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 + use blake3::Hasher; [INFO] [stdout] | [INFO] [stdout] 7 + use core::hash::Hasher; [INFO] [stdout] | [INFO] [stdout] 7 + use std::hash::Hasher; [INFO] [stdout] | [INFO] [stdout] help: if you import `Hasher`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 89 - let mut hasher = bao::Hasher::new(); [INFO] [stdout] 89 + let mut hasher = Hasher::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Hasher` in `bao` [INFO] [stdout] --> benches/bench.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 99 | let mut hasher = bao::Hasher::new(); [INFO] [stdout] | ^^^^^^ could not find `Hasher` in `bao` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 99 | let mut hasher = bao::Hash::new(); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 7 + use blake3::Hasher; [INFO] [stdout] | [INFO] [stdout] 7 + use core::hash::Hasher; [INFO] [stdout] | [INFO] [stdout] 7 + use std::hash::Hasher; [INFO] [stdout] | [INFO] [stdout] help: if you import `Hasher`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 99 - let mut hasher = bao::Hasher::new(); [INFO] [stdout] 99 + let mut hasher = Hasher::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `SeekFrom::Start` [INFO] [stdout] --> benches/bench.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Cursor, SeekFrom::Start}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `blake2s_simd` [INFO] [stdout] --> benches/bench.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | const SHORT: usize = blake2s_simd::BLOCKBYTES; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `blake2s_simd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> benches/bench.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/decode.rs:723:9 [INFO] [stdout] | [INFO] [stdout] 723 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 727 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `encode` is imported redundantly [INFO] [stdout] --> src/decode.rs:728:9 [INFO] [stdout] | [INFO] [stdout] 727 | use super::*; [INFO] [stdout] | -------- the item `encode` is already imported here [INFO] [stdout] 728 | use crate::encode; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bao` (bench "bench") due to 9 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b68817ef452184ef61ba42b17d36416fbce17c2d8400793d1583ca55c0b5e22d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b68817ef452184ef61ba42b17d36416fbce17c2d8400793d1583ca55c0b5e22d", kill_on_drop: false }` [INFO] [stdout] b68817ef452184ef61ba42b17d36416fbce17c2d8400793d1583ca55c0b5e22d