[INFO] cloning repository https://github.com/Joel-Ajayi/advanced_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Joel-Ajayi/advanced_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoel-Ajayi%2Fadvanced_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoel-Ajayi%2Fadvanced_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c72966534b346b8bcccbc86624c20cd717a848d9
[INFO] checking Joel-Ajayi/advanced_rust against try#50d7e48beb74b48bd17c3749bfb73843c9ae0166 for pr-151102
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoel-Ajayi%2Fadvanced_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Joel-Ajayi/advanced_rust
[INFO] finished tweaking git repo https://github.com/Joel-Ajayi/advanced_rust
[INFO] tweaked toml for git repo https://github.com/Joel-Ajayi/advanced_rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Joel-Ajayi/advanced_rust on toolchain 50d7e48beb74b48bd17c3749bfb73843c9ae0166
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Joel-Ajayi/advanced_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" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 29cf1b838cce80a1930be3b3650f40a3e3c0a4fdc2fa97714143539e9a691550
[INFO] running `Command { std: "docker" "start" "-a" "29cf1b838cce80a1930be3b3650f40a3e3c0a4fdc2fa97714143539e9a691550", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29cf1b838cce80a1930be3b3650f40a3e3c0a4fdc2fa97714143539e9a691550", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29cf1b838cce80a1930be3b3650f40a3e3c0a4fdc2fa97714143539e9a691550", kill_on_drop: false }`
[INFO] [stdout] 29cf1b838cce80a1930be3b3650f40a3e3c0a4fdc2fa97714143539e9a691550
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2cdba1a74e14c65dfd7f720a073985dc0d365e53c75618507e10a61c38d1ad8f
[INFO] running `Command { std: "docker" "start" "-a" "2cdba1a74e14c65dfd7f720a073985dc0d365e53c75618507e10a61c38d1ad8f", kill_on_drop: false }`
[INFO] [stderr]     Checking advanced_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `p2`
[INFO] [stdout]   --> examples/generics.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let p2 = Point { x: 5.0 as f32, y: 10.0 as f32 };
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_p2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `largest` is never used
[INFO] [stdout]  --> examples/generics.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn largest<T>(list:&[T]) -> &T
[INFO] [stdout]   |    ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main1` is never used
[INFO] [stdout]   --> examples/generics.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn main1() {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `y` is never read
[INFO] [stdout]   --> examples/generics.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct Point<T> {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 26 |     x: T,
[INFO] [stdout] 27 |     y: T,
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `distance_from_origin` is never used
[INFO] [stdout]   --> examples/generics.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl Point<f32> {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 37 |     fn distance_from_origin(&self) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::num`
[INFO] [stdout]  --> examples/closures.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::num;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::drop`
[INFO] [stdout]  --> examples/smart_pointer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::mem::drop;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ShirtColor` is never used
[INFO] [stdout]  --> examples/closures.rs:4:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | enum ShirtColor {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Inventory` is never constructed
[INFO] [stdout]  --> examples/closures.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Inventory {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `giveaway` and `most_stacked` are never used
[INFO] [stdout]   --> examples/closures.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Inventory {
[INFO] [stdout]    | -------------- methods in this implementation
[INFO] [stdout] 14 |     fn giveaway(&self, preference:Option<ShirtColor>)-> ShirtColor {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn most_stacked(&self) -> ShirtColor {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main1` is never used
[INFO] [stdout]   --> examples/closures.rs:39:4
[INFO] [stdout]    |
[INFO] [stdout] 39 | fn main1() {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main2` is never used
[INFO] [stdout]   --> examples/closures.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn main2() {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `height` is never read
[INFO] [stdout]   --> examples/closures.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | struct Rectangle {
[INFO] [stdout]    |        --------- field in this struct
[INFO] [stdout] 71 |     width: u32,
[INFO] [stdout] 72 |     height: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> examples/smart_pointer.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> examples/smart_pointer.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     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: enum `List` is never used
[INFO] [stdout]  --> examples/smart_pointer.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | enum List {
[INFO] [stdout]   |      ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main_box` is never used
[INFO] [stdout]   --> examples/smart_pointer.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn main_box() {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CustomBox` is never constructed
[INFO] [stdout]   --> examples/smart_pointer.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | struct CustomBox<T>(T);
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> examples/smart_pointer.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl<T> CustomBox<T> {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] 37 |     fn new(x:T) -> CustomBox<T> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hello` is never used
[INFO] [stdout]   --> examples/smart_pointer.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn hello(name: &str) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main_deref` is never used
[INFO] [stdout]   --> examples/smart_pointer.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn main_deref() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `List2` is never used
[INFO] [stdout]   --> examples/smart_pointer.rs:75:6
[INFO] [stdout]    |
[INFO] [stdout] 75 | enum List2 {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `tail` is never used
[INFO] [stdout]   --> examples/smart_pointer.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | impl List2 {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 81 |     fn tail(&self) -> Option<&RefCell<Rc<List2>>> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]   --> examples/smart_pointer.rs:91:5
[INFO] [stdout]    |
[INFO] [stdout] 90 | struct Node {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 91 |     value: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 92 |     parent: RefCell<Weak<Node>>,
[INFO] [stdout] 93 |     children: RefCell<Vec<Rc<Node>>>,
[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: unused variable: `i`
[INFO] [stdout]  --> examples/lifetimes.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let i = ImportantExcerpt {
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `part` is never read
[INFO] [stdout]  --> examples/lifetimes.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct ImportantExcerpt<'a> {
[INFO] [stdout]   |        ---------------- field in this struct
[INFO] [stdout] 2 |     part: &'a str,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] running `Command { std: "docker" "inspect" "2cdba1a74e14c65dfd7f720a073985dc0d365e53c75618507e10a61c38d1ad8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2cdba1a74e14c65dfd7f720a073985dc0d365e53c75618507e10a61c38d1ad8f", kill_on_drop: false }`
[INFO] [stdout] 2cdba1a74e14c65dfd7f720a073985dc0d365e53c75618507e10a61c38d1ad8f
