[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 try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeschkaj%2Frust-101" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/peschkaj/rust-101 on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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-8/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 455c2a0a6c3621a801f6ed881d6b644c1ef4d4052720c07b64c6a9d21473d1b5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "455c2a0a6c3621a801f6ed881d6b644c1ef4d4052720c07b64c6a9d21473d1b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "455c2a0a6c3621a801f6ed881d6b644c1ef4d4052720c07b64c6a9d21473d1b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "455c2a0a6c3621a801f6ed881d6b644c1ef4d4052720c07b64c6a9d21473d1b5", kill_on_drop: false }` [INFO] [stdout] 455c2a0a6c3621a801f6ed881d6b644c1ef4d4052720c07b64c6a9d21473d1b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d49685a9f6deaf669d2bb63a0d735f95f0139361323aed8cc09064b484d95a7d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d49685a9f6deaf669d2bb63a0d735f95f0139361323aed8cc09064b484d95a7d", 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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [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" "d49685a9f6deaf669d2bb63a0d735f95f0139361323aed8cc09064b484d95a7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d49685a9f6deaf669d2bb63a0d735f95f0139361323aed8cc09064b484d95a7d", kill_on_drop: false }` [INFO] [stdout] d49685a9f6deaf669d2bb63a0d735f95f0139361323aed8cc09064b484d95a7d