[INFO] cloning repository https://github.com/deovaliandro/rust-intro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deovaliandro/rust-intro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeovaliandro%2Frust-intro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeovaliandro%2Frust-intro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa94afd64bc197efccf09d177af484e6068c3a6d [INFO] checking deovaliandro/rust-intro against try#f27166d4c64dc29edc5ea3214357f191edf8b635 for pr-148329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeovaliandro%2Frust-intro" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/deovaliandro/rust-intro [INFO] finished tweaking git repo https://github.com/deovaliandro/rust-intro [INFO] tweaked toml for git repo https://github.com/deovaliandro/rust-intro written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/deovaliandro/rust-intro on toolchain f27166d4c64dc29edc5ea3214357f191edf8b635 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/deovaliandro/rust-intro 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" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e19838d15bf9f08340e7f8789c7545b18ed900e265f5689e96ec7ea69d4b6fb [INFO] running `Command { std: "docker" "start" "-a" "8e19838d15bf9f08340e7f8789c7545b18ed900e265f5689e96ec7ea69d4b6fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e19838d15bf9f08340e7f8789c7545b18ed900e265f5689e96ec7ea69d4b6fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e19838d15bf9f08340e7f8789c7545b18ed900e265f5689e96ec7ea69d4b6fb", kill_on_drop: false }` [INFO] [stdout] 8e19838d15bf9f08340e7f8789c7545b18ed900e265f5689e96ec7ea69d4b6fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e51a44da126498352a1ae6e49550bff407e3062fd60a18917e5745ed60bc931e [INFO] running `Command { std: "docker" "start" "-a" "e51a44da126498352a1ae6e49550bff407e3062fd60a18917e5745ed60bc931e", kill_on_drop: false }` [INFO] [stderr] Checking rust-intro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `say_hello` is never used [INFO] [stdout] --> src/main.rs:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | fn say_hello() { [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 `say_goodbye` is never used [INFO] [stdout] --> src/main.rs:294:4 [INFO] [stdout] | [INFO] [stdout] 294 | fn say_goodbye(name: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factorial` is never used [INFO] [stdout] --> src/main.rs:304:4 [INFO] [stdout] | [INFO] [stdout] 304 | fn factorial(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factorial_recursive` is never used [INFO] [stdout] --> src/main.rs:318:4 [INFO] [stdout] | [INFO] [stdout] 318 | fn factorial_recursive(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_n` is never used [INFO] [stdout] --> src/main.rs:335:4 [INFO] [stdout] | [INFO] [stdout] 335 | fn print_n(n: i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hi` is never used [INFO] [stdout] --> src/main.rs:339:4 [INFO] [stdout] | [INFO] [stdout] 339 | fn hi(name: String) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `full_name` is never used [INFO] [stdout] --> src/main.rs:358:4 [INFO] [stdout] | [INFO] [stdout] 358 | fn full_name(fname: String, lname: String) -> (String, String, String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reference_full_name` is never used [INFO] [stdout] --> src/main.rs:374:4 [INFO] [stdout] | [INFO] [stdout] 374 | fn reference_full_name(first_name: &String, last_name: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `change_valu` is never used [INFO] [stdout] --> src/main.rs:388:4 [INFO] [stdout] | [INFO] [stdout] 388 | fn change_valu(value: &mut String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Person` is never constructed [INFO] [stdout] --> src/main.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 406 | struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_person_struct` is never used [INFO] [stdout] --> src/main.rs:412:4 [INFO] [stdout] | [INFO] [stdout] 412 | fn print_person_struct(person: &Person) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeoPoint` is never constructed [INFO] [stdout] --> src/main.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 435 | struct GeoPoint(f64, f64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `say_hello` is never used [INFO] [stdout] --> src/main.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 443 | impl Person { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 444 | fn say_hello(&self, name: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:461:8 [INFO] [stdout] | [INFO] [stdout] 460 | impl GeoPoint { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 461 | fn new(long: f64, lat: f64) -> GeoPoint { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Level` is never used [INFO] [stdout] --> src/main.rs:473:6 [INFO] [stdout] | [INFO] [stdout] 473 | enum Level { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Payment` is never used [INFO] [stdout] --> src/main.rs:486:6 [INFO] [stdout] | [INFO] [stdout] 486 | enum Payment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pay` is never used [INFO] [stdout] --> src/main.rs:493:8 [INFO] [stdout] | [INFO] [stdout] 492 | impl Payment { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 493 | fn pay(&self, amount: u32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:487:16 [INFO] [stdout] | [INFO] [stdout] 487 | CreditCard(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 487 - CreditCard(String), [INFO] [stdout] 487 + CreditCard(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BankTransfer` and `Ewallet` are never constructed [INFO] [stdout] --> src/main.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 486 | enum Payment { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 487 | CreditCard(String), [INFO] [stdout] 488 | BankTransfer(String, String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 489 | Ewallet(String, String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "e51a44da126498352a1ae6e49550bff407e3062fd60a18917e5745ed60bc931e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e51a44da126498352a1ae6e49550bff407e3062fd60a18917e5745ed60bc931e", kill_on_drop: false }` [INFO] [stdout] e51a44da126498352a1ae6e49550bff407e3062fd60a18917e5745ed60bc931e