[INFO] cloning repository https://github.com/power3xz/rust-in-action [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/power3xz/rust-in-action" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpower3xz%2Frust-in-action", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpower3xz%2Frust-in-action'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 409f37b437ad161cb1dc57f9410ca9123f97dcf6 [INFO] testing power3xz/rust-in-action against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpower3xz%2Frust-in-action" "/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/power3xz/rust-in-action on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/power3xz/rust-in-action [INFO] finished tweaking git repo https://github.com/power3xz/rust-in-action [INFO] tweaked toml for git repo https://github.com/power3xz/rust-in-action written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/power3xz/rust-in-action already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 874e8db09e8fa4b862bc9d82072ae2594aff1f73d07ae56c90e2debeb80e0b52 [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" "874e8db09e8fa4b862bc9d82072ae2594aff1f73d07ae56c90e2debeb80e0b52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "874e8db09e8fa4b862bc9d82072ae2594aff1f73d07ae56c90e2debeb80e0b52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "874e8db09e8fa4b862bc9d82072ae2594aff1f73d07ae56c90e2debeb80e0b52", kill_on_drop: false }` [INFO] [stdout] 874e8db09e8fa4b862bc9d82072ae2594aff1f73d07ae56c90e2debeb80e0b52 [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3b5764ae9c2305a56d7a949a17963918fb695fc481a5f6c75ec481ad829f3a5f [INFO] running `Command { std: "docker" "start" "-a" "3b5764ae9c2305a56d7a949a17963918fb695fc481a5f6c75ec481ad829f3a5f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling l6-7 v0.1.0 (/opt/rustwide/workdir/l6-7) [INFO] [stderr] Compiling l6-5 v0.1.0 (/opt/rustwide/workdir/l6-5) [INFO] [stderr] Compiling l4-16 v0.1.0 (/opt/rustwide/workdir/l4-16) [INFO] [stderr] Compiling l6-1 v0.1.0 (/opt/rustwide/workdir/l6-1) [INFO] [stderr] Compiling l5-9 v0.1.0 (/opt/rustwide/workdir/l5-9) [INFO] [stderr] Compiling l5-6 v0.1.0 (/opt/rustwide/workdir/l5-6) [INFO] [stderr] Compiling l5-3 v0.1.0 (/opt/rustwide/workdir/l5-3) [INFO] [stderr] Compiling l5-18 v0.1.0 (/opt/rustwide/workdir/l5-18) [INFO] [stderr] Compiling l2-35 v0.1.0 (/opt/rustwide/workdir/l2-35) [INFO] [stderr] Compiling l5-14 v0.1.0 (/opt/rustwide/workdir/l5-14) [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> l4-16/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling l4-4 v0.1.0 (/opt/rustwide/workdir/l4-4) [INFO] [stderr] Compiling l3-7 v0.1.0 (/opt/rustwide/workdir/l3-7) [INFO] [stderr] Compiling l4-8 v0.1.0 (/opt/rustwide/workdir/l4-8) [INFO] [stdout] warning: unused variable: `sat_id` [INFO] [stdout] --> l4-4/src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | fn check_status(sat_id: CubeSat) -> StatusMessage { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sat_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `sat_a` [INFO] [stdout] --> l4-4/src/main.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 16 | let sat_a = CubeSat { id: 0 }; [INFO] [stdout] | ----- move occurs because `sat_a` has type `CubeSat`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 20 | let a_status = check_status(sat_a); [INFO] [stdout] | ----- value moved here [INFO] [stdout] ... [INFO] [stdout] 26 | let a_status = check_status(sat_a); [INFO] [stdout] | ^^^^^ value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `sat_b` [INFO] [stdout] --> l4-4/src/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 17 | let sat_b = CubeSat { id: 1 }; [INFO] [stdout] | ----- move occurs because `sat_b` has type `CubeSat`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 21 | let b_status = check_status(sat_b); [INFO] [stdout] | ----- value moved here [INFO] [stdout] ... [INFO] [stdout] 27 | let b_status = check_status(sat_b); [INFO] [stdout] | ^^^^^ value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `sat_c` [INFO] [stdout] --> l4-4/src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 18 | let sat_c = CubeSat { id: 2 }; [INFO] [stdout] | ----- move occurs because `sat_c` has type `CubeSat`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 22 | let c_status = check_status(sat_c); [INFO] [stdout] | ----- value moved here [INFO] [stdout] ... [INFO] [stdout] 28 | let c_status = check_status(sat_c); [INFO] [stdout] | ^^^^^ value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] Compiling l3-9 v0.1.0 (/opt/rustwide/workdir/l3-9) [INFO] [stderr] error: could not compile `l4-4` due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> l3-7/src/main.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | if host == ordinary_string { [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `Hostname`, found struct `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `Demo` doesn't implement `std::fmt::Display` [INFO] [stdout] --> l4-8/src/main.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | println!("{}", demo); [INFO] [stdout] | ^^^^ `Demo` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Demo` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3b5764ae9c2305a56d7a949a17963918fb695fc481a5f6c75ec481ad829f3a5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b5764ae9c2305a56d7a949a17963918fb695fc481a5f6c75ec481ad829f3a5f", kill_on_drop: false }` [INFO] [stdout] 3b5764ae9c2305a56d7a949a17963918fb695fc481a5f6c75ec481ad829f3a5f