[INFO] cloning repository https://github.com/peschkaj/rust-101 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peschkaj/rust-101" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeschkaj%2Frust-101", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeschkaj%2Frust-101'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 887f5b53af9043a4dec517735ac38f21baefe7ac [INFO] checking peschkaj/rust-101 against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeschkaj%2Frust-101" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/peschkaj/rust-101 on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/peschkaj/rust-101 [INFO] finished tweaking git repo https://github.com/peschkaj/rust-101 [INFO] tweaked toml for git repo https://github.com/peschkaj/rust-101 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/peschkaj/rust-101 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06b15e41f05305c04df295180be5bbe0c3581ac499bc5f25dbdf61a7e4c94d47 [INFO] running `Command { std: "docker" "start" "-a" "06b15e41f05305c04df295180be5bbe0c3581ac499bc5f25dbdf61a7e4c94d47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06b15e41f05305c04df295180be5bbe0c3581ac499bc5f25dbdf61a7e4c94d47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06b15e41f05305c04df295180be5bbe0c3581ac499bc5f25dbdf61a7e4c94d47", kill_on_drop: false }` [INFO] [stdout] 06b15e41f05305c04df295180be5bbe0c3581ac499bc5f25dbdf61a7e4c94d47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff0106c1220d7544a1c3611b7d8e3f31be7683b1bb943c7a09380047e668bf80 [INFO] running `Command { std: "docker" "start" "-a" "ff0106c1220d7544a1c3611b7d8e3f31be7683b1bb943c7a09380047e668bf80", kill_on_drop: false }` [INFO] [stderr] Checking rust-101 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected type, found `` [INFO] [stdout] --> src/part03.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | impl [INFO] [stdout] | ^^^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `` [INFO] [stdout] --> src/part03.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | impl [INFO] [stdout] | ^^^^ expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `main` in module `part03` [INFO] [stdout] --> src/main.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | part03::main(); [INFO] [stdout] | ^^^^ not found in `part03` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 84 | use part00::main; [INFO] [stdout] | [INFO] [stdout] 84 | use part01::main; [INFO] [stdout] | [INFO] [stdout] 84 | use part02::main; [INFO] [stdout] | [INFO] [stdout] 84 | use part09::main; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/part11.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | callbacks: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i32)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/part11.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn register(&mut self, callback: Box) { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i32)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/part12.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | callbacks: Vec>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Fn(i32)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/part12.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | callbacks: Vec>>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i32)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/part15.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | thread::sleep_ms(15); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/part15.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | thread::sleep_ms(20); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/part15.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | thread::sleep_ms(5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `main` in module `part03` [INFO] [stdout] --> src/main.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | part03::main(); [INFO] [stdout] | ^^^^ not found in `part03` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 84 | use part00::main; [INFO] [stdout] | [INFO] [stdout] 84 | use part01::main; [INFO] [stdout] | [INFO] [stdout] 84 | use part02::main; [INFO] [stdout] | [INFO] [stdout] 84 | use part09::main; [INFO] [stdout] | [INFO] [stdout] and 5 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/part11.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | callbacks: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i32)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/part11.rs:44:46 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn register(&mut self, callback: Box) { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i32)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/part12.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | callbacks: Vec>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Fn(i32)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/part12.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | callbacks: Vec>>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn FnMut(i32)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/part15.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | thread::sleep_ms(15); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/part15.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | thread::sleep_ms(20); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/part15.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | thread::sleep_ms(5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-101` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ff0106c1220d7544a1c3611b7d8e3f31be7683b1bb943c7a09380047e668bf80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff0106c1220d7544a1c3611b7d8e3f31be7683b1bb943c7a09380047e668bf80", kill_on_drop: false }` [INFO] [stdout] ff0106c1220d7544a1c3611b7d8e3f31be7683b1bb943c7a09380047e668bf80