[INFO] fetching crate pitch 0.1.3... [INFO] checking pitch-0.1.3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate pitch 0.1.3 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate pitch 0.1.3 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pitch 0.1.3 [INFO] finished tweaking crates.io crate pitch 0.1.3 [INFO] tweaked toml for crates.io crate pitch 0.1.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 901e2ab40affc28ef006b7cf7cd2cdb03092afe12cfd26cf5a40f7e6db4080d6 [INFO] running `Command { std: "docker" "start" "-a" "901e2ab40affc28ef006b7cf7cd2cdb03092afe12cfd26cf5a40f7e6db4080d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "901e2ab40affc28ef006b7cf7cd2cdb03092afe12cfd26cf5a40f7e6db4080d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "901e2ab40affc28ef006b7cf7cd2cdb03092afe12cfd26cf5a40f7e6db4080d6", kill_on_drop: false }` [INFO] [stdout] 901e2ab40affc28ef006b7cf7cd2cdb03092afe12cfd26cf5a40f7e6db4080d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8083a856fc134155f79f052afe04f929a3e12b0d5a0a7364ef2c6afb9718f13 [INFO] running `Command { std: "docker" "start" "-a" "d8083a856fc134155f79f052afe04f929a3e12b0d5a0a7364ef2c6afb9718f13", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking pitch v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | fn autocorrelate(&mut self, start_pos: usize, f: &mut FnMut(usize, u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | fn autocorrelate(&mut self, start_pos: usize, f: &mut dyn FnMut(usize, u32)) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:80:56 [INFO] [stdout] | [INFO] [stdout] 80 | fn autocorrelate(&mut self, start_pos: usize, f: &mut FnMut(usize, u32)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | fn autocorrelate(&mut self, start_pos: usize, f: &mut dyn FnMut(usize, u32)) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/a1.raw`: No such file or directory (os error 2) [INFO] [stdout] --> examples/test.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | const A1: &[u8] = include_bytes!("a1.raw"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/a2.raw`: No such file or directory (os error 2) [INFO] [stdout] --> examples/test.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | const A2: &[u8] = include_bytes!("a2.raw"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/a3.raw`: No such file or directory (os error 2) [INFO] [stdout] --> examples/test.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | const A3: &[u8] = include_bytes!("a3.raw"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/a4.raw`: No such file or directory (os error 2) [INFO] [stdout] --> examples/test.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | const A4: &[u8] = include_bytes!("a4.raw"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/sine.raw`: No such file or directory (os error 2) [INFO] [stdout] --> examples/test.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | const SINE_A4: &[u8] = include_bytes!("sine.raw"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/sawtooth.raw`: No such file or directory (os error 2) [INFO] [stdout] --> examples/test.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | const SAW_A4: &[u8] = include_bytes!("sawtooth.raw"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/square.raw`: No such file or directory (os error 2) [INFO] [stdout] --> examples/test.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | const SQUARE_A4: &[u8] = include_bytes!("square.raw"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/bad.raw`: No such file or directory (os error 2) [INFO] [stdout] --> examples/test.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | const BAD: &[u8] = include_bytes!("bad.raw"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/bad2.raw`: No such file or directory (os error 2) [INFO] [stdout] --> examples/test.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | const BAD2: &[u8] = include_bytes!("bad2.raw"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/bad3.raw`: No such file or directory (os error 2) [INFO] [stdout] --> examples/test.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | const BAD3: &[u8] = include_bytes!("bad3.raw"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/bad4.raw`: No such file or directory (os error 2) [INFO] [stdout] --> examples/test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | const BAD4: &[u8] = include_bytes!("bad4.raw"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/bad5.raw`: No such file or directory (os error 2) [INFO] [stdout] --> examples/test.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | const BAD5: &[u8] = include_bytes!("bad5.raw"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/bad6.raw`: No such file or directory (os error 2) [INFO] [stdout] --> examples/test.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | const BAD6: &[u8] = include_bytes!("bad6.raw"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/bad7.raw`: No such file or directory (os error 2) [INFO] [stdout] --> examples/test.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | const BAD7: &[u8] = include_bytes!("bad7.raw"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `examples/bad8.raw`: No such file or directory (os error 2) [INFO] [stdout] --> examples/test.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | const BAD8: &[u8] = include_bytes!("bad8.raw"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pitch` (example "test") due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "d8083a856fc134155f79f052afe04f929a3e12b0d5a0a7364ef2c6afb9718f13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8083a856fc134155f79f052afe04f929a3e12b0d5a0a7364ef2c6afb9718f13", kill_on_drop: false }` [INFO] [stdout] d8083a856fc134155f79f052afe04f929a3e12b0d5a0a7364ef2c6afb9718f13