[INFO] fetching crate longshoreman 0.1.0... [INFO] testing longshoreman-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate longshoreman 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate longshoreman 0.1.0 [INFO] finished tweaking crates.io crate longshoreman 0.1.0 [INFO] tweaked toml for crates.io crate longshoreman 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate longshoreman 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 130 packages to latest compatible versions [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding hyper v0.13.10 (available: v1.8.0) [INFO] [stderr] Adding hyperlocal v0.7.0 (available: v0.9.1) [INFO] [stderr] Adding pin-project v0.4.30 (available: v1.1.10) [INFO] [stderr] Adding serde_urlencoded v0.6.1 (available: v0.7.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.48.0) [INFO] [stderr] Adding tokio-util v0.3.1 (available: v0.7.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-lite v0.1.12 [INFO] [stderr] Downloaded tokio-macros v0.2.6 [INFO] [stderr] Downloaded miow v0.2.2 [INFO] [stderr] Downloaded net2 v0.2.39 [INFO] [stderr] Downloaded httpdate v0.3.2 [INFO] [stderr] Downloaded mio v0.6.23 [INFO] [stderr] Downloaded hyperlocal v0.7.0 [INFO] [stderr] Downloaded tracing-futures v0.2.5 [INFO] [stderr] Downloaded socket2 v0.3.19 [INFO] [stderr] Downloaded pin-project-internal v0.4.30 [INFO] [stderr] Downloaded bytes v0.5.6 [INFO] [stderr] Downloaded pin-project v0.4.30 [INFO] [stderr] Downloaded dtoa v0.4.8 [INFO] [stderr] Downloaded tokio v0.2.25 [INFO] [stderr] Downloaded tokio-util v0.3.1 [INFO] [stderr] Downloaded h2 v0.2.7 [INFO] [stderr] Downloaded mio-uds v0.6.8 [INFO] [stderr] Downloaded hyper v0.13.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47989f85590d8335a23ca79387bb2d863f8da7eae463a365bd15580f2a9c7307 [INFO] running `Command { std: "docker" "start" "-a" "47989f85590d8335a23ca79387bb2d863f8da7eae463a365bd15580f2a9c7307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47989f85590d8335a23ca79387bb2d863f8da7eae463a365bd15580f2a9c7307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47989f85590d8335a23ca79387bb2d863f8da7eae463a365bd15580f2a9c7307", kill_on_drop: false }` [INFO] [stdout] 47989f85590d8335a23ca79387bb2d863f8da7eae463a365bd15580f2a9c7307 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83cb2e0da76548b5f70180e7214491947e233c16566b553e1734e5ba96de37b7 [INFO] running `Command { std: "docker" "start" "-a" "83cb2e0da76548b5f70180e7214491947e233c16566b553e1734e5ba96de37b7", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyperlocal v0.7.0 [INFO] [stderr] Compiling longshoreman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/docker.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(not(feature = "tls"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/docker.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | #[cfg(feature = "tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/docker.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(feature = "tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/docker.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(not(feature = "tls"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `progress`, and `id` are never read [INFO] [stdout] --> src/docker/images/pull.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct StatusMessage { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 104 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 105 | #[serde(flatten)] [INFO] [stdout] 106 | progress: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 107 | id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `progress_detail` and `progress` are never read [INFO] [stdout] --> src/docker/images/pull.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 112 | struct Progress { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 113 | progress_detail: ProgressDetail, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | progress: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Progress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current` and `total` are never read [INFO] [stdout] --> src/docker/images/pull.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 118 | struct ProgressDetail { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 119 | current: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 120 | total: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProgressDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/docker/containers/list.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 100 | command: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | ports: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 107 | size_rw: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 108 | size_root_fs: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 113 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 114 | host_config: HostConfig, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 115 | network_settings: NetworkSettings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | mounts: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ip`, `private_port`, `public_port`, and `type` are never read [INFO] [stdout] --> src/docker/containers/list.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 121 | struct Port { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 122 | #[serde(rename = "IP")] [INFO] [stdout] 123 | ip: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 124 | private_port: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 125 | public_port: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 126 | r#type: PortType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Port` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `network_mode` is never read [INFO] [stdout] --> src/docker/containers/list.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 147 | struct HostConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 148 | network_mode: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HostConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/docker/containers.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn list(&self) -> List { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn list(&self) -> List<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http_client.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | fn request(&self, endpoint: impl AsRef) -> RequestBuilder { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | fn request(&self, endpoint: impl AsRef) -> RequestBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http_client.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get(&self, endpoint: impl AsRef) -> RequestBuilder { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get(&self, endpoint: impl AsRef) -> RequestBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http_client.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn post(&self, endpoint: impl AsRef) -> RequestBuilder { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn post(&self, endpoint: impl AsRef) -> RequestBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "83cb2e0da76548b5f70180e7214491947e233c16566b553e1734e5ba96de37b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83cb2e0da76548b5f70180e7214491947e233c16566b553e1734e5ba96de37b7", kill_on_drop: false }` [INFO] [stdout] 83cb2e0da76548b5f70180e7214491947e233c16566b553e1734e5ba96de37b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cd0df98b6e2e6140a3b4ce93db8bfc8b7985c6bc206d6c0e937ada90fe924c2 [INFO] running `Command { std: "docker" "start" "-a" "0cd0df98b6e2e6140a3b4ce93db8bfc8b7985c6bc206d6c0e937ada90fe924c2", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/docker.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(not(feature = "tls"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/docker.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | #[cfg(feature = "tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/docker.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(feature = "tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/docker.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(not(feature = "tls"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `progress`, and `id` are never read [INFO] [stdout] --> src/docker/images/pull.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct StatusMessage { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 104 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 105 | #[serde(flatten)] [INFO] [stdout] 106 | progress: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 107 | id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `progress_detail` and `progress` are never read [INFO] [stdout] --> src/docker/images/pull.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 112 | struct Progress { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 113 | progress_detail: ProgressDetail, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | progress: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Progress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current` and `total` are never read [INFO] [stdout] --> src/docker/images/pull.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 118 | struct ProgressDetail { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 119 | current: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 120 | total: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProgressDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/docker/containers/list.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 100 | command: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | ports: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 107 | size_rw: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 108 | size_root_fs: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 113 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 114 | host_config: HostConfig, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 115 | network_settings: NetworkSettings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | mounts: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ip`, `private_port`, `public_port`, and `type` are never read [INFO] [stdout] --> src/docker/containers/list.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 121 | struct Port { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 122 | #[serde(rename = "IP")] [INFO] [stdout] 123 | ip: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 124 | private_port: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 125 | public_port: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 126 | r#type: PortType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Port` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `network_mode` is never read [INFO] [stdout] --> src/docker/containers/list.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 147 | struct HostConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 148 | network_mode: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HostConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/docker/containers.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn list(&self) -> List { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn list(&self) -> List<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http_client.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | fn request(&self, endpoint: impl AsRef) -> RequestBuilder { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | fn request(&self, endpoint: impl AsRef) -> RequestBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http_client.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get(&self, endpoint: impl AsRef) -> RequestBuilder { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get(&self, endpoint: impl AsRef) -> RequestBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http_client.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn post(&self, endpoint: impl AsRef) -> RequestBuilder { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn post(&self, endpoint: impl AsRef) -> RequestBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling longshoreman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/docker.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(not(feature = "tls"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/docker.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | #[cfg(feature = "tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/docker.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(feature = "tls")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tls` [INFO] [stdout] --> src/docker.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | #[cfg(not(feature = "tls"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `progress`, and `id` are never read [INFO] [stdout] --> src/docker/images/pull.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct StatusMessage { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 104 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 105 | #[serde(flatten)] [INFO] [stdout] 106 | progress: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 107 | id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `progress_detail` and `progress` are never read [INFO] [stdout] --> src/docker/images/pull.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 112 | struct Progress { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 113 | progress_detail: ProgressDetail, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 114 | progress: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Progress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current` and `total` are never read [INFO] [stdout] --> src/docker/images/pull.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 118 | struct ProgressDetail { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 119 | current: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 120 | total: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProgressDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/docker/containers/list.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 100 | command: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | ports: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 107 | size_rw: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 108 | size_root_fs: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 113 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 114 | host_config: HostConfig, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 115 | network_settings: NetworkSettings, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | mounts: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ip`, `private_port`, `public_port`, and `type` are never read [INFO] [stdout] --> src/docker/containers/list.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 121 | struct Port { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 122 | #[serde(rename = "IP")] [INFO] [stdout] 123 | ip: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 124 | private_port: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 125 | public_port: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 126 | r#type: PortType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Port` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `network_mode` is never read [INFO] [stdout] --> src/docker/containers/list.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 147 | struct HostConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 148 | network_mode: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HostConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/docker/containers.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn list(&self) -> List { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn list(&self) -> List<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http_client.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | fn request(&self, endpoint: impl AsRef) -> RequestBuilder { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | fn request(&self, endpoint: impl AsRef) -> RequestBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http_client.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get(&self, endpoint: impl AsRef) -> RequestBuilder { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get(&self, endpoint: impl AsRef) -> RequestBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http_client.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn post(&self, endpoint: impl AsRef) -> RequestBuilder { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn post(&self, endpoint: impl AsRef) -> RequestBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.66s [INFO] running `Command { std: "docker" "inspect" "0cd0df98b6e2e6140a3b4ce93db8bfc8b7985c6bc206d6c0e937ada90fe924c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cd0df98b6e2e6140a3b4ce93db8bfc8b7985c6bc206d6c0e937ada90fe924c2", kill_on_drop: false }` [INFO] [stdout] 0cd0df98b6e2e6140a3b4ce93db8bfc8b7985c6bc206d6c0e937ada90fe924c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 566e7a1ead60a5cdc11ca6d0b5f56ed1115b279c2170dd4c5a803811ab712c42 [INFO] running `Command { std: "docker" "start" "-a" "566e7a1ead60a5cdc11ca6d0b5f56ed1115b279c2170dd4c5a803811ab712c42", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `tls` [INFO] [stderr] --> src/docker.rs:94:15 [INFO] [stderr] | [INFO] [stderr] 94 | #[cfg(not(feature = "tls"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `tls` [INFO] [stderr] --> src/docker.rs:100:11 [INFO] [stderr] | [INFO] [stderr] 100 | #[cfg(feature = "tls")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `tls` [INFO] [stderr] --> src/docker.rs:70:19 [INFO] [stderr] | [INFO] [stderr] 70 | #[cfg(feature = "tls")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `tls` [INFO] [stderr] --> src/docker.rs:81:23 [INFO] [stderr] | [INFO] [stderr] 81 | #[cfg(not(feature = "tls"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `tls` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: fields `status`, `progress`, and `id` are never read [INFO] [stderr] --> src/docker/images/pull.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 103 | pub struct StatusMessage { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 104 | status: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 105 | #[serde(flatten)] [INFO] [stderr] 106 | progress: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 107 | id: Option, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `StatusMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `progress_detail` and `progress` are never read [INFO] [stderr] --> src/docker/images/pull.rs:113:5 [INFO] [stderr] | [INFO] [stderr] 112 | struct Progress { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 113 | progress_detail: ProgressDetail, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 114 | progress: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Progress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `current` and `total` are never read [INFO] [stderr] --> src/docker/images/pull.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 118 | struct ProgressDetail { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 119 | current: u32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 120 | total: u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProgressDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/docker/containers/list.rs:100:5 [INFO] [stderr] | [INFO] [stderr] 86 | pub struct Response { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 100 | command: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 106 | ports: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 107 | size_rw: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 108 | size_root_fs: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | state: State, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 113 | status: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 114 | host_config: HostConfig, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 115 | network_settings: NetworkSettings, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 116 | mounts: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `ip`, `private_port`, `public_port`, and `type` are never read [INFO] [stderr] --> src/docker/containers/list.rs:123:5 [INFO] [stderr] | [INFO] [stderr] 121 | struct Port { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 122 | #[serde(rename = "IP")] [INFO] [stderr] 123 | ip: Option, [INFO] [stderr] | ^^ [INFO] [stderr] 124 | private_port: u16, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 125 | public_port: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 126 | r#type: PortType, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Port` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `network_mode` is never read [INFO] [stderr] --> src/docker/containers/list.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 147 | struct HostConfig { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 148 | network_mode: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HostConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/docker/containers.rs:31:17 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn list(&self) -> List { [INFO] [stderr] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 31 | pub fn list(&self) -> List<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/http_client.rs:32:16 [INFO] [stderr] | [INFO] [stderr] 32 | fn request(&self, endpoint: impl AsRef) -> RequestBuilder { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 32 | fn request(&self, endpoint: impl AsRef) -> RequestBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/http_client.rs:36:16 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn get(&self, endpoint: impl AsRef) -> RequestBuilder { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 36 | pub fn get(&self, endpoint: impl AsRef) -> RequestBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/http_client.rs:40:17 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn post(&self, endpoint: impl AsRef) -> RequestBuilder { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 40 | pub fn post(&self, endpoint: impl AsRef) -> RequestBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `longshoreman` (lib) generated 14 warnings (run `cargo fix --lib -p longshoreman` to apply 4 suggestions) [INFO] [stderr] warning: `longshoreman` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/longshoreman-93db5b39ea2c87d1) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test docker::containers::list::tests::deserialise_response ... ok [INFO] [stdout] test docker::containers::create::tests::deserialize_response ... ok [INFO] [stdout] test docker::images::load::tests::complete_deserialisation ... ok [INFO] [stdout] test docker::images::load::tests::complete_image ... ok [INFO] [stdout] test docker::images::pull::tests::status_message::deserialise::extracting ... ok [INFO] [stdout] test docker::images::pull::tests::status_message::deserialise::pulling_fs_layer ... ok [INFO] [stdout] test docker::images::pull::tests::status_message::deserialise::pulling_from_repo ... ok [INFO] [stdout] test docker::images::pull::tests::status_message::deserialise::pulling_complete ... ok [INFO] [stdout] test docker::images::pull::tests::status_message::deserialise::warning ... ok [INFO] [stdout] test docker::images::load::tests::progress_deserialisation ... ok [INFO] [stdout] test docker::images::pull::tests::status_message::deserialise::dowloading ... ok [INFO] [stdout] test docker::containers::inspect::tests::deserialise_response ... ok [INFO] [stdout] test docker::images::load::tests::status_deserialisation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/container-create-inspect-remove.rs (/opt/rustwide/target/debug/deps/container_create_inspect_remove-9a076dde4376b93b) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test stdout ---- [INFO] [stdout] Error: Hyper(hyper::Error(Connect, Os { code: 2, kind: NotFound, message: "No such file or directory" })) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test container-create-inspect-remove` [INFO] running `Command { std: "docker" "inspect" "566e7a1ead60a5cdc11ca6d0b5f56ed1115b279c2170dd4c5a803811ab712c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "566e7a1ead60a5cdc11ca6d0b5f56ed1115b279c2170dd4c5a803811ab712c42", kill_on_drop: false }` [INFO] [stdout] 566e7a1ead60a5cdc11ca6d0b5f56ed1115b279c2170dd4c5a803811ab712c42