[INFO] cloning repository https://github.com/arthurmco/nececity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arthurmco/nececity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farthurmco%2Fnececity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farthurmco%2Fnececity'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa265cad263f13b1fedb91d2a84a4b8509d6c962 [INFO] checking arthurmco/nececity/aa265cad263f13b1fedb91d2a84a4b8509d6c962 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farthurmco%2Fnececity" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arthurmco/nececity on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arthurmco/nececity [INFO] finished tweaking git repo https://github.com/arthurmco/nececity [INFO] tweaked toml for git repo https://github.com/arthurmco/nececity written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/arthurmco/nececity 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65dcb29fd615fa239dd1f9ac18e02bbd48e54ac5a651b3dc18a5db351e21a85a [INFO] running `Command { std: "docker" "start" "-a" "65dcb29fd615fa239dd1f9ac18e02bbd48e54ac5a651b3dc18a5db351e21a85a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65dcb29fd615fa239dd1f9ac18e02bbd48e54ac5a651b3dc18a5db351e21a85a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65dcb29fd615fa239dd1f9ac18e02bbd48e54ac5a651b3dc18a5db351e21a85a", kill_on_drop: false }` [INFO] [stdout] 65dcb29fd615fa239dd1f9ac18e02bbd48e54ac5a651b3dc18a5db351e21a85a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f6d7dc3775445329aea9c37fd4775e8345c35f40e9c9019e39f309360e85a9b [INFO] running `Command { std: "docker" "start" "-a" "2f6d7dc3775445329aea9c37fd4775e8345c35f40e9c9019e39f309360e85a9b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking nececity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `matches` [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate matches; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Family` [INFO] [stdout] --> src/logic/person.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use logic::family::{Family, FamilyID}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/logic/person.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/logic/family.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Family` [INFO] [stdout] --> src/logic/person.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use logic::family::{Family, FamilyID}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/logic/person.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/logic/family.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nececity` (bin "nececity") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variants `Health`, `Technology`, `Driving`, and `Homecare` are never constructed [INFO] [stdout] --> src/logic/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum WorkingArea { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 11 | Education, [INFO] [stdout] 12 | Health, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | Technology, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | Construction, [INFO] [stdout] 15 | Driving, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | Homecare, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkingArea` 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: variants `Basic`, `Technical`, and `Experience` are never constructed [INFO] [stdout] --> src/logic/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum InstructionLevel { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Basic, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | Technical, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | Experience(WorkingArea, i32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstructionLevel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `intelligence`, `beauty`, and `speak` are never read [INFO] [stdout] --> src/logic/person.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct PersonAttributes { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 25 | /// Intelligence level (affects how fast the person learns, and how much) [INFO] [stdout] 26 | pub intelligence: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub beauty: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub speak: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PersonAttributes` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `age` is never read [INFO] [stdout] --> src/logic/family.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Family { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | age: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Family` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `iterate` are never used [INFO] [stdout] --> src/logic/family.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Family { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 32 | /// Creates a planned family. One man and one woman [INFO] [stdout] 33 | pub fn new(father: &Person, mother: &Person) -> Family { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn iterate(&mut self) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2f6d7dc3775445329aea9c37fd4775e8345c35f40e9c9019e39f309360e85a9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f6d7dc3775445329aea9c37fd4775e8345c35f40e9c9019e39f309360e85a9b", kill_on_drop: false }` [INFO] [stdout] 2f6d7dc3775445329aea9c37fd4775e8345c35f40e9c9019e39f309360e85a9b