[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] building jhessin/rust-playground against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhessin%2Frust-playground" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jhessin/rust-playground on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-2-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07b976ee13d0a21449aa289629b1bb3087eb29e2cb391034cfb0b8be0a9ac2a8 [INFO] running `Command { std: "docker" "start" "-a" "07b976ee13d0a21449aa289629b1bb3087eb29e2cb391034cfb0b8be0a9ac2a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07b976ee13d0a21449aa289629b1bb3087eb29e2cb391034cfb0b8be0a9ac2a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07b976ee13d0a21449aa289629b1bb3087eb29e2cb391034cfb0b8be0a9ac2a8", kill_on_drop: false }` [INFO] [stdout] 07b976ee13d0a21449aa289629b1bb3087eb29e2cb391034cfb0b8be0a9ac2a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3ea9abd47eda08fe41e6ac7f486140384f41858b31451562eb1e6e678fafdac [INFO] running `Command { std: "docker" "start" "-a" "e3ea9abd47eda08fe41e6ac7f486140384f41858b31451562eb1e6e678fafdac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling hello_macro v0.1.0 (/opt/rustwide/workdir/hello_macro) [INFO] [stderr] Compiling blog v0.1.0 (/opt/rustwide/workdir/blog) [INFO] [stderr] Compiling ch18-1 v0.1.0 (/opt/rustwide/workdir/ch18-1) [INFO] [stderr] Compiling ch19-2 v0.1.0 (/opt/rustwide/workdir/ch19-2) [INFO] [stderr] Compiling ch19-4 v0.1.0 (/opt/rustwide/workdir/ch19-4) [INFO] [stderr] Compiling ch19-1 v0.1.0 (/opt/rustwide/workdir/ch19-1) [INFO] [stderr] Compiling ch17-2 v0.1.0 (/opt/rustwide/workdir/ch17-2) [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> ch19-1/src/main.rs:469:33 [INFO] [stdout] | [INFO] [stdout] 469 | println!("COUNTER: {}", COUNTER); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ch17-3 v0.1.0 (/opt/rustwide/workdir/ch17-3) [INFO] [stderr] Compiling ch18-2 v0.1.0 (/opt/rustwide/workdir/ch18-2) [INFO] [stderr] Compiling ch16-1-threads v0.1.0 (/opt/rustwide/workdir/ch16-1-threads) [INFO] [stderr] Compiling ch15-5 v0.1.0 (/opt/rustwide/workdir/ch15-5) [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] Compiling ch19-3 v0.1.0 (/opt/rustwide/workdir/ch19-3) [INFO] [stderr] Compiling ch15-6 v0.1.0 (/opt/rustwide/workdir/ch15-6) [INFO] [stderr] Compiling ch16-3-mutex v0.1.0 (/opt/rustwide/workdir/ch16-3-mutex) [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] Compiling custom-smart-ptr v0.1.0 (/opt/rustwide/workdir/custom-smart-ptr) [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] [stderr] Compiling ch18-3 v0.1.0 (/opt/rustwide/workdir/ch18-3) [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] Compiling ch16-2-messages v0.1.0 (/opt/rustwide/workdir/ch16-2-messages) [INFO] [stderr] Compiling ch15-4 v0.1.0 (/opt/rustwide/workdir/ch15-4) [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] [stderr] Compiling smart-ptrs v0.1.0 (/opt/rustwide/workdir/smart-ptrs) [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] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling hello_macro_derive v0.1.0 (/opt/rustwide/workdir/hello_macro_derive) [INFO] [stderr] Compiling ch19-6 v0.1.0 (/opt/rustwide/workdir/ch19-6) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.27s [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 1` [INFO] running `Command { std: "docker" "inspect" "e3ea9abd47eda08fe41e6ac7f486140384f41858b31451562eb1e6e678fafdac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3ea9abd47eda08fe41e6ac7f486140384f41858b31451562eb1e6e678fafdac", kill_on_drop: false }` [INFO] [stdout] e3ea9abd47eda08fe41e6ac7f486140384f41858b31451562eb1e6e678fafdac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79805db7ebb04b1dc35e3fc3859fb3b9374a5e44c0f9741f06419a479207fbe9 [INFO] running `Command { std: "docker" "start" "-a" "79805db7ebb04b1dc35e3fc3859fb3b9374a5e44c0f9741f06419a479207fbe9", kill_on_drop: false }` [INFO] [stderr] Compiling ch19-4 v0.1.0 (/opt/rustwide/workdir/ch19-4) [INFO] [stderr] Compiling ch16-3-mutex v0.1.0 (/opt/rustwide/workdir/ch16-3-mutex) [INFO] [stderr] Compiling ch16-2-messages v0.1.0 (/opt/rustwide/workdir/ch16-2-messages) [INFO] [stderr] Compiling ch17-2 v0.1.0 (/opt/rustwide/workdir/ch17-2) [INFO] [stderr] Compiling ch17-3 v0.1.0 (/opt/rustwide/workdir/ch17-3) [INFO] [stderr] Compiling ch18-3 v0.1.0 (/opt/rustwide/workdir/ch18-3) [INFO] [stderr] Compiling ch15-4 v0.1.0 (/opt/rustwide/workdir/ch15-4) [INFO] [stderr] Compiling hello_macro_derive v0.1.0 (/opt/rustwide/workdir/hello_macro_derive) [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: 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: `...` 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] Compiling ch16-1-threads v0.1.0 (/opt/rustwide/workdir/ch16-1-threads) [INFO] [stderr] Compiling ch15-5 v0.1.0 (/opt/rustwide/workdir/ch15-5) [INFO] [stderr] Compiling ch19-2 v0.1.0 (/opt/rustwide/workdir/ch19-2) [INFO] [stderr] Compiling ch18-2 v0.1.0 (/opt/rustwide/workdir/ch18-2) [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] Compiling ch19-6 v0.1.0 (/opt/rustwide/workdir/ch19-6) [INFO] [stderr] Compiling ch19-3 v0.1.0 (/opt/rustwide/workdir/ch19-3) [INFO] [stderr] Compiling ch15-6 v0.1.0 (/opt/rustwide/workdir/ch15-6) [INFO] [stderr] Compiling custom-smart-ptr v0.1.0 (/opt/rustwide/workdir/custom-smart-ptr) [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: 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] [stderr] Compiling blog v0.1.0 (/opt/rustwide/workdir/blog) [INFO] [stderr] Compiling hello_macro v0.1.0 (/opt/rustwide/workdir/hello_macro) [INFO] [stderr] Compiling smart-ptrs v0.1.0 (/opt/rustwide/workdir/smart-ptrs) [INFO] [stderr] Compiling ch19-1 v0.1.0 (/opt/rustwide/workdir/ch19-1) [INFO] [stderr] Compiling ch18-1 v0.1.0 (/opt/rustwide/workdir/ch18-1) [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> ch19-1/src/main.rs:469:33 [INFO] [stdout] | [INFO] [stdout] 469 | println!("COUNTER: {}", COUNTER); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.68s [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 1` [INFO] running `Command { std: "docker" "inspect" "79805db7ebb04b1dc35e3fc3859fb3b9374a5e44c0f9741f06419a479207fbe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79805db7ebb04b1dc35e3fc3859fb3b9374a5e44c0f9741f06419a479207fbe9", kill_on_drop: false }` [INFO] [stdout] 79805db7ebb04b1dc35e3fc3859fb3b9374a5e44c0f9741f06419a479207fbe9