[INFO] cloning repository https://github.com/eatenpancreas/spaceship [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eatenpancreas/spaceship" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Featenpancreas%2Fspaceship", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Featenpancreas%2Fspaceship'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb51ff5d2efd2eba3286d714025743d743e45154 [INFO] testing eatenpancreas/spaceship 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%2Featenpancreas%2Fspaceship" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/eatenpancreas/spaceship [INFO] finished tweaking git repo https://github.com/eatenpancreas/spaceship [INFO] tweaked toml for git repo https://github.com/eatenpancreas/spaceship written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eatenpancreas/spaceship 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/eatenpancreas/spaceship 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: `edition` is set on library `spaceship` which is deprecated [INFO] [stderr] warning: unused manifest key: lib.version [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-deque v0.8.3 [INFO] [stderr] Downloaded half v2.3.1 [INFO] [stderr] Downloaded plotters-svg v0.3.5 [INFO] [stderr] Downloaded plotters-backend v0.3.5 [INFO] [stderr] Downloaded anstyle v1.0.4 [INFO] [stderr] Downloaded anes v0.1.6 [INFO] [stderr] Downloaded half v1.8.2 [INFO] [stderr] Downloaded criterion v0.5.1 [INFO] [stderr] Downloaded plotters v0.3.5 [INFO] [stderr] Downloaded is-terminal v0.4.9 [INFO] [stderr] Downloaded ciborium-io v0.2.1 [INFO] [stderr] Downloaded ciborium-ll v0.2.1 [INFO] [stderr] Downloaded ciborium v0.2.1 [INFO] [stderr] Downloaded cast v0.3.0 [INFO] [stderr] Downloaded rustix v0.38.25 [INFO] [stderr] Downloaded criterion-plot v0.5.0 [INFO] [stderr] Downloaded clap_lex v0.6.0 [INFO] [stderr] Downloaded clap v4.4.10 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.15 [INFO] [stderr] Downloaded rayon-core v1.12.0 [INFO] [stderr] Downloaded rayon v1.8.0 [INFO] [stderr] Downloaded clap_builder v4.4.9 [INFO] [stderr] Downloaded linux-raw-sys v0.4.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 31a74528a731955df0f404cd9362d0e9a587d34acef683b93ba0cfc5165aa4ce [INFO] running `Command { std: "docker" "start" "-a" "31a74528a731955df0f404cd9362d0e9a587d34acef683b93ba0cfc5165aa4ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31a74528a731955df0f404cd9362d0e9a587d34acef683b93ba0cfc5165aa4ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31a74528a731955df0f404cd9362d0e9a587d34acef683b93ba0cfc5165aa4ce", kill_on_drop: false }` [INFO] [stdout] 31a74528a731955df0f404cd9362d0e9a587d34acef683b93ba0cfc5165aa4ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f0bb63b6ef572b767d2cabfbb837a13f490baa22f290d74726e8f3a8300b2a23 [INFO] running `Command { std: "docker" "start" "-a" "f0bb63b6ef572b767d2cabfbb837a13f490baa22f290d74726e8f3a8300b2a23", kill_on_drop: false }` [INFO] [stderr] warning: `edition` is set on library `spaceship` which is deprecated [INFO] [stderr] warning: unused manifest key: lib.version [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling half v2.3.1 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling uuid v1.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling spaceship-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PartType` [INFO] [stdout] --> lib/spaceship/lib.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::part::{CreatePartType, Part, PartType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `id` are never read [INFO] [stdout] --> lib/spaceship/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Spaceship { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 27 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | parts: Vec, [INFO] [stdout] 29 | id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spaceship` 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: field `iteration` is never read [INFO] [stdout] --> lib/spaceship/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct SpaceshipBuilder<'s> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | iteration: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpaceshipBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `protection` is never read [INFO] [stdout] --> lib/spaceship/part.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Hull { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 87 | protection: f32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hull` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capacity` is never read [INFO] [stdout] --> lib/spaceship/part.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Cargo { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 91 | capacity: u16 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cargo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capacity` is never read [INFO] [stdout] --> lib/spaceship/part.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct LivingQuarters { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 97 | capacity: u16 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LivingQuarters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib/spaceship/lib.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(ship: &'s mut Spaceship) -> SpaceshipBuilder { [INFO] [stdout] | ^^ ---------------- the lifetime gets resolved as `'s` [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 consistently use `'s` [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(ship: &'s mut Spaceship) -> SpaceshipBuilder<'s> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PartType` and `Part` [INFO] [stdout] --> src/main.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use spaceship::part::{CreatePartType, Part, PartType}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.78s [INFO] running `Command { std: "docker" "inspect" "f0bb63b6ef572b767d2cabfbb837a13f490baa22f290d74726e8f3a8300b2a23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0bb63b6ef572b767d2cabfbb837a13f490baa22f290d74726e8f3a8300b2a23", kill_on_drop: false }` [INFO] [stdout] f0bb63b6ef572b767d2cabfbb837a13f490baa22f290d74726e8f3a8300b2a23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 1107d3bdfff097c5e9e22836b80bc09b96f8c520459eb9a3c23f574aa74ca63c [INFO] running `Command { std: "docker" "start" "-a" "1107d3bdfff097c5e9e22836b80bc09b96f8c520459eb9a3c23f574aa74ca63c", kill_on_drop: false }` [INFO] [stderr] warning: `edition` is set on library `spaceship` which is deprecated [INFO] [stderr] warning: unused manifest key: lib.version [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ciborium-io v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling ciborium-ll v0.2.1 [INFO] [stderr] Compiling clap_builder v4.4.9 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stdout] warning: unused import: `PartType` [INFO] [stdout] --> lib/spaceship/lib.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::part::{CreatePartType, Part, PartType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `id` are never read [INFO] [stdout] --> lib/spaceship/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Spaceship { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 27 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | parts: Vec, [INFO] [stdout] 29 | id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spaceship` 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: field `iteration` is never read [INFO] [stdout] --> lib/spaceship/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct SpaceshipBuilder<'s> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | iteration: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpaceshipBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `protection` is never read [INFO] [stdout] --> lib/spaceship/part.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Hull { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 87 | protection: f32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hull` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capacity` is never read [INFO] [stdout] --> lib/spaceship/part.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Cargo { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 91 | capacity: u16 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cargo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capacity` is never read [INFO] [stdout] --> lib/spaceship/part.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct LivingQuarters { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 97 | capacity: u16 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LivingQuarters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib/spaceship/lib.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(ship: &'s mut Spaceship) -> SpaceshipBuilder { [INFO] [stdout] | ^^ ---------------- the lifetime gets resolved as `'s` [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 consistently use `'s` [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(ship: &'s mut Spaceship) -> SpaceshipBuilder<'s> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling clap v4.4.10 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling ciborium v0.2.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling spaceship-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PartType` [INFO] [stdout] --> lib/spaceship/lib.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::part::{CreatePartType, Part, PartType}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PartType` and `Part` [INFO] [stdout] --> src/main.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use spaceship::part::{CreatePartType, Part, PartType}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `id` are never read [INFO] [stdout] --> lib/spaceship/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Spaceship { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 27 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | parts: Vec, [INFO] [stdout] 29 | id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spaceship` 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: field `iteration` is never read [INFO] [stdout] --> lib/spaceship/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct SpaceshipBuilder<'s> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | iteration: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SpaceshipBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `protection` is never read [INFO] [stdout] --> lib/spaceship/part.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Hull { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 87 | protection: f32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Hull` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capacity` is never read [INFO] [stdout] --> lib/spaceship/part.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct Cargo { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 91 | capacity: u16 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cargo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capacity` is never read [INFO] [stdout] --> lib/spaceship/part.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct LivingQuarters { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 97 | capacity: u16 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LivingQuarters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib/spaceship/lib.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(ship: &'s mut Spaceship) -> SpaceshipBuilder { [INFO] [stdout] | ^^ ---------------- the lifetime gets resolved as `'s` [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 consistently use `'s` [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(ship: &'s mut Spaceship) -> SpaceshipBuilder<'s> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 39.10s [INFO] running `Command { std: "docker" "inspect" "1107d3bdfff097c5e9e22836b80bc09b96f8c520459eb9a3c23f574aa74ca63c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1107d3bdfff097c5e9e22836b80bc09b96f8c520459eb9a3c23f574aa74ca63c", kill_on_drop: false }` [INFO] [stdout] 1107d3bdfff097c5e9e22836b80bc09b96f8c520459eb9a3c23f574aa74ca63c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 42216bc855f7f05c3da8194f1b4030534eb65c1992dcde4d8b53944a0cc99ef2 [INFO] running `Command { std: "docker" "start" "-a" "42216bc855f7f05c3da8194f1b4030534eb65c1992dcde4d8b53944a0cc99ef2", kill_on_drop: false }` [INFO] [stderr] warning: `edition` is set on library `spaceship` which is deprecated [INFO] [stderr] warning: unused manifest key: lib.version [INFO] [stderr] warning: unused import: `PartType` [INFO] [stderr] --> lib/spaceship/lib.rs:4:41 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::part::{CreatePartType, Part, PartType}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `id` are never read [INFO] [stderr] --> lib/spaceship/lib.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct Spaceship { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 27 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 28 | parts: Vec, [INFO] [stderr] 29 | id: Uuid, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Spaceship` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `iteration` is never read [INFO] [stderr] --> lib/spaceship/lib.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct SpaceshipBuilder<'s> { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 55 | iteration: u16, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SpaceshipBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `protection` is never read [INFO] [stderr] --> lib/spaceship/part.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 86 | pub struct Hull { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 87 | protection: f32 [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Hull` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `capacity` is never read [INFO] [stderr] --> lib/spaceship/part.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 90 | pub struct Cargo { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 91 | capacity: u16 [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Cargo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `capacity` is never read [INFO] [stderr] --> lib/spaceship/part.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 96 | pub struct LivingQuarters { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 97 | capacity: u16 [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LivingQuarters` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> lib/spaceship/lib.rs:62:23 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn new(ship: &'s mut Spaceship) -> SpaceshipBuilder { [INFO] [stderr] | ^^ ---------------- the lifetime gets resolved as `'s` [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 consistently use `'s` [INFO] [stderr] | [INFO] [stderr] 62 | pub fn new(ship: &'s mut Spaceship) -> SpaceshipBuilder<'s> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `spaceship-game` (lib) generated 7 warnings (run `cargo fix --lib -p spaceship-game` to apply 2 suggestions) [INFO] [stderr] warning: unused imports: `PartType` and `Part` [INFO] [stderr] --> src/main.rs:1:39 [INFO] [stderr] | [INFO] [stderr] 1 | use spaceship::part::{CreatePartType, Part, PartType}; [INFO] [stderr] | ^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `spaceship-game` (bin "spaceship-game" test) generated 1 warning (run `cargo fix --bin "spaceship-game" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `spaceship-game` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests lib/spaceship/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/spaceship-d3c1e28b4a5a3f4b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/spaceship_game-015befa66439f970) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "42216bc855f7f05c3da8194f1b4030534eb65c1992dcde4d8b53944a0cc99ef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42216bc855f7f05c3da8194f1b4030534eb65c1992dcde4d8b53944a0cc99ef2", kill_on_drop: false }` [INFO] [stdout] 42216bc855f7f05c3da8194f1b4030534eb65c1992dcde4d8b53944a0cc99ef2