[INFO] cloning repository https://github.com/yagince/programming-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yagince/programming-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyagince%2Fprogramming-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyagince%2Fprogramming-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyagince%2Fprogramming-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/yagince/programming-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yagince/programming-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyagince%2Fprogramming-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyagince%2Fprogramming-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2fb11ea3e31e1d7584b541293cb56108d4b4ac0f [INFO] checking yagince/programming-rust against master#b56aaec52bc0fa35591a872fb4aac81f606e265c for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyagince%2Fprogramming-rust" "/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/yagince/programming-rust [INFO] finished tweaking git repo https://github.com/yagince/programming-rust [INFO] tweaked toml for git repo https://github.com/yagince/programming-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yagince/programming-rust on toolchain b56aaec52bc0fa35591a872fb4aac81f606e265c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yagince/programming-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" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 343deab66ea622ae44d15a5176c60dd77493ea35f789d677c0020e9212f2d9c3 [INFO] running `Command { std: "docker" "start" "-a" "343deab66ea622ae44d15a5176c60dd77493ea35f789d677c0020e9212f2d9c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "343deab66ea622ae44d15a5176c60dd77493ea35f789d677c0020e9212f2d9c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "343deab66ea622ae44d15a5176c60dd77493ea35f789d677c0020e9212f2d9c3", kill_on_drop: false }` [INFO] [stdout] 343deab66ea622ae44d15a5176c60dd77493ea35f789d677c0020e9212f2d9c3 [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" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c9e6bb845dc38723e5a851fef76116acbb3fe85ed31583b618187eadec0f519 [INFO] running `Command { std: "docker" "start" "-a" "6c9e6bb845dc38723e5a851fef76116acbb3fe85ed31583b618187eadec0f519", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking samples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Result` [INFO] [stdout] --> src/bin/6_4_1_if_let.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_2` [INFO] [stdout] --> src/bin/4_3_copy.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let a_2 = a; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_a_2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Result` [INFO] [stdout] --> src/bin/6_4_1_if_let.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/bin/4_4_rc_arc.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let t = s.clone(); // cloneすると参照カウントがインクリメントされるが実際はコピーされない [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/bin/4_4_rc_arc.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let u = s.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/bin/4_4_rc_arc.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let t = s.clone(); // cloneすると参照カウントがインクリメントされるが実際はコピーされない [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/bin/4_4_rc_arc.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let u = s.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aside` [INFO] [stdout] --> src/bin/5_3_share_refenrence.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let aside = v; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_aside` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/4_4_rc_arc.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut s = Rc::new("hoge".to_string()); [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/bin/4_4_rc_arc.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut s = Rc::new("hoge".to_string()); [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: `r1` [INFO] [stdout] --> src/bin/5_3_share_refenrence.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let r1 = &mut r.1; // 可変参照から可変参照の再借用は出来る [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bin/5_2_2_references_static.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | println!("{:?}", STASH); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> src/bin/5_2_6_lifetime_parameter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | struct S<'a, 'b> { [INFO] [stdout] | - field in this struct [INFO] [stdout] 2 | x: &'a i32, [INFO] [stdout] 3 | y: &'b i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_2` [INFO] [stdout] --> src/bin/4_3_copy.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let a_2 = a; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_a_2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aside` [INFO] [stdout] --> src/bin/5_3_share_refenrence.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let aside = v; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_aside` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/bin/5_3_share_refenrence.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let r1 = &mut r.1; // 可変参照から可変参照の再借用は出来る [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> src/bin/5_2_6_lifetime_parameter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | struct S<'a, 'b> { [INFO] [stdout] | - field in this struct [INFO] [stdout] 2 | x: &'a i32, [INFO] [stdout] 3 | y: &'b i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/bin/5_2_2_references_static.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | println!("{:?}", STASH); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "6c9e6bb845dc38723e5a851fef76116acbb3fe85ed31583b618187eadec0f519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c9e6bb845dc38723e5a851fef76116acbb3fe85ed31583b618187eadec0f519", kill_on_drop: false }` [INFO] [stdout] 6c9e6bb845dc38723e5a851fef76116acbb3fe85ed31583b618187eadec0f519