[INFO] cloning repository https://github.com/wimpykid26/rust-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wimpykid26/rust-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwimpykid26%2Frust-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwimpykid26%2Frust-examples'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/prepare-commit-msg.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwimpykid26%2Frust-examples/hooks/prepare-commit-msg.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/wimpykid26/rust-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wimpykid26/rust-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwimpykid26%2Frust-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwimpykid26%2Frust-examples'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-applypatch.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwimpykid26%2Frust-examples/hooks/pre-applypatch.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/wimpykid26/rust-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wimpykid26/rust-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwimpykid26%2Frust-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwimpykid26%2Frust-examples'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwimpykid26%2Frust-examples: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/wimpykid26/rust-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wimpykid26/rust-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwimpykid26%2Frust-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwimpykid26%2Frust-examples'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwimpykid26%2Frust-examples: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/wimpykid26/rust-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wimpykid26/rust-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwimpykid26%2Frust-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwimpykid26%2Frust-examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bff1d8f9f6d4c8f38a1297896ecc0afa4860467f [INFO] checking wimpykid26/rust-examples against master#2a023bf80a6fbd6a06d5460a34eb247b986286ed for pr-143764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwimpykid26%2Frust-examples" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wimpykid26/rust-examples [INFO] finished tweaking git repo https://github.com/wimpykid26/rust-examples [INFO] tweaked toml for git repo https://github.com/wimpykid26/rust-examples written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wimpykid26/rust-examples on toolchain 2a023bf80a6fbd6a06d5460a34eb247b986286ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wimpykid26/rust-examples 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" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c451ae84a08cf9b50c914cc740db0fa07bf6be353c90f7ac58c18326dc13dd7 [INFO] running `Command { std: "docker" "start" "-a" "1c451ae84a08cf9b50c914cc740db0fa07bf6be353c90f7ac58c18326dc13dd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c451ae84a08cf9b50c914cc740db0fa07bf6be353c90f7ac58c18326dc13dd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c451ae84a08cf9b50c914cc740db0fa07bf6be353c90f7ac58c18326dc13dd7", kill_on_drop: false }` [INFO] [stdout] 1c451ae84a08cf9b50c914cc740db0fa07bf6be353c90f7ac58c18326dc13dd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2a023bf80a6fbd6a06d5460a34eb247b986286ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee0609d8ee579ca0c4ec1adacde6e56a168e123152d212ea18858061d08dd9a0 [INFO] running `Command { std: "docker" "start" "-a" "ee0609d8ee579ca0c4ec1adacde6e56a168e123152d212ea18858061d08dd9a0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking rust-examples v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/expressions/loops.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | 'inner: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/expressions/match_cases.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | n @ 1...12 => println!("Age is {}", n), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/expressions/match_cases.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | 12...19 => println!("Teen"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/functions/closures.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn return_fn() -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn return_fn() -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/expressions/loops.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | break 'outer; [INFO] [stdout] | ------------ any code following this expression is unreachable [INFO] [stdout] 26 | } [INFO] [stdout] 27 | println!("This point will never be reached"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/expressions/loops.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | 'inner: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/expressions/match_cases.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | n @ 1...12 => println!("Age is {}", n), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/expressions/match_cases.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | 12...19 => println!("Teen"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/functions/closures.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn return_fn() -> Box { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn return_fn() -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> src/expressions/match_cases.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let ref reference = 5; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/expressions/match_cases.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | 1 => println!("This is a singular value"), [INFO] [stdout] | - matches all the relevant values [INFO] [stdout] 77 | 1 | 2 | 3 => println!("This is either 1, 2 or 3"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/expressions/loops.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | break 'outer; [INFO] [stdout] | ------------ any code following this expression is unreachable [INFO] [stdout] 26 | } [INFO] [stdout] 27 | println!("This point will never be reached"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> src/expressions/match_cases.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let ref reference = 5; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/expressions/match_cases.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 76 | 1 => println!("This is a singular value"), [INFO] [stdout] | - matches all the relevant values [INFO] [stdout] 77 | 1 | 2 | 3 => println!("This is either 1, 2 or 3"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "ee0609d8ee579ca0c4ec1adacde6e56a168e123152d212ea18858061d08dd9a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee0609d8ee579ca0c4ec1adacde6e56a168e123152d212ea18858061d08dd9a0", kill_on_drop: false }` [INFO] [stdout] ee0609d8ee579ca0c4ec1adacde6e56a168e123152d212ea18858061d08dd9a0