[INFO] cloning repository https://github.com/LiWenGu/learing-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LiWenGu/learing-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiWenGu%2Flearing-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiWenGu%2Flearing-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1018016a1d796e913f4132017e0b754036fa4939 [INFO] building LiWenGu/learing-rust 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%2FLiWenGu%2Flearing-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LiWenGu/learing-rust 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/LiWenGu/learing-rust [INFO] finished tweaking git repo https://github.com/LiWenGu/learing-rust [INFO] tweaked toml for git repo https://github.com/LiWenGu/learing-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LiWenGu/learing-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 020b36bba7bc6283e1f6f17bc1e7aa0ed0cbcf7b421b2caf2d15c7610d091d6b [INFO] running `Command { std: "docker" "start" "-a" "020b36bba7bc6283e1f6f17bc1e7aa0ed0cbcf7b421b2caf2d15c7610d091d6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "020b36bba7bc6283e1f6f17bc1e7aa0ed0cbcf7b421b2caf2d15c7610d091d6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "020b36bba7bc6283e1f6f17bc1e7aa0ed0cbcf7b421b2caf2d15c7610d091d6b", kill_on_drop: false }` [INFO] [stdout] 020b36bba7bc6283e1f6f17bc1e7aa0ed0cbcf7b421b2caf2d15c7610d091d6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] d804406e77fcdc883274f1128ccf01ef2566fdd15334238f6ad393a6aa5b5891 [INFO] running `Command { std: "docker" "start" "-a" "d804406e77fcdc883274f1128ccf01ef2566fdd15334238f6ad393a6aa5b5891", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling hello_macro v0.1.0 (/opt/rustwide/workdir/hello_macro) [INFO] [stderr] Compiling intelligent-point v0.1.0 (/opt/rustwide/workdir/intelligent-point) [INFO] [stderr] Compiling object-feature v0.1.0 (/opt/rustwide/workdir/object-feature) [INFO] [stderr] Compiling web v0.1.0 (/opt/rustwide/workdir/web) [INFO] [stderr] Compiling advance-feature v0.1.0 (/opt/rustwide/workdir/advance-feature) [INFO] [stderr] Compiling fearless-concurrent v0.1.0 (/opt/rustwide/workdir/fearless-concurrent) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> web/src/lib.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | type Job = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [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(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | type Job = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> intelligent-point/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> object-feature/src/lib.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | fn content<'a>(&self, post: &'a Post) -> &'a str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_at_mut` is never used [INFO] [stdout] --> advance-feature/src/main.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn split_at_mut(slice: &mut [i32], mid: usize) -> (&mut [i32], &mut [i32]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Red` is never used [INFO] [stdout] --> advance-feature/src/main.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | trait Red {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ball` is never constructed [INFO] [stdout] --> advance-feature/src/main.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct Ball<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `baby_name` is never used [INFO] [stdout] --> advance-feature/src/main.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl Dog { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 46 | fn baby_name() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectBox` is never constructed [INFO] [stdout] --> object-feature/src/lib.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct SelectBox { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MutexExample` should have a snake case name [INFO] [stdout] --> fearless-concurrent/src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn MutexExample() { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mutex_example` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> intelligent-point/src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let list = Cons(1, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> intelligent-point/src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let c = CustomSmartPointer {data: String::from("my stuff")}; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> intelligent-point/src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let d = CustomSmartPointer {data: String::from("other stuff")}; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> intelligent-point/src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 37 | Cons((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Listz` is never used [INFO] [stdout] --> intelligent-point/src/main.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | enum Listz { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> intelligent-point/src/main.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | Cons(Rc>, Rc), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Lists` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 74 | Cons((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> web/src/main.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling add-one v0.1.0 (/opt/rustwide/workdir/add-one) [INFO] [stderr] Compiling adder v0.1.0 (/opt/rustwide/workdir/adder) [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> adder/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hello_macro_derive v0.1.0 (/opt/rustwide/workdir/hello_macro/hello_macro_derive) [INFO] [stderr] Compiling pancakes v0.1.0 (/opt/rustwide/workdir/pancakes) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.55s [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" "d804406e77fcdc883274f1128ccf01ef2566fdd15334238f6ad393a6aa5b5891", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d804406e77fcdc883274f1128ccf01ef2566fdd15334238f6ad393a6aa5b5891", kill_on_drop: false }` [INFO] [stdout] d804406e77fcdc883274f1128ccf01ef2566fdd15334238f6ad393a6aa5b5891 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 832c7a402b3414956880aa9f784d60331616e0d5a964404ffde5a0073f6ac077 [INFO] running `Command { std: "docker" "start" "-a" "832c7a402b3414956880aa9f784d60331616e0d5a964404ffde5a0073f6ac077", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> intelligent-point/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> object-feature/src/lib.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | fn content<'a>(&self, post: &'a Post) -> &'a str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectBox` is never constructed [INFO] [stdout] --> object-feature/src/lib.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct SelectBox { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> web/src/lib.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | type Job = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [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(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | type Job = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling web v0.1.0 (/opt/rustwide/workdir/web) [INFO] [stderr] Compiling advance-feature v0.1.0 (/opt/rustwide/workdir/advance-feature) [INFO] [stderr] Compiling intelligent-point v0.1.0 (/opt/rustwide/workdir/intelligent-point) [INFO] [stderr] Compiling fearless-concurrent v0.1.0 (/opt/rustwide/workdir/fearless-concurrent) [INFO] [stderr] Compiling hello_macro v0.1.0 (/opt/rustwide/workdir/hello_macro) [INFO] [stderr] Compiling object-feature v0.1.0 (/opt/rustwide/workdir/object-feature) [INFO] [stderr] Compiling hello_macro_derive v0.1.0 (/opt/rustwide/workdir/hello_macro/hello_macro_derive) [INFO] [stderr] Compiling add-one v0.1.0 (/opt/rustwide/workdir/add-one) [INFO] [stderr] Compiling adder v0.1.0 (/opt/rustwide/workdir/adder) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> web/src/lib.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | type Job = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [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(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | type Job = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> intelligent-point/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> web/src/main.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fs, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand` [INFO] [stdout] --> adder/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_at_mut` is never used [INFO] [stdout] --> advance-feature/src/main.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn split_at_mut(slice: &mut [i32], mid: usize) -> (&mut [i32], &mut [i32]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Red` is never used [INFO] [stdout] --> advance-feature/src/main.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | trait Red {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ball` is never constructed [INFO] [stdout] --> advance-feature/src/main.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct Ball<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `baby_name` is never used [INFO] [stdout] --> advance-feature/src/main.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl Dog { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 46 | fn baby_name() -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `post` [INFO] [stdout] --> object-feature/src/lib.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | fn content<'a>(&self, post: &'a Post) -> &'a str { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_post` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SelectBox` is never constructed [INFO] [stdout] --> object-feature/src/lib.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct SelectBox { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> intelligent-point/src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let list = Cons(1, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> intelligent-point/src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let c = CustomSmartPointer {data: String::from("my stuff")}; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> intelligent-point/src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let d = CustomSmartPointer {data: String::from("other stuff")}; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> intelligent-point/src/main.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 37 | Cons((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Listz` is never used [INFO] [stdout] --> intelligent-point/src/main.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | enum Listz { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> intelligent-point/src/main.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | Cons(Rc>, Rc), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Lists` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 74 | Cons((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `MutexExample` should have a snake case name [INFO] [stdout] --> fearless-concurrent/src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn MutexExample() { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mutex_example` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pancakes v0.1.0 (/opt/rustwide/workdir/pancakes) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [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" "832c7a402b3414956880aa9f784d60331616e0d5a964404ffde5a0073f6ac077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "832c7a402b3414956880aa9f784d60331616e0d5a964404ffde5a0073f6ac077", kill_on_drop: false }` [INFO] [stdout] 832c7a402b3414956880aa9f784d60331616e0d5a964404ffde5a0073f6ac077