[INFO] cloning repository https://github.com/iamseki/studies [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iamseki/studies" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamseki%2Fstudies", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamseki%2Fstudies'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38993ceb5aafe466ad78c10ad94bc498622607ab [INFO] checking iamseki/studies against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamseki%2Fstudies" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iamseki/studies on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/iamseki/studies [INFO] finished tweaking git repo https://github.com/iamseki/studies [INFO] tweaked toml for git repo https://github.com/iamseki/studies written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/iamseki/studies 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f1a95acf25d7aa0a9f0b9d1b286d7fdbae7ae4fbce436c4323c4d1fb8d59480 [INFO] running `Command { std: "docker" "start" "-a" "8f1a95acf25d7aa0a9f0b9d1b286d7fdbae7ae4fbce436c4323c4d1fb8d59480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f1a95acf25d7aa0a9f0b9d1b286d7fdbae7ae4fbce436c4323c4d1fb8d59480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f1a95acf25d7aa0a9f0b9d1b286d7fdbae7ae4fbce436c4323c4d1fb8d59480", kill_on_drop: false }` [INFO] [stdout] 8f1a95acf25d7aa0a9f0b9d1b286d7fdbae7ae4fbce436c4323c4d1fb8d59480 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fafc313ca9af91a64d73e3ec2d9ca81b50c2e654e3f9e61447472b392e9e6818 [INFO] running `Command { std: "docker" "start" "-a" "fafc313ca9af91a64d73e3ec2d9ca81b50c2e654e3f9e61447472b392e9e6818", kill_on_drop: false }` [INFO] [stderr] Checking _rust_math v0.1.0 (/opt/rustwide/workdir/libs/rust/math) [INFO] [stderr] Checking _rust_web_server v0.1.0 (/opt/rustwide/workdir/apps/rust/web_server) [INFO] [stderr] Checking _rust_concurrency v0.1.0 (/opt/rustwide/workdir/apps/rust/concurrency) [INFO] [stderr] Checking _rust_minigrep v0.1.0 (/opt/rustwide/workdir/apps/rust/minigrep) [INFO] [stderr] Checking _rust_smart_pointers v0.1.0 (/opt/rustwide/workdir/apps/rust/smart_pointers) [INFO] [stderr] Checking _rust_generics v0.1.0 (/opt/rustwide/workdir/apps/rust/generics) [INFO] [stderr] Checking _rust_iterators_n_closures v0.1.0 (/opt/rustwide/workdir/apps/rust/iterators_n_closures) [INFO] [stderr] Checking _rust_lib v0.1.0 (/opt/rustwide/workdir/apps/rust/lib) [INFO] [stderr] Checking _rust_ownership_mistakes v0.1.0 (/opt/rustwide/workdir/apps/rust/ownership_mistakes) [INFO] [stderr] Checking _rust_oop v0.1.0 (/opt/rustwide/workdir/apps/rust/oop) [INFO] [stderr] Checking _rust_ds v0.1.0 (/opt/rustwide/workdir/apps/rust/ds) [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> apps/rust/iterators_n_closures/src/t_shirt_company.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | x += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> apps/rust/iterators_n_closures/src/t_shirt_company.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | let add_one_closure = |mut x| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [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] --> apps/rust/iterators_n_closures/src/t_shirt_company.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut num_red = 0; [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] --> apps/rust/iterators_n_closures/src/t_shirt_company.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut num_blue = 0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shoe` is never constructed [INFO] [stdout] --> apps/rust/iterators_n_closures/src/shoes_company.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Shoe { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shoes_in_size` is never used [INFO] [stdout] --> apps/rust/iterators_n_closures/src/shoes_company.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn shoes_in_size(shoes: Vec, shoe_size: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> libs/rust/math/src/lib.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_hold` is never used [INFO] [stdout] --> libs/rust/math/src/lib.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 11 | fn can_hold(&self, other: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `internal_adder` is never used [INFO] [stdout] --> libs/rust/math/src/lib.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn internal_adder(a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> libs/rust/math/src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Guess { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 39 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking _rust_enums v0.1.0 (/opt/rustwide/workdir/apps/rust/enums) [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seasonal_fruit` is never read [INFO] [stdout] --> apps/rust/lib/src/restaurant.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Breakefast { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 2 | pub toast: String, [INFO] [stdout] 3 | seasonal_fruit: String [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking _rust_testing v0.1.0 (/opt/rustwide/workdir/apps/rust/testing) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> apps/rust/smart_pointers/src/reference_cycle.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | Cons(i32, RefCell>), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `List` 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] 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] 10 | Cons((), RefCell>), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `children` are never read [INFO] [stdout] --> apps/rust/smart_pointers/src/reference_cycle.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 48 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | parent: RefCell>, [INFO] [stdout] 50 | children: RefCell>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> apps/rust/ds/src/main.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | Int(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` 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] 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] 61 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> apps/rust/ds/src/main.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` 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] 62 | Float(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> apps/rust/ds/src/main.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | Text(String) [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` 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] 63 | Text(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> apps/rust/iterators_n_closures/src/t_shirt_company.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | x += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seasonal_fruit` is never read [INFO] [stdout] --> apps/rust/lib/src/restaurant.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Breakefast { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 2 | pub toast: String, [INFO] [stdout] 3 | seasonal_fruit: String [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> apps/rust/iterators_n_closures/src/t_shirt_company.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | let add_one_closure = |mut x| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [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] --> apps/rust/iterators_n_closures/src/t_shirt_company.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut num_red = 0; [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] --> apps/rust/iterators_n_closures/src/t_shirt_company.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut num_blue = 0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::prelude::v1` [INFO] [stdout] --> apps/rust/iterators_n_closures/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::prelude::v1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> apps/rust/enums/src/main.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | V4(u8, u8, u8, u8), [INFO] [stdout] | -- ^^ ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` 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] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 | V4((), (), (), ()), [INFO] [stdout] | ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> apps/rust/enums/src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` 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] 8 | V6(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> apps/rust/enums/src/main.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | Write(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 14 | Write(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed [INFO] [stdout] --> apps/rust/enums/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 12 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | Move { x: i32, y: i32}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Write(String), [INFO] [stdout] 15 | ChangeColor(i32, i32, i32) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> apps/rust/smart_pointers/src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let b = Cons(3, Rc::clone(&a)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> apps/rust/smart_pointers/src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let c = Cons(4, Rc::clone(&a)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::prelude::v1` [INFO] [stdout] --> apps/rust/iterators_n_closures/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::prelude::v1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking _rust_errors v0.1.0 (/opt/rustwide/workdir/apps/rust/errors) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> apps/rust/smart_pointers/src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let b = Cons(3, Rc::clone(&a)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> apps/rust/smart_pointers/src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let c = Cons(4, Rc::clone(&a)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking _rust_patterns_matching v0.1.0 (/opt/rustwide/workdir/apps/rust/patterns_matching) [INFO] [stderr] Checking _rust_structs v0.1.0 (/opt/rustwide/workdir/apps/rust/structs) [INFO] [stderr] Checking _rust_slice v0.1.0 (/opt/rustwide/workdir/apps/rust/slice) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> apps/rust/generics/src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 65 | struct Point { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 66 | x: T, [INFO] [stdout] | ^ [INFO] [stdout] 67 | y: U, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> apps/rust/enums/src/main.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | V4(u8, u8, u8, u8), [INFO] [stdout] | -- ^^ ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` 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] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 | V4((), (), (), ()), [INFO] [stdout] | ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> apps/rust/enums/src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` 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] 8 | V6(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> apps/rust/enums/src/main.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | Write(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 14 | Write(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed [INFO] [stdout] --> apps/rust/enums/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 12 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | Move { x: i32, y: i32}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Write(String), [INFO] [stdout] 15 | ChangeColor(i32, i32, i32) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> apps/rust/patterns_matching/src/main.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 90 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> apps/rust/patterns_matching/src/main.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 90 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Rgb` is never constructed [INFO] [stdout] --> apps/rust/patterns_matching/src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 80 | enum Color { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 81 | Rgb(i32, i32, i32), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `Move`, and `Write` are never constructed [INFO] [stdout] --> apps/rust/patterns_matching/src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 85 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 86 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 87 | Move { x: i32, y: i32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 88 | Write(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `y` and `z` are never read [INFO] [stdout] --> apps/rust/patterns_matching/src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 134 | struct Point { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 135 | x: i32, [INFO] [stdout] 136 | y: i32, [INFO] [stdout] | ^ [INFO] [stdout] 137 | z: i32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> libs/rust/math/src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Guess { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 39 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Rgb` is never constructed [INFO] [stdout] --> apps/rust/patterns_matching/src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 80 | enum Color { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 81 | Rgb(i32, i32, i32), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `Move`, and `Write` are never constructed [INFO] [stdout] --> apps/rust/patterns_matching/src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 85 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 86 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 87 | Move { x: i32, y: i32 }, [INFO] [stdout] | ^^^^ [INFO] [stdout] 88 | Write(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `y` and `z` are never read [INFO] [stdout] --> apps/rust/patterns_matching/src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 134 | struct Point { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 135 | x: i32, [INFO] [stdout] 136 | y: i32, [INFO] [stdout] | ^ [INFO] [stdout] 137 | z: i32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> apps/rust/smart_pointers/src/reference_cycle.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | Cons(i32, RefCell>), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `List` 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] 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] 10 | Cons((), RefCell>), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `children` are never read [INFO] [stdout] --> apps/rust/smart_pointers/src/reference_cycle.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 48 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | parent: RefCell>, [INFO] [stdout] 50 | children: RefCell>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "fafc313ca9af91a64d73e3ec2d9ca81b50c2e654e3f9e61447472b392e9e6818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fafc313ca9af91a64d73e3ec2d9ca81b50c2e654e3f9e61447472b392e9e6818", kill_on_drop: false }` [INFO] [stdout] fafc313ca9af91a64d73e3ec2d9ca81b50c2e654e3f9e61447472b392e9e6818 [INFO] checking iamseki/studies against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamseki%2Fstudies" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iamseki/studies on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/iamseki/studies [INFO] finished tweaking git repo https://github.com/iamseki/studies [INFO] tweaked toml for git repo https://github.com/iamseki/studies written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/iamseki/studies 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7fe1ad586d5f6d51cf9a5b1424469da3b92a1fa622beebf64a4e1c5fe922bec [INFO] running `Command { std: "docker" "start" "-a" "c7fe1ad586d5f6d51cf9a5b1424469da3b92a1fa622beebf64a4e1c5fe922bec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7fe1ad586d5f6d51cf9a5b1424469da3b92a1fa622beebf64a4e1c5fe922bec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7fe1ad586d5f6d51cf9a5b1424469da3b92a1fa622beebf64a4e1c5fe922bec", kill_on_drop: false }` [INFO] [stdout] c7fe1ad586d5f6d51cf9a5b1424469da3b92a1fa622beebf64a4e1c5fe922bec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d165d2392870f5cd247a43a743d60be522e97ad671479a0b7e98e61987197716 [INFO] running `Command { std: "docker" "start" "-a" "d165d2392870f5cd247a43a743d60be522e97ad671479a0b7e98e61987197716", kill_on_drop: false }` [INFO] [stderr] Checking _rust_math v0.1.0 (/opt/rustwide/workdir/libs/rust/math) [INFO] [stderr] Checking _rust_iterators_n_closures v0.1.0 (/opt/rustwide/workdir/apps/rust/iterators_n_closures) [INFO] [stderr] Checking _rust_lib v0.1.0 (/opt/rustwide/workdir/apps/rust/lib) [INFO] [stderr] Checking _rust_concurrency v0.1.0 (/opt/rustwide/workdir/apps/rust/concurrency) [INFO] [stderr] Checking _rust_web_server v0.1.0 (/opt/rustwide/workdir/apps/rust/web_server) [INFO] [stderr] Checking _rust_generics v0.1.0 (/opt/rustwide/workdir/apps/rust/generics) [INFO] [stderr] Checking _rust_minigrep v0.1.0 (/opt/rustwide/workdir/apps/rust/minigrep) [INFO] [stderr] Checking _rust_smart_pointers v0.1.0 (/opt/rustwide/workdir/apps/rust/smart_pointers) [INFO] [stderr] Checking _rust_enums v0.1.0 (/opt/rustwide/workdir/apps/rust/enums) [INFO] [stderr] Checking _rust_errors v0.1.0 (/opt/rustwide/workdir/apps/rust/errors) [INFO] [stderr] Checking _rust_slice v0.1.0 (/opt/rustwide/workdir/apps/rust/slice) [INFO] [stderr] Checking _rust_ownership_mistakes v0.1.0 (/opt/rustwide/workdir/apps/rust/ownership_mistakes) [INFO] [stderr] Checking _rust_ds v0.1.0 (/opt/rustwide/workdir/apps/rust/ds) [INFO] [stdout] warning: field `seasonal_fruit` is never read [INFO] [stdout] --> apps/rust/lib/src/restaurant.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Breakefast { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 2 | pub toast: String, [INFO] [stdout] 3 | seasonal_fruit: String [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> apps/rust/web_server/src/thread_pool.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 56 | let (sender, receiver) = mpsc::channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | [INFO] [stdout] 58 | let receiver = Arc::new(Mutex::new(receiver)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | [INFO] [stdout] 60 | let mut workers = Vec::with_capacity(size); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | Ok(ThreadPool { [INFO] [stdout] | ____________^ [INFO] [stdout] 66 | | workers, [INFO] [stdout] 67 | | sender: Some(sender), [INFO] [stdout] 68 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> apps/rust/web_server/src/thread_pool.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 86 | fn new(id: usize, receiver: Arc>>) -> Worker { [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let thread = thread::spawn(move || loop { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | thread: Some(thread), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> apps/rust/enums/src/main.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | V4(u8, u8, u8, u8), [INFO] [stdout] | -- ^^ ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` 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] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 | V4((), (), (), ()), [INFO] [stdout] | ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> apps/rust/enums/src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` 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] 8 | V6(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> apps/rust/enums/src/main.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | Write(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 14 | Write(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed [INFO] [stdout] --> apps/rust/enums/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 12 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | Move { x: i32, y: i32}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Write(String), [INFO] [stdout] 15 | ChangeColor(i32, i32, i32) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rectangle` is never constructed [INFO] [stdout] --> libs/rust/math/src/lib.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_hold` is never used [INFO] [stdout] --> libs/rust/math/src/lib.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 11 | fn can_hold(&self, other: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `internal_adder` is never used [INFO] [stdout] --> libs/rust/math/src/lib.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn internal_adder(a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `_rust_web_server` (lib) due to 3 previous errors [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> libs/rust/math/src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Guess { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 39 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> apps/rust/errors/src/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 4 | let username_file_result = File::open("more_hello.txt"); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5 | [INFO] [stdout] 6 | let mut username_file = match username_file_result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | Ok(file) => file, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | Err(e) => return Err(e) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | match username_file.read_to_string(&mut username) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> apps/rust/smart_pointers/src/reference_cycle.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | Cons(i32, RefCell>), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `List` 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] 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] 10 | Cons((), RefCell>), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `children` are never read [INFO] [stdout] --> apps/rust/smart_pointers/src/reference_cycle.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 48 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | parent: RefCell>, [INFO] [stdout] 50 | children: RefCell>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> apps/rust/errors/src/main.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 4 | let username_file_result = File::open("more_hello.txt"); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5 | [INFO] [stdout] 6 | let mut username_file = match username_file_result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | Ok(file) => file, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | Err(e) => return Err(e) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | match username_file.read_to_string(&mut username) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `_rust_errors` (bin "_rust_errors") due to 2 previous errors [INFO] [stderr] error: could not compile `_rust_errors` (bin "_rust_errors" test) due to 2 previous errors [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> apps/rust/smart_pointers/src/reference_cycle.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | Cons(i32, RefCell>), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `List` 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] 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] 10 | Cons((), RefCell>), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `children` are never read [INFO] [stdout] --> apps/rust/smart_pointers/src/reference_cycle.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 48 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | parent: RefCell>, [INFO] [stdout] 50 | children: RefCell>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> apps/rust/iterators_n_closures/src/t_shirt_company.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | x += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> apps/rust/iterators_n_closures/src/t_shirt_company.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | let add_one_closure = |mut x| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [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] --> apps/rust/iterators_n_closures/src/t_shirt_company.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut num_red = 0; [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] --> apps/rust/iterators_n_closures/src/t_shirt_company.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut num_blue = 0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> apps/rust/enums/src/main.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | V4(u8, u8, u8, u8), [INFO] [stdout] | -- ^^ ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` 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] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 7 | V4((), (), (), ()), [INFO] [stdout] | ~~ ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> apps/rust/enums/src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | V6(String), [INFO] [stdout] | -- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IpAddr` 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] 8 | V6(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> apps/rust/enums/src/main.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | Write(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 14 | Write(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Quit`, `Move`, and `ChangeColor` are never constructed [INFO] [stdout] --> apps/rust/enums/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 12 | Quit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | Move { x: i32, y: i32}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Write(String), [INFO] [stdout] 15 | ChangeColor(i32, i32, i32) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shoe` is never constructed [INFO] [stdout] --> apps/rust/iterators_n_closures/src/shoes_company.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Shoe { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shoes_in_size` is never used [INFO] [stdout] --> apps/rust/iterators_n_closures/src/shoes_company.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn shoes_in_size(shoes: Vec, shoe_size: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> apps/rust/ds/src/main.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | Int(i32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` 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] 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] 61 | Int(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> apps/rust/ds/src/main.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | Float(f64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` 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] 62 | Float(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> apps/rust/ds/src/main.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | Text(String) [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpreadsheetCell` 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] 63 | Text(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d165d2392870f5cd247a43a743d60be522e97ad671479a0b7e98e61987197716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d165d2392870f5cd247a43a743d60be522e97ad671479a0b7e98e61987197716", kill_on_drop: false }` [INFO] [stdout] d165d2392870f5cd247a43a743d60be522e97ad671479a0b7e98e61987197716