[INFO] cloning repository https://github.com/resqiar/learn-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/resqiar/learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fresqiar%2Flearn-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fresqiar%2Flearn-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 03dcd84b9a7e2307cf9043cb2f146bf6d52fe7db [INFO] building resqiar/learn-rust against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fresqiar%2Flearn-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/resqiar/learn-rust on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/resqiar/learn-rust [INFO] finished tweaking git repo https://github.com/resqiar/learn-rust [INFO] tweaked toml for git repo https://github.com/resqiar/learn-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/resqiar/learn-rust 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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fe052008d0822a959cda6207231738f25a64d3fb8ad3563468668461276caa1 [INFO] running `Command { std: "docker" "start" "-a" "6fe052008d0822a959cda6207231738f25a64d3fb8ad3563468668461276caa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fe052008d0822a959cda6207231738f25a64d3fb8ad3563468668461276caa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fe052008d0822a959cda6207231738f25a64d3fb8ad3563468668461276caa1", kill_on_drop: false }` [INFO] [stdout] 6fe052008d0822a959cda6207231738f25a64d3fb8ad3563468668461276caa1 [INFO] building resqiar/learn-rust against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fresqiar%2Flearn-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/resqiar/learn-rust on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/resqiar/learn-rust [INFO] finished tweaking git repo https://github.com/resqiar/learn-rust [INFO] tweaked toml for git repo https://github.com/resqiar/learn-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/resqiar/learn-rust 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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97df8029aa396a5253a403223b9833f1266f5f2d1ecb0eeb53c50e15a69ce59b [INFO] running `Command { std: "docker" "start" "-a" "97df8029aa396a5253a403223b9833f1266f5f2d1ecb0eeb53c50e15a69ce59b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97df8029aa396a5253a403223b9833f1266f5f2d1ecb0eeb53c50e15a69ce59b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97df8029aa396a5253a403223b9833f1266f5f2d1ecb0eeb53c50e15a69ce59b", kill_on_drop: false }` [INFO] [stdout] 97df8029aa396a5253a403223b9833f1266f5f2d1ecb0eeb53c50e15a69ce59b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 597c987d0aa87b98ebe5d0d2a539a18a8db6a39cb12adf91c330b5607b3f7419 [INFO] running `Command { std: "docker" "start" "-a" "597c987d0aa87b98ebe5d0d2a539a18a8db6a39cb12adf91c330b5607b3f7419", kill_on_drop: false }` [INFO] [stderr] Compiling learning_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `kind` and `value` are never read [INFO] [stdout] --> src/enums_mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct Language { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 3 | kind: LanguageKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | value: Phrase, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Language` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/enums_mod.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | MorningSalute(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Phrase` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | MorningSalute(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/enums_mod.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | NightSalute(String), [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Phrase` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | NightSalute(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_game` and `final_score` are never read [INFO] [stdout] --> src/generic_mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | total_game: T, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | final_score: U, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Electric` and `Petrol` are never constructed [INFO] [stdout] --> src/match_mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | enum VType { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 3 | Electric, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | Diesel, [INFO] [stdout] 5 | Petrol, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/struct_mod.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Color(pub u32, pub u32, pub u32); [INFO] [stdout] | ----- ^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Color` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/struct_mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Vehicle { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vehicle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/struct_mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Rect { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] 15 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sum_num` is never used [INFO] [stdout] --> src/test_mod.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn sum_num(a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] error: could not compile `learning_rust` (bin "learning_rust"); 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/bin/rustc --crate-name learning_rust --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=63f778f0e5f4d279 -C extra-filename=-54be82f66a9d6795 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid -Dtail-expr-drop-order` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "597c987d0aa87b98ebe5d0d2a539a18a8db6a39cb12adf91c330b5607b3f7419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "597c987d0aa87b98ebe5d0d2a539a18a8db6a39cb12adf91c330b5607b3f7419", kill_on_drop: false }` [INFO] [stdout] 597c987d0aa87b98ebe5d0d2a539a18a8db6a39cb12adf91c330b5607b3f7419