[INFO] cloning repository https://github.com/arlyon/holding [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arlyon/holding" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farlyon%2Fholding", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farlyon%2Fholding'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 261da342c0c49acafa20debd58767fb06e0ce743 [INFO] testing arlyon/holding against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farlyon%2Fholding" "/workspace/builds/worker-62/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-62/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arlyon/holding on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-62/source/rust-toolchain [INFO] started tweaking git repo https://github.com/arlyon/holding [INFO] finished tweaking git repo https://github.com/arlyon/holding [INFO] tweaked toml for git repo https://github.com/arlyon/holding written to /workspace/builds/worker-62/source/Cargo.toml [INFO] crate git repo https://github.com/arlyon/holding already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-62/source/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/beta/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ea397015d09599767f376053a9a829ce10bc19d2a89ed32910c7ebd78152e50 [INFO] running `Command { std: "docker" "start" "-a" "4ea397015d09599767f376053a9a829ce10bc19d2a89ed32910c7ebd78152e50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ea397015d09599767f376053a9a829ce10bc19d2a89ed32910c7ebd78152e50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ea397015d09599767f376053a9a829ce10bc19d2a89ed32910c7ebd78152e50", kill_on_drop: false }` [INFO] [stdout] 4ea397015d09599767f376053a9a829ce10bc19d2a89ed32910c7ebd78152e50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33cd55b04494c9096d6a7c843c7e311e15187f9004c9271d7912e175517ec987 [INFO] running `Command { std: "docker" "start" "-a" "33cd55b04494c9096d6a7c843c7e311e15187f9004c9271d7912e175517ec987", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/beta/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling os_str_bytes v3.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.26.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling ordinal v0.2.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling os_type v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 (https://github.com/clap-rs/clap.git?branch=master#35db529b) [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling dice-command-parser v0.6.0 [INFO] [stderr] Compiling dnd_dice_roller v0.4.0 [INFO] [stderr] Compiling num_enum_derive v0.5.2 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling clap v3.0.0-beta.2 (https://github.com/clap-rs/clap.git?branch=master#35db529b) [INFO] [stderr] Compiling num_enum v0.5.2 [INFO] [stderr] Compiling clap_generate v3.0.0-beta.2 (https://github.com/clap-rs/clap.git?branch=master#35db529b) [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling holding_kronos v0.2.0 (/opt/rustwide/workdir/holding_kronos) [INFO] [stderr] Compiling holding_color v0.1.0 (/opt/rustwide/workdir/holding_color) [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling holding_solar v0.1.0 (/opt/rustwide/workdir/holding_solar) [INFO] [stderr] Compiling human-panic v1.0.3 [INFO] [stderr] Compiling holding v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/character.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `level` [INFO] [stdout] --> src/character.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn level(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `level_up` [INFO] [stdout] --> src/character.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn level_up(&mut self, class: Class) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `damage` [INFO] [stdout] --> src/character.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn damage(self, critical: bool) -> HealthStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `heal` [INFO] [stdout] --> src/character.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn heal(self, heal: u32) -> HealthStatus { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hp` [INFO] [stdout] --> src/character.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn hp(self) -> u32 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `damage` [INFO] [stdout] --> src/character.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn damage(self, amount: u32) -> HealthStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `heal` [INFO] [stdout] --> src/character.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn heal(self, amount: u32) -> HealthStatus { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/character.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn new(max: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `status` [INFO] [stdout] --> src/character.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn status(&self) -> HealthStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `damage` [INFO] [stdout] --> src/character.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn damage(&mut self, damage: u32, critical: bool) -> HealthStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `heal` [INFO] [stdout] --> src/character.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn heal(&mut self, health: u32) -> HealthStatus { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dead` [INFO] [stdout] --> src/character.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn dead(self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `full` [INFO] [stdout] --> src/character.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn full(self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_record` [INFO] [stdout] --> src/record.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn into_record(self, cal: &Calendar) -> Record { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/record.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new(date: DateTime<'a>, note: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.44s [INFO] running `Command { std: "docker" "inspect" "33cd55b04494c9096d6a7c843c7e311e15187f9004c9271d7912e175517ec987", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33cd55b04494c9096d6a7c843c7e311e15187f9004c9271d7912e175517ec987", kill_on_drop: false }` [INFO] [stdout] 33cd55b04494c9096d6a7c843c7e311e15187f9004c9271d7912e175517ec987 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 720b20edbc69cd9746b9ac274627557fc851e99ce521cf4428cb276561e06084 [INFO] running `Command { std: "docker" "start" "-a" "720b20edbc69cd9746b9ac274627557fc851e99ce521cf4428cb276561e06084", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/beta/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling test-case v1.2.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling clap v3.0.0-beta.2 (https://github.com/clap-rs/clap.git?branch=master#35db529b) [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling human-panic v1.0.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling holding_color v0.1.0 (/opt/rustwide/workdir/holding_color) [INFO] [stderr] Compiling dnd_dice_roller v0.4.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling holding_solar v0.1.0 (/opt/rustwide/workdir/holding_solar) [INFO] [stderr] Compiling clap_generate v3.0.0-beta.2 (https://github.com/clap-rs/clap.git?branch=master#35db529b) [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.0.0 [INFO] [stderr] Compiling holding v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/character.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `level` [INFO] [stdout] --> src/character.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn level(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `level_up` [INFO] [stdout] --> src/character.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn level_up(&mut self, class: Class) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `damage` [INFO] [stdout] --> src/character.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn damage(self, critical: bool) -> HealthStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `heal` [INFO] [stdout] --> src/character.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn heal(self, heal: u32) -> HealthStatus { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `heal` [INFO] [stdout] --> src/character.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn heal(self, amount: u32) -> HealthStatus { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/character.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn new(max: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `status` [INFO] [stdout] --> src/character.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn status(&self) -> HealthStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `damage` [INFO] [stdout] --> src/character.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn damage(&mut self, damage: u32, critical: bool) -> HealthStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `heal` [INFO] [stdout] --> src/character.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn heal(&mut self, health: u32) -> HealthStatus { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dead` [INFO] [stdout] --> src/character.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn dead(self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `full` [INFO] [stdout] --> src/character.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn full(self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_record` [INFO] [stdout] --> src/record.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn into_record(self, cal: &Calendar) -> Record { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/record.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new(date: DateTime<'a>, note: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 35.57s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/holding-cfa567a77fcdac07) [INFO] running `Command { std: "docker" "inspect" "720b20edbc69cd9746b9ac274627557fc851e99ce521cf4428cb276561e06084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "720b20edbc69cd9746b9ac274627557fc851e99ce521cf4428cb276561e06084", kill_on_drop: false }` [INFO] [stdout] 720b20edbc69cd9746b9ac274627557fc851e99ce521cf4428cb276561e06084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-62/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ac4a86deaefc3584efb4a87940936c890709ad164a08fc0abd061dc5656c447c [INFO] running `Command { std: "docker" "start" "-a" "ac4a86deaefc3584efb4a87940936c890709ad164a08fc0abd061dc5656c447c", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/beta/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/character.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `level` [INFO] [stderr] --> src/character.rs:81:12 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn level(&self) -> u8 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `level_up` [INFO] [stderr] --> src/character.rs:89:12 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn level_up(&mut self, class: Class) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `damage` [INFO] [stderr] --> src/character.rs:128:12 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn damage(self, critical: bool) -> HealthStatus { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `heal` [INFO] [stderr] --> src/character.rs:137:12 [INFO] [stderr] | [INFO] [stderr] 137 | pub fn heal(self, heal: u32) -> HealthStatus { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `heal` [INFO] [stderr] --> src/character.rs:183:12 [INFO] [stderr] | [INFO] [stderr] 183 | pub fn heal(self, amount: u32) -> HealthStatus { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/character.rs:193:12 [INFO] [stderr] | [INFO] [stderr] 193 | pub fn new(max: u32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `status` [INFO] [stderr] --> src/character.rs:200:12 [INFO] [stderr] | [INFO] [stderr] 200 | pub fn status(&self) -> HealthStatus { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `damage` [INFO] [stderr] --> src/character.rs:204:12 [INFO] [stderr] | [INFO] [stderr] 204 | pub fn damage(&mut self, damage: u32, critical: bool) -> HealthStatus { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `heal` [INFO] [stderr] --> src/character.rs:214:12 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn heal(&mut self, health: u32) -> HealthStatus { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dead` [INFO] [stderr] --> src/character.rs:224:12 [INFO] [stderr] | [INFO] [stderr] 224 | pub fn dead(self) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `full` [INFO] [stderr] --> src/character.rs:228:12 [INFO] [stderr] | [INFO] [stderr] 228 | pub fn full(self) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `into_record` [INFO] [stderr] --> src/record.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn into_record(self, cal: &Calendar) -> Record { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/record.rs:93:12 [INFO] [stderr] | [INFO] [stderr] 93 | pub fn new(date: DateTime<'a>, note: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `holding` (bin "holding" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/holding-cfa567a77fcdac07) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test character::test::do_damage::_10_2_5_7_0 ... ok [INFO] [stdout] test character::test::do_damage::_1_10_5_1_5 ... ok [INFO] [stdout] test character::test::do_damage::_3_5_5_3_0 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ac4a86deaefc3584efb4a87940936c890709ad164a08fc0abd061dc5656c447c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac4a86deaefc3584efb4a87940936c890709ad164a08fc0abd061dc5656c447c", kill_on_drop: false }` [INFO] [stdout] ac4a86deaefc3584efb4a87940936c890709ad164a08fc0abd061dc5656c447c