[INFO] cloning repository https://github.com/shiqiduan/rust-kata [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shiqiduan/rust-kata" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiqiduan%2Frust-kata", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiqiduan%2Frust-kata'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37ae32a7b6cc157b69b0ce50e88bbf223e46a5cd [INFO] checking shiqiduan/rust-kata against master#4b596bbd847672da87763b76171687d3544863c2 for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiqiduan%2Frust-kata" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shiqiduan/rust-kata [INFO] finished tweaking git repo https://github.com/shiqiduan/rust-kata [INFO] tweaked toml for git repo https://github.com/shiqiduan/rust-kata written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shiqiduan/rust-kata on toolchain 4b596bbd847672da87763b76171687d3544863c2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shiqiduan/rust-kata 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" "+4b596bbd847672da87763b76171687d3544863c2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26e6da5036f83c108a4b3bf6b6f81bf226dad0be8b60cb8a3d71d4e113c80c3f [INFO] running `Command { std: "docker" "start" "-a" "26e6da5036f83c108a4b3bf6b6f81bf226dad0be8b60cb8a3d71d4e113c80c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26e6da5036f83c108a4b3bf6b6f81bf226dad0be8b60cb8a3d71d4e113c80c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26e6da5036f83c108a4b3bf6b6f81bf226dad0be8b60cb8a3d71d4e113c80c3f", kill_on_drop: false }` [INFO] [stdout] 26e6da5036f83c108a4b3bf6b6f81bf226dad0be8b60cb8a3d71d4e113c80c3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07b28ab00a5ac06eb45199648ef42fa83552eed6e9b6b03a169209e8bc858640 [INFO] running `Command { std: "docker" "start" "-a" "07b28ab00a5ac06eb45199648ef42fa83552eed6e9b6b03a169209e8bc858640", kill_on_drop: false }` [INFO] [stderr] Checking rust-kata v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Shape` and `print_area` [INFO] [stdout] --> src/basics/generics_trait.rs:146:40 [INFO] [stdout] | [INFO] [stdout] 146 | demo_01, largest, largest_i32, print_area, Circle, Point, Rectangle, Shape, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/basics/collecton.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let first = &v[0]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/basics/collecton.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let d = map.get("d").copied().unwrap_or(0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user2` [INFO] [stdout] --> src/basics/compound_types.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let user2 = User { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/basics/compound_types.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let a = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/basics/compound_types.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let a: [i32; 5] = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/basics/generics_trait.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn notify(item: &impl Summary) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/basics/generics_trait.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn notify_01(item: &(impl Summary + Display)) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first` [INFO] [stdout] --> src/basics/collecton.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let first = &v[0]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_first` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/basics/generics_trait.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn notify_02(item: &T) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/basics/generics_trait.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | fn some_function(t: &T, u: &U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/basics/generics_trait.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | fn some_function(t: &T, u: &U) -> i32 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/basics/lifetime.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let a = AAA { part: &s }; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/basics/ownership_borrowing.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let y = x; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/basics/collecton.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let d = map.get("d").copied().unwrap_or(0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/basics/pattern_match.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | Point { x, y: 0 } => println!("y = 0"), [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/basics/pattern_match.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | Point { x: 0, y } => println!("x = 0"), [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/basics/pattern_match.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | Point { x, y } => println!("point"), [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/basics/pattern_match.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | Point { x, y } => println!("point"), [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/basics/pattern_match.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | Point { x, .. } => println!("point"), [INFO] [stdout] | ^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `six` [INFO] [stdout] --> src/basics/pattern_match.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let six = plus_one(five); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_six` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `none` [INFO] [stdout] --> src/basics/pattern_match.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | let none = plus_one(None); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_none` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/basics/return_panic.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut f = File::open("hello.txt")?; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user2` [INFO] [stdout] --> src/basics/compound_types.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let user2 = User { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_user2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/basics/variable.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let (a, mut b): (bool, bool) = (true, false); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/basics/compound_types.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let a = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/basics/compound_types.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let a: [i32; 5] = [1, 2, 3, 4, 5]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/basics/generics_trait.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn notify(item: &impl Summary) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-kata` (lib); 21 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/4b596bbd847672da87763b76171687d3544863c2/bin/rustc --crate-name rust_kata --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=d5a8908cd65e58d8 -C extra-filename=-c245054a71b3b135 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 1) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-kata` (lib test); 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to parse process output: `/opt/rustwide/rustup-home/toolchains/4b596bbd847672da87763b76171687d3544863c2/bin/rustc --crate-name rust_kata --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=2dcafaf1bc92ef67 -C extra-filename=-fb3b813fdad07602 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "07b28ab00a5ac06eb45199648ef42fa83552eed6e9b6b03a169209e8bc858640", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07b28ab00a5ac06eb45199648ef42fa83552eed6e9b6b03a169209e8bc858640", kill_on_drop: false }` [INFO] [stdout] 07b28ab00a5ac06eb45199648ef42fa83552eed6e9b6b03a169209e8bc858640