[INFO] cloning repository https://github.com/marionebl/rust-by-example-exercises [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marionebl/rust-by-example-exercises" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarionebl%2Frust-by-example-exercises", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarionebl%2Frust-by-example-exercises'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b22ea9a4d0448f54fdbc20b0d014f13f44ae816e [INFO] building marionebl/rust-by-example-exercises against master#d59f06fc64844ec2073e5e888f7470989ef25ff9 for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarionebl%2Frust-by-example-exercises" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marionebl/rust-by-example-exercises on toolchain d59f06fc64844ec2073e5e888f7470989ef25ff9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/marionebl/rust-by-example-exercises [INFO] finished tweaking git repo https://github.com/marionebl/rust-by-example-exercises [INFO] tweaked toml for git repo https://github.com/marionebl/rust-by-example-exercises written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/marionebl/rust-by-example-exercises already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] building marionebl/rust-by-example-exercises against try#fe8f664b41f030f307cfeb6cb8c3a1419292aeed for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarionebl%2Frust-by-example-exercises" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marionebl/rust-by-example-exercises on toolchain fe8f664b41f030f307cfeb6cb8c3a1419292aeed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/marionebl/rust-by-example-exercises [INFO] finished tweaking git repo https://github.com/marionebl/rust-by-example-exercises [INFO] tweaked toml for git repo https://github.com/marionebl/rust-by-example-exercises written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/marionebl/rust-by-example-exercises already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] building marionebl/rust-by-example-exercises against try#fe8f664b41f030f307cfeb6cb8c3a1419292aeed for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarionebl%2Frust-by-example-exercises" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marionebl/rust-by-example-exercises on toolchain fe8f664b41f030f307cfeb6cb8c3a1419292aeed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/marionebl/rust-by-example-exercises [INFO] finished tweaking git repo https://github.com/marionebl/rust-by-example-exercises [INFO] tweaked toml for git repo https://github.com/marionebl/rust-by-example-exercises written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/marionebl/rust-by-example-exercises already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5144c20296bc5cef25dffbb44c7009733f86227cb0723cdd4f6d631689b40648 [INFO] running `Command { std: "docker" "start" "-a" "5144c20296bc5cef25dffbb44c7009733f86227cb0723cdd4f6d631689b40648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5144c20296bc5cef25dffbb44c7009733f86227cb0723cdd4f6d631689b40648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5144c20296bc5cef25dffbb44c7009733f86227cb0723cdd4f6d631689b40648", kill_on_drop: false }` [INFO] [stdout] 5144c20296bc5cef25dffbb44c7009733f86227cb0723cdd4f6d631689b40648 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d60ee2f4eb6363f9815da190ceba907fdcc8c1e84a7188a240e26601758f0699 [INFO] running `Command { std: "docker" "start" "-a" "d60ee2f4eb6363f9815da190ceba907fdcc8c1e84a7188a240e26601758f0699", kill_on_drop: false }` [INFO] [stderr] Compiling rust-by-example-exercises v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected item, found `36` [INFO] [stdout] --> src/bin/13-5-2-generic-bounds-multiple.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | 36 [INFO] [stdout] | ^^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-by-example-exercises` (bin "13-5-2-generic-bounds-multiple") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bin/9-2-6-closures-std-lib-iterator-any.rs:16:70 [INFO] [stdout] | [INFO] [stdout] 16 | println!("2 in array2: {}", array2.into_iter().any(|&x| x == 2));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/bin/8-2-loop.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | 'inner: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/8-2-loop.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 32 | break 'outer; [INFO] [stdout] | ------------ any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 35 | println!("This point will never be reached"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/bin/9-2-6-closures-std-lib-iterator-any.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | println!("2 in array2: {}", array2.into_iter().any(|&x| x == 2));; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 16 | println!("2 in array2: {}", array2.iter().any(|&x| x == 2));; [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 16 | println!("2 in array2: {}", IntoIterator::into_iter(array2).any(|&x| x == 2));; [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/bin/7-expressions.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | 2 * x; [INFO] [stdout] | ^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 14 | let _ = 2 * x; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d60ee2f4eb6363f9815da190ceba907fdcc8c1e84a7188a240e26601758f0699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d60ee2f4eb6363f9815da190ceba907fdcc8c1e84a7188a240e26601758f0699", kill_on_drop: false }` [INFO] [stdout] d60ee2f4eb6363f9815da190ceba907fdcc8c1e84a7188a240e26601758f0699