[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] testing shiqiduan/rust-kata against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiqiduan%2Frust-kata" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] /workspace/builds/worker-1-tc2/source/.git: No space left on device [INFO] testing shiqiduan/rust-kata against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiqiduan%2Frust-kata" "/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/shiqiduan/rust-kata on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 938a524e8cff7f965828838cd879f011c0dd274a6535c59fab341005b4a5b3fc [INFO] running `Command { std: "docker" "start" "-a" "938a524e8cff7f965828838cd879f011c0dd274a6535c59fab341005b4a5b3fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "938a524e8cff7f965828838cd879f011c0dd274a6535c59fab341005b4a5b3fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "938a524e8cff7f965828838cd879f011c0dd274a6535c59fab341005b4a5b3fc", kill_on_drop: false }` [INFO] [stdout] 938a524e8cff7f965828838cd879f011c0dd274a6535c59fab341005b4a5b3fc [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e96db7afd55ce9db93d90a868f748aaa448cd1440b30d191945c7b2f9803a11 [INFO] running `Command { std: "docker" "start" "-a" "3e96db7afd55ce9db93d90a868f748aaa448cd1440b30d191945c7b2f9803a11", kill_on_drop: false }` [INFO] [stderr] Compiling rust-kata v0.1.0 (/opt/rustwide/workdir) [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: `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: `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: 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: function `vector_demo` is never used [INFO] [stdout] --> src/basics/collecton.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn vector_demo() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vector_demo_01` is never used [INFO] [stdout] --> src/basics/collecton.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn vector_demo_01() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vector_demo_02` is never used [INFO] [stdout] --> src/basics/collecton.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn vector_demo_02() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vector_demo_03` is never used [INFO] [stdout] --> src/basics/collecton.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn vector_demo_03() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vector_sort` is never used [INFO] [stdout] --> src/basics/collecton.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn vector_sort() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyKey` is never constructed [INFO] [stdout] --> src/basics/collecton.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | struct MyKey { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hashmap_demo_01` is never used [INFO] [stdout] --> src/basics/collecton.rs:99:4 [INFO] [stdout] | [INFO] [stdout] 99 | fn hashmap_demo_01() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hashmap_demo_02` is never used [INFO] [stdout] --> src/basics/collecton.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn hashmap_demo_02() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hashmap_demo_03` is never used [INFO] [stdout] --> src/basics/collecton.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn hashmap_demo_03() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `comment_demo` is never used [INFO] [stdout] --> src/basics/comment_doc.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn comment_demo() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-kata` (lib); 31 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/17092ad00ed8fe1e7f81a7e38238ff70779034b1/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,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=2730a49a880a2e80 -C extra-filename=-047e47bbaca4a082 --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" "3e96db7afd55ce9db93d90a868f748aaa448cd1440b30d191945c7b2f9803a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e96db7afd55ce9db93d90a868f748aaa448cd1440b30d191945c7b2f9803a11", kill_on_drop: false }` [INFO] [stdout] 3e96db7afd55ce9db93d90a868f748aaa448cd1440b30d191945c7b2f9803a11