[INFO] cloning repository https://github.com/jhessin/rust-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jhessin/rust-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhessin%2Frust-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhessin%2Frust-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 397b7bd83e6113231faf031cd9044b859b62a79a [INFO] checking jhessin/rust-playground against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhessin%2Frust-playground" "/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/jhessin/rust-playground 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] started tweaking git repo https://github.com/jhessin/rust-playground [INFO] finished tweaking git repo https://github.com/jhessin/rust-playground [INFO] tweaked toml for git repo https://github.com/jhessin/rust-playground written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jhessin/rust-playground 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] 14975b8880ccbf11c05421d78402253002c977814da4f9c1fc107732a189e73a [INFO] running `Command { std: "docker" "start" "-a" "14975b8880ccbf11c05421d78402253002c977814da4f9c1fc107732a189e73a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14975b8880ccbf11c05421d78402253002c977814da4f9c1fc107732a189e73a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14975b8880ccbf11c05421d78402253002c977814da4f9c1fc107732a189e73a", kill_on_drop: false }` [INFO] [stdout] 14975b8880ccbf11c05421d78402253002c977814da4f9c1fc107732a189e73a [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] 96761b5c716fdd3dabb62301f0f5f875201d297007104523b4e2f2ead7df58b4 [INFO] running `Command { std: "docker" "start" "-a" "96761b5c716fdd3dabb62301f0f5f875201d297007104523b4e2f2ead7df58b4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking hello_macro v0.1.0 (/opt/rustwide/workdir/hello_macro) [INFO] [stderr] Checking blog v0.1.0 (/opt/rustwide/workdir/blog) [INFO] [stderr] Checking ch16-1-threads v0.1.0 (/opt/rustwide/workdir/ch16-1-threads) [INFO] [stderr] Checking ch18-2 v0.1.0 (/opt/rustwide/workdir/ch18-2) [INFO] [stderr] Checking ch17-3 v0.1.0 (/opt/rustwide/workdir/ch17-3) [INFO] [stderr] Checking ch18-3 v0.1.0 (/opt/rustwide/workdir/ch18-3) [INFO] [stderr] Checking ch19-1 v0.1.0 (/opt/rustwide/workdir/ch19-1) [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> ch18-2/src/main.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | if let x = my_vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ch19-4 v0.1.0 (/opt/rustwide/workdir/ch19-4) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ch16-3-mutex v0.1.0 (/opt/rustwide/workdir/ch16-3-mutex) [INFO] [stderr] Checking ch17-2 v0.1.0 (/opt/rustwide/workdir/ch17-2) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> ch18-3/src/main.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | 1...5 => println!("one through five"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] --> ch18-3/src/main.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | 'a'...'j' => println!( [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> ch18-3/src/main.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | 'k'...'z' => println!( [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> ch18-3/src/main.rs:1012:36 [INFO] [stdout] | [INFO] [stdout] 1012 | id: id_variable @ 3...7, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> ch18-3/src/main.rs:1018:36 [INFO] [stdout] | [INFO] [stdout] 1018 | Message::Hello { id: 10...12 } => println!( [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> ch18-2/src/main.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | if let x = my_vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ch15-5 v0.1.0 (/opt/rustwide/workdir/ch15-5) [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `options` are never read [INFO] [stdout] --> ch17-2/src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct SelectBox { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 33 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | options: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectBox` 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] [stderr] Checking ch16-2-messages v0.1.0 (/opt/rustwide/workdir/ch16-2-messages) [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> ch15-5/src/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | Cons(Rc>, Rc), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields 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 fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 8 | Cons((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ch15-6 v0.1.0 (/opt/rustwide/workdir/ch15-6) [INFO] [stderr] Checking ch19-3 v0.1.0 (/opt/rustwide/workdir/ch19-3) [INFO] [stderr] Checking ch18-1 v0.1.0 (/opt/rustwide/workdir/ch18-1) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> ch15-6/src/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | 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] 8 | Cons((), RefCell>), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `children` are never read [INFO] [stdout] --> ch15-6/src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 40 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | parent: RefCell>, [INFO] [stdout] 42 | 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: fields `width`, `height`, and `options` are never read [INFO] [stdout] --> ch17-2/src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct SelectBox { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 33 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | options: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SelectBox` 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking smart-ptrs v0.1.0 (/opt/rustwide/workdir/smart-ptrs) [INFO] [stderr] Checking ch19-2 v0.1.0 (/opt/rustwide/workdir/ch19-2) [INFO] [stderr] Checking ch15-4 v0.1.0 (/opt/rustwide/workdir/ch15-4) [INFO] [stderr] Checking custom-smart-ptr v0.1.0 (/opt/rustwide/workdir/custom-smart-ptr) [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> ch15-4/src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | Cons(i32, Rc), [INFO] [stdout] | ---- ^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 6 | Cons((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> smart-ptrs/src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | Cons(i32, Box), [INFO] [stdout] | ---- ^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 23 | Cons((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> smart-ptrs/src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | Cons(i32, Box), [INFO] [stdout] | ---- ^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 23 | Cons((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> ch18-3/src/main.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | 1...5 => println!("one through five"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] --> ch18-3/src/main.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | 'a'...'j' => println!( [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> ch18-3/src/main.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | 'k'...'z' => println!( [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> ch18-3/src/main.rs:1012:36 [INFO] [stdout] | [INFO] [stdout] 1012 | id: id_variable @ 3...7, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> ch18-3/src/main.rs:1018:36 [INFO] [stdout] | [INFO] [stdout] 1018 | Message::Hello { id: 10...12 } => println!( [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> ch15-4/src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | Cons(i32, Rc), [INFO] [stdout] | ---- ^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 6 | Cons((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> ch15-6/src/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | 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] 8 | Cons((), RefCell>), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `children` are never read [INFO] [stdout] --> ch15-6/src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 40 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | parent: RefCell>, [INFO] [stdout] 42 | 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: fields `0` and `1` are never read [INFO] [stdout] --> ch15-5/src/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | Cons(Rc>, Rc), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields 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 fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 8 | Cons((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking quote v0.6.12 [INFO] [stderr] Checking syn v0.14.9 [INFO] [stderr] Checking hello_macro_derive v0.1.0 (/opt/rustwide/workdir/hello_macro_derive) [INFO] [stderr] Checking ch19-6 v0.1.0 (/opt/rustwide/workdir/ch19-6) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "96761b5c716fdd3dabb62301f0f5f875201d297007104523b4e2f2ead7df58b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96761b5c716fdd3dabb62301f0f5f875201d297007104523b4e2f2ead7df58b4", kill_on_drop: false }` [INFO] [stdout] 96761b5c716fdd3dabb62301f0f5f875201d297007104523b4e2f2ead7df58b4 [INFO] checking jhessin/rust-playground 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%2Fjhessin%2Frust-playground" "/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/jhessin/rust-playground 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] started tweaking git repo https://github.com/jhessin/rust-playground [INFO] finished tweaking git repo https://github.com/jhessin/rust-playground [INFO] tweaked toml for git repo https://github.com/jhessin/rust-playground written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jhessin/rust-playground 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] 9cb76fec8e748799d2b7050448a3edae4cedc8448f8167eccc8562e5631400b4 [INFO] running `Command { std: "docker" "start" "-a" "9cb76fec8e748799d2b7050448a3edae4cedc8448f8167eccc8562e5631400b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cb76fec8e748799d2b7050448a3edae4cedc8448f8167eccc8562e5631400b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cb76fec8e748799d2b7050448a3edae4cedc8448f8167eccc8562e5631400b4", kill_on_drop: false }` [INFO] [stdout] 9cb76fec8e748799d2b7050448a3edae4cedc8448f8167eccc8562e5631400b4 [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] a3eb6c78eff8348357d9f84ca7ac67d58053725c9d474721a09e1a7950751a44 [INFO] running `Command { std: "docker" "start" "-a" "a3eb6c78eff8348357d9f84ca7ac67d58053725c9d474721a09e1a7950751a44", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking hello_macro v0.1.0 (/opt/rustwide/workdir/hello_macro) [INFO] [stderr] Checking blog v0.1.0 (/opt/rustwide/workdir/blog) [INFO] [stderr] Checking ch19-4 v0.1.0 (/opt/rustwide/workdir/ch19-4) [INFO] [stderr] Checking ch15-5 v0.1.0 (/opt/rustwide/workdir/ch15-5) [INFO] [stderr] Checking ch19-1 v0.1.0 (/opt/rustwide/workdir/ch19-1) [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> ch15-5/src/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | Cons(Rc>, Rc), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields 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 fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 8 | Cons((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ch16-3-mutex v0.1.0 (/opt/rustwide/workdir/ch16-3-mutex) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ch18-3 v0.1.0 (/opt/rustwide/workdir/ch18-3) [INFO] [stderr] Checking ch17-3 v0.1.0 (/opt/rustwide/workdir/ch17-3) [INFO] [stderr] Checking ch16-1-threads v0.1.0 (/opt/rustwide/workdir/ch16-1-threads) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> ch18-3/src/main.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | 1...5 => println!("one through five"), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] --> ch18-3/src/main.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | 'a'...'j' => println!( [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> ch18-3/src/main.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | 'k'...'z' => println!( [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> ch18-3/src/main.rs:1012:36 [INFO] [stdout] | [INFO] [stdout] 1012 | id: id_variable @ 3...7, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> ch18-3/src/main.rs:1018:36 [INFO] [stdout] | [INFO] [stdout] 1018 | Message::Hello { id: 10...12 } => println!( [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ch16-2-messages v0.1.0 (/opt/rustwide/workdir/ch16-2-messages) [INFO] [stderr] Checking ch18-2 v0.1.0 (/opt/rustwide/workdir/ch18-2) [INFO] [stderr] Checking ch18-1 v0.1.0 (/opt/rustwide/workdir/ch18-1) [INFO] [stderr] Checking ch15-6 v0.1.0 (/opt/rustwide/workdir/ch15-6) [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> ch18-2/src/main.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | if let x = my_vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ch19-2 v0.1.0 (/opt/rustwide/workdir/ch19-2) [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ch19-3 v0.1.0 (/opt/rustwide/workdir/ch19-3) [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> ch18-2/src/main.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | if let x = my_vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ch15-4 v0.1.0 (/opt/rustwide/workdir/ch15-4) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> ch15-6/src/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | 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] 8 | Cons((), RefCell>), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `children` are never read [INFO] [stdout] --> ch15-6/src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 40 | value: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | parent: RefCell>, [INFO] [stdout] 42 | 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] --> ch15-6/src/main.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 48 | parent: RefCell>, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | children: RefCell>>, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | ) -> Rc { [INFO] [stdout] 51 | Rc::new(Node { [INFO] [stdout] | _________________^ [INFO] [stdout] 52 | | value, [INFO] [stdout] 53 | | parent, [INFO] [stdout] 54 | | children, [INFO] [stdout] 55 | | }) [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ch15-6` (bin "ch15-6") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> ch15-4/src/main.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | Cons(i32, Rc), [INFO] [stdout] | ---- ^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [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] 6 | Cons((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a3eb6c78eff8348357d9f84ca7ac67d58053725c9d474721a09e1a7950751a44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3eb6c78eff8348357d9f84ca7ac67d58053725c9d474721a09e1a7950751a44", kill_on_drop: false }` [INFO] [stdout] a3eb6c78eff8348357d9f84ca7ac67d58053725c9d474721a09e1a7950751a44