[INFO] cloning repository https://github.com/phudekar/intro-to-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phudekar/intro-to-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphudekar%2Fintro-to-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphudekar%2Fintro-to-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e68ff2df772856781f809ec77f0c991175f51329
[INFO] checking phudekar/intro-to-rust against try#79452e8441468c5568c20bfca2aa1fe75b645b2d for pr-152210
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphudekar%2Fintro-to-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/phudekar/intro-to-rust
[INFO] finished tweaking git repo https://github.com/phudekar/intro-to-rust
[INFO] tweaked toml for git repo https://github.com/phudekar/intro-to-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/phudekar/intro-to-rust on toolchain 79452e8441468c5568c20bfca2aa1fe75b645b2d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/phudekar/intro-to-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" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hermit-abi v0.1.15
[INFO] [stderr]   Downloaded geoutils v0.4.0
[INFO] [stderr]   Downloaded libc v0.2.74
[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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 80e3b82e79c55da72e0f163c5e63be1290de738c8d762bc790a59eab503baef3
[INFO] running `Command { std: "docker" "start" "-a" "80e3b82e79c55da72e0f163c5e63be1290de738c8d762bc790a59eab503baef3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "80e3b82e79c55da72e0f163c5e63be1290de738c8d762bc790a59eab503baef3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80e3b82e79c55da72e0f163c5e63be1290de738c8d762bc790a59eab503baef3", kill_on_drop: false }`
[INFO] [stdout] 80e3b82e79c55da72e0f163c5e63be1290de738c8d762bc790a59eab503baef3
[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" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c8db62a393647b730316949c74a1e7c3584ac0aa0ebf191777248c8c358f9c74
[INFO] running `Command { std: "docker" "start" "-a" "c8db62a393647b730316949c74a1e7c3584ac0aa0ebf191777248c8c358f9c74", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]     Checking geoutils v0.4.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking intro-to-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/unique_words.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread;
[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::thread`
[INFO] [stdout]  --> src/unique_words.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `age` is never read
[INFO] [stdout]  --> src/ownership.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut age = 7;
[INFO] [stdout]   |                   ^
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout]   = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]  --> src/pattern_matching.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let a = 5;
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/complex_types.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |     Student(String),
[INFO] [stdout]    |     ------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Member` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] 71 -     Student(String),
[INFO] [stdout] 71 +     Student(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from` and `to` are never read
[INFO] [stdout]   --> src/generics.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct UPI {
[INFO] [stdout]    |        --- fields in this struct
[INFO] [stdout] 28 |     from: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 29 |     to: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `number` and `expiry` are never read
[INFO] [stdout]   --> src/generics.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct CreditCard {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 48 |     number: u64,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 49 |     expiry: (u8, u8),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `author` is never read
[INFO] [stdout]   --> src/library.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct Book {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 47 |     pub title: String,
[INFO] [stdout] 48 |     author: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Book` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `length_with_borrow` is never used
[INFO] [stdout]   --> src/ownership.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn length_with_borrow(str: &String) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Circle`, `Square`, and `Triangle` are never constructed
[INFO] [stdout]   --> src/pattern_matching.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub enum Shape {
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout] 35 |     Circle(f64),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 36 |     Square(f64),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 37 |     Rectangle(f64, f64),
[INFO] [stdout] 38 |     Triangle(f64, f64, f64),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bus` is never constructed
[INFO] [stdout]   --> src/transport.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Bus {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Blue` and `Gree` are never constructed
[INFO] [stdout]   --> src/transport.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub enum MetroLine {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 35 |     Red,
[INFO] [stdout] 36 |     Blue,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 37 |     Gree,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MetroLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `line` is never read
[INFO] [stdout]   --> src/transport.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct Metro {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 41 |     pub line: MetroLine,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/unique_words.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct Worker {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 55 |     pub id: usize,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `age` is never read
[INFO] [stdout]  --> src/ownership.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut age = 7;
[INFO] [stdout]   |                   ^
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe it is overwritten before being read?
[INFO] [stdout]   = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]  --> src/pattern_matching.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let a = 5;
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/complex_types.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |     Student(String),
[INFO] [stdout]    |     ------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Member` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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] 71 -     Student(String),
[INFO] [stdout] 71 +     Student(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `from` and `to` are never read
[INFO] [stdout]   --> src/generics.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | struct UPI {
[INFO] [stdout]    |        --- fields in this struct
[INFO] [stdout] 28 |     from: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 29 |     to: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `number` and `expiry` are never read
[INFO] [stdout]   --> src/generics.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct CreditCard {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 48 |     number: u64,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 49 |     expiry: (u8, u8),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `author` is never read
[INFO] [stdout]   --> src/library.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct Book {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 47 |     pub title: String,
[INFO] [stdout] 48 |     author: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Book` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `length_with_borrow` is never used
[INFO] [stdout]   --> src/ownership.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn length_with_borrow(str: &String) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `route` is never read
[INFO] [stdout]   --> src/transport.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Bus {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 24 |     route: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Blue` and `Gree` are never constructed
[INFO] [stdout]   --> src/transport.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub enum MetroLine {
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] 35 |     Red,
[INFO] [stdout] 36 |     Blue,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 37 |     Gree,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MetroLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `line` is never read
[INFO] [stdout]   --> src/transport.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub struct Metro {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 41 |     pub line: MetroLine,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/unique_words.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 54 | struct Worker {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 55 |     pub id: usize,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.41s
[INFO] running `Command { std: "docker" "inspect" "c8db62a393647b730316949c74a1e7c3584ac0aa0ebf191777248c8c358f9c74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8db62a393647b730316949c74a1e7c3584ac0aa0ebf191777248c8c358f9c74", kill_on_drop: false }`
[INFO] [stdout] c8db62a393647b730316949c74a1e7c3584ac0aa0ebf191777248c8c358f9c74
