[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 try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farlyon%2Fholding" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/arlyon/holding on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/arlyon/holding 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/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/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /workspace/builds/worker-2-tc1/source/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rspotify` dependency) [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/clap-rs/clap.git` [INFO] [stderr] Updating git repository `https://github.com/ramsayleung/rspotify.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v0.8.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.26 [INFO] [stderr] Downloaded thiserror v1.0.26 [INFO] [stderr] Downloaded tinyvec v1.3.1 [INFO] [stderr] Downloaded ordinal v0.2.3 [INFO] [stderr] Downloaded os_type v2.3.0 [INFO] [stderr] Downloaded unicode-normalization v0.1.19 [INFO] [stderr] Downloaded rand_pcg v0.2.1 [INFO] [stderr] Downloaded textwrap v0.14.2 [INFO] [stderr] Downloaded os_str_bytes v3.1.0 [INFO] [stderr] Downloaded anyhow v1.0.42 [INFO] [stderr] Downloaded time v0.2.27 [INFO] [stderr] Downloaded bumpalo v3.7.0 [INFO] [stderr] Downloaded webpki-roots v0.21.1 [INFO] [stderr] Downloaded object v0.26.0 [INFO] [stderr] Downloaded futures-util v0.3.16 [INFO] [stderr] Downloaded hashbrown v0.11.2 [INFO] [stderr] Downloaded proptest v1.0.0 [INFO] [stderr] Downloaded backtrace v0.3.61 [INFO] [stderr] Downloaded ureq v2.1.1 [INFO] [stderr] Downloaded unicode-segmentation v1.8.0 [INFO] [stderr] Downloaded itertools v0.10.1 [INFO] [stderr] Downloaded libc v0.2.98 [INFO] [stderr] Downloaded addr2line v0.16.0 [INFO] [stderr] Downloaded quick-error v2.0.1 [INFO] [stderr] Downloaded wait-timeout v0.2.0 [INFO] [stderr] Downloaded gimli v0.25.0 [INFO] [stderr] Downloaded tempfile v3.2.0 [INFO] [stderr] Downloaded futures-core v0.3.16 [INFO] [stderr] Downloaded pin-project-lite v0.2.7 [INFO] [stderr] Downloaded chunked_transfer v1.4.0 [INFO] [stderr] Downloaded indexmap v1.7.0 [INFO] [stderr] Downloaded syn v1.0.74 [INFO] [stderr] Downloaded derivative v2.2.0 [INFO] [stderr] Downloaded num_enum_derive v0.5.2 [INFO] [stderr] Downloaded miniz_oxide v0.4.4 [INFO] [stderr] Downloaded bit-vec v0.6.3 [INFO] [stderr] Downloaded rand_xorshift v0.3.0 [INFO] [stderr] Downloaded futures-macro v0.3.16 [INFO] [stderr] Downloaded maybe-async v0.2.6 [INFO] [stderr] Downloaded cc v1.0.69 [INFO] [stderr] Downloaded once_cell v1.8.0 [INFO] [stderr] Downloaded dtoa v0.4.8 [INFO] [stderr] Downloaded colored v2.0.0 [INFO] [stderr] Downloaded num_enum v0.5.2 [INFO] [stderr] Downloaded human-panic v1.0.3 [INFO] [stderr] Downloaded bit-set v0.5.2 [INFO] [stderr] Downloaded redox_syscall v0.2.9 [INFO] [stderr] Downloaded futures-task v0.3.16 [INFO] [stderr] Downloaded publicsuffix v1.5.6 [INFO] [stderr] Downloaded const_fn v0.4.8 [INFO] [stderr] Downloaded standback v0.2.17 [INFO] [stderr] Downloaded time-macros-impl v0.1.2 [INFO] [stderr] Downloaded cookie_store v0.13.3 [INFO] [stderr] Downloaded serde_yaml v0.8.17 [INFO] [stderr] Downloaded strum_macros v0.21.1 [INFO] [stderr] Downloaded dnd_dice_roller v0.4.0 [INFO] [stderr] Downloaded test-case v1.2.0 [INFO] [stderr] Downloaded proc-macro-crate v1.0.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.20 [INFO] [stderr] Downloaded rusty-fork v0.3.0 [INFO] [stderr] Downloaded cookie v0.15.1 [INFO] [stderr] Downloaded rustc-serialize v0.3.24 [INFO] [stderr] Downloaded strum v0.21.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.28 [INFO] [stderr] Downloaded dice-command-parser v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91102aafb9d496479a9d84d5679e54d46a4125c9c05d9e82daf241440c208458 [INFO] running `Command { std: "docker" "start" "-a" "91102aafb9d496479a9d84d5679e54d46a4125c9c05d9e82daf241440c208458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91102aafb9d496479a9d84d5679e54d46a4125c9c05d9e82daf241440c208458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91102aafb9d496479a9d84d5679e54d46a4125c9c05d9e82daf241440c208458", kill_on_drop: false }` [INFO] [stdout] 91102aafb9d496479a9d84d5679e54d46a4125c9c05d9e82daf241440c208458 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 63d465b6450a1fa23ece6987af7a3bedab69598aae0b634d7e47c8c5951025e6 [INFO] running `Command { std: "docker" "start" "-a" "63d465b6450a1fa23ece6987af7a3bedab69598aae0b634d7e47c8c5951025e6", 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/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rspotify` dependency) [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 autocfg v1.0.1 [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 bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling textwrap v0.14.2 [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 num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling object v0.26.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling os_str_bytes v3.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_core v0.5.1 [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 percent-encoding v2.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling os_type v2.3.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling ordinal v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling toml v0.5.8 [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 strum v0.21.0 [INFO] [stderr] Compiling dnd_dice_roller v0.4.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_derive v0.5.2 [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] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> holding_kronos/src/datetime/date.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn into_date(self, cal: &Calendar) -> Date { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 55 | pub fn into_date(self, cal: &Calendar) -> Date<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> holding_kronos/src/datetime/datetime.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn into_datetime(self, cal: &Calendar) -> DateTime { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 32 | pub fn into_datetime(self, cal: &Calendar) -> DateTime<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> holding_kronos/src/datetime/time.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn into_time(self, cal: &Calendar) -> Time { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn into_time(self, cal: &Calendar) -> Time<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling holding_solar v0.1.0 (/opt/rustwide/workdir/holding_solar) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> holding_solar/src/planet.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let mut child = self.get_planet_mut(child_id).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling human-panic v1.0.3 [INFO] [stderr] Compiling holding v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | setup_panic!(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `level`, and `level_up` are never used [INFO] [stdout] --> src/character.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl Character { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 65 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn level(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn level_up(&mut self, class: Class) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `damage` and `heal` are never used [INFO] [stdout] --> src/character.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl DeathSaves { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 128 | pub fn damage(self, critical: bool) -> HealthStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn heal(self, heal: u32) -> HealthStatus { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hp`, `damage`, and `heal` are never used [INFO] [stdout] --> src/character.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl Hitpoints { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 161 | pub fn hp(self) -> u32 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn damage(self, amount: u32) -> HealthStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn heal(self, amount: u32) -> HealthStatus { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `status`, `damage`, `heal`, `dead`, and `full` are never used [INFO] [stdout] --> src/character.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 192 | impl Health { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 193 | pub fn new(max: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn status(&self) -> HealthStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn damage(&mut self, damage: u32, critical: bool) -> HealthStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn heal(&mut self, health: u32) -> HealthStatus { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn dead(self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn full(self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_character` and `create_character` are never used [INFO] [stdout] --> src/character.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 267 | pub trait CharacterStore { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 268 | fn get_character(&self, id: CharacterId) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | fn create_character(&self) -> Character; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_location` and `list_locations` are never used [INFO] [stdout] --> src/character.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 292 | pub trait LocationStore { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 293 | fn get_location(&self, id: LocationId) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 294 | fn list_locations(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_record` is never used [INFO] [stdout] --> src/record.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RawRecord { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 21 | pub fn into_record(self, cal: &Calendar) -> Record { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/record.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl<'a> Record<'a> { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 93 | pub fn new(date: DateTime<'a>, note: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/record.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn into_record(self, cal: &Calendar) -> Record { [INFO] [stdout] | ^^^^^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn into_record(self, cal: &Calendar) -> Record<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, num_enum_derive v0.5.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "63d465b6450a1fa23ece6987af7a3bedab69598aae0b634d7e47c8c5951025e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63d465b6450a1fa23ece6987af7a3bedab69598aae0b634d7e47c8c5951025e6", kill_on_drop: false }` [INFO] [stdout] 63d465b6450a1fa23ece6987af7a3bedab69598aae0b634d7e47c8c5951025e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b6fdb29acd182efc8c3b027514cfba004786b5f137a3985040637047e59aa6c2 [INFO] running `Command { std: "docker" "start" "-a" "b6fdb29acd182efc8c3b027514cfba004786b5f137a3985040637047e59aa6c2", 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/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rspotify` dependency) [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling test-case v1.2.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> holding_kronos/src/datetime/date.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn into_date(self, cal: &Calendar) -> Date { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 55 | pub fn into_date(self, cal: &Calendar) -> Date<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> holding_kronos/src/datetime/datetime.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn into_datetime(self, cal: &Calendar) -> DateTime { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 32 | pub fn into_datetime(self, cal: &Calendar) -> DateTime<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> holding_kronos/src/datetime/time.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn into_time(self, cal: &Calendar) -> Time { [INFO] [stdout] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn into_time(self, cal: &Calendar) -> Time<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling backtrace v0.3.61 [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_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling holding_color v0.1.0 (/opt/rustwide/workdir/holding_color) [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling holding_solar v0.1.0 (/opt/rustwide/workdir/holding_solar) [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling human-panic v1.0.3 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> holding_solar/src/planet.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let mut child = self.get_planet_mut(child_id).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling dnd_dice_roller v0.4.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.0.0 [INFO] [stderr] Compiling clap_generate v3.0.0-beta.2 (https://github.com/clap-rs/clap.git?branch=master#35db529b) [INFO] [stderr] Compiling holding v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | setup_panic!(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `level`, and `level_up` are never used [INFO] [stdout] --> src/character.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl Character { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 65 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn level(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn level_up(&mut self, class: Class) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `damage` and `heal` are never used [INFO] [stdout] --> src/character.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl DeathSaves { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 128 | pub fn damage(self, critical: bool) -> HealthStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn heal(self, heal: u32) -> HealthStatus { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `heal` is never used [INFO] [stdout] --> src/character.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl Hitpoints { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn heal(self, amount: u32) -> HealthStatus { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `status`, `damage`, `heal`, `dead`, and `full` are never used [INFO] [stdout] --> src/character.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 192 | impl Health { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 193 | pub fn new(max: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn status(&self) -> HealthStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn damage(&mut self, damage: u32, critical: bool) -> HealthStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn heal(&mut self, health: u32) -> HealthStatus { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn dead(self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn full(self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_character` and `create_character` are never used [INFO] [stdout] --> src/character.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 267 | pub trait CharacterStore { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 268 | fn get_character(&self, id: CharacterId) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | fn create_character(&self) -> Character; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_location` and `list_locations` are never used [INFO] [stdout] --> src/character.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 292 | pub trait LocationStore { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 293 | fn get_location(&self, id: LocationId) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 294 | fn list_locations(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_record` is never used [INFO] [stdout] --> src/record.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RawRecord { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 21 | pub fn into_record(self, cal: &Calendar) -> Record { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/record.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl<'a> Record<'a> { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 93 | pub fn new(date: DateTime<'a>, note: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/record.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn into_record(self, cal: &Calendar) -> Record { [INFO] [stdout] | ^^^^^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn into_record(self, cal: &Calendar) -> Record<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, num_enum_derive v0.5.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b6fdb29acd182efc8c3b027514cfba004786b5f137a3985040637047e59aa6c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6fdb29acd182efc8c3b027514cfba004786b5f137a3985040637047e59aa6c2", kill_on_drop: false }` [INFO] [stdout] b6fdb29acd182efc8c3b027514cfba004786b5f137a3985040637047e59aa6c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 08ed7d9e262ea5bda32df09c0e3ef1e22b9430dd7ccfecb320b28f0761a72821 [INFO] running `Command { std: "docker" "start" "-a" "08ed7d9e262ea5bda32df09c0e3ef1e22b9430dd7ccfecb320b28f0761a72821", 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/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rspotify` dependency) [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> holding_kronos/src/datetime/date.rs:55:33 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn into_date(self, cal: &Calendar) -> Date { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 55 | pub fn into_date(self, cal: &Calendar) -> Date<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> holding_kronos/src/datetime/datetime.rs:32:37 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn into_datetime(self, cal: &Calendar) -> DateTime { [INFO] [stderr] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 32 | pub fn into_datetime(self, cal: &Calendar) -> DateTime<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> holding_kronos/src/datetime/time.rs:33:33 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn into_time(self, cal: &Calendar) -> Time { [INFO] [stderr] | ^^^^^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 33 | pub fn into_time(self, cal: &Calendar) -> Time<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `holding_kronos` (lib) generated 3 warnings (run `cargo fix --lib -p holding_kronos` to apply 3 suggestions) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> holding_solar/src/planet.rs:131:13 [INFO] [stderr] | [INFO] [stderr] 131 | let mut child = self.get_planet_mut(child_id).unwrap(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `holding_solar` (lib) generated 1 warning (run `cargo fix --lib -p holding_solar` to apply 1 suggestion) [INFO] [stderr] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stderr] --> src/main.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | setup_panic!(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `setup_panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `level`, and `level_up` are never used [INFO] [stderr] --> src/character.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 64 | impl Character { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 65 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 81 | pub fn level(&self) -> u8 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 89 | pub fn level_up(&mut self, class: Class) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `damage` and `heal` are never used [INFO] [stderr] --> src/character.rs:128:12 [INFO] [stderr] | [INFO] [stderr] 127 | impl DeathSaves { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] 128 | pub fn damage(self, critical: bool) -> HealthStatus { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 137 | pub fn heal(self, heal: u32) -> HealthStatus { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `heal` is never used [INFO] [stderr] --> src/character.rs:183:12 [INFO] [stderr] | [INFO] [stderr] 160 | impl Hitpoints { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 183 | pub fn heal(self, amount: u32) -> HealthStatus { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `status`, `damage`, `heal`, `dead`, and `full` are never used [INFO] [stderr] --> src/character.rs:193:12 [INFO] [stderr] | [INFO] [stderr] 192 | impl Health { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 193 | pub fn new(max: u32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 200 | pub fn status(&self) -> HealthStatus { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 204 | pub fn damage(&mut self, damage: u32, critical: bool) -> HealthStatus { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 214 | pub fn heal(&mut self, health: u32) -> HealthStatus { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 224 | pub fn dead(self) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 228 | pub fn full(self) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_character` and `create_character` are never used [INFO] [stderr] --> src/character.rs:268:8 [INFO] [stderr] | [INFO] [stderr] 267 | pub trait CharacterStore { [INFO] [stderr] | -------------- methods in this trait [INFO] [stderr] 268 | fn get_character(&self, id: CharacterId) -> Option; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 271 | fn create_character(&self) -> Character; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_location` and `list_locations` are never used [INFO] [stderr] --> src/character.rs:293:8 [INFO] [stderr] | [INFO] [stderr] 292 | pub trait LocationStore { [INFO] [stderr] | ------------- methods in this trait [INFO] [stderr] 293 | fn get_location(&self, id: LocationId) -> Option; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 294 | fn list_locations(&self) -> Vec; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `into_record` is never used [INFO] [stderr] --> src/record.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl RawRecord { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] 21 | pub fn into_record(self, cal: &Calendar) -> Record { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/record.rs:93:12 [INFO] [stderr] | [INFO] [stderr] 92 | impl<'a> Record<'a> { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 93 | pub fn new(date: DateTime<'a>, note: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/record.rs:21:35 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn into_record(self, cal: &Calendar) -> Record { [INFO] [stderr] | ^^^^^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 21 | pub fn into_record(self, cal: &Calendar) -> Record<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `holding` (bin "holding" test) generated 10 warnings (run `cargo fix --bin "holding" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, num_enum_derive v0.5.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/holding-1bd5b4e8490102fa) [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.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "08ed7d9e262ea5bda32df09c0e3ef1e22b9430dd7ccfecb320b28f0761a72821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08ed7d9e262ea5bda32df09c0e3ef1e22b9430dd7ccfecb320b28f0761a72821", kill_on_drop: false }` [INFO] [stdout] 08ed7d9e262ea5bda32df09c0e3ef1e22b9430dd7ccfecb320b28f0761a72821