[INFO] fetching crate longshoreman 0.1.0... [INFO] testing longshoreman-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [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 cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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.7.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.16) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.47.1) [INFO] [stderr] Adding tokio-util v0.3.1 (available: v0.7.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eac1fa677901ba5af43213087ccb83bad46bd096ba180dfcd834c7a0870d443d [INFO] running `Command { std: "docker" "start" "-a" "eac1fa677901ba5af43213087ccb83bad46bd096ba180dfcd834c7a0870d443d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eac1fa677901ba5af43213087ccb83bad46bd096ba180dfcd834c7a0870d443d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eac1fa677901ba5af43213087ccb83bad46bd096ba180dfcd834c7a0870d443d", kill_on_drop: false }` [INFO] [stdout] eac1fa677901ba5af43213087ccb83bad46bd096ba180dfcd834c7a0870d443d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2036c4885ceea9a59508c1685b0c0284527c12ae1b4d17af4192e150700cb782 [INFO] running `Command { std: "docker" "start" "-a" "2036c4885ceea9a59508c1685b0c0284527c12ae1b4d17af4192e150700cb782", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [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 17.89s [INFO] running `Command { std: "docker" "inspect" "2036c4885ceea9a59508c1685b0c0284527c12ae1b4d17af4192e150700cb782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2036c4885ceea9a59508c1685b0c0284527c12ae1b4d17af4192e150700cb782", kill_on_drop: false }` [INFO] [stdout] 2036c4885ceea9a59508c1685b0c0284527c12ae1b4d17af4192e150700cb782 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5da0509856bda428d79ea84024df9bb043c6de199116dd87cc1c3ac0272e489f [INFO] running `Command { std: "docker" "start" "-a" "5da0509856bda428d79ea84024df9bb043c6de199116dd87cc1c3ac0272e489f", 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] [stderr] Compiling longshoreman v0.1.0 (/opt/rustwide/workdir) [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] [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 2.08s [INFO] running `Command { std: "docker" "inspect" "5da0509856bda428d79ea84024df9bb043c6de199116dd87cc1c3ac0272e489f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5da0509856bda428d79ea84024df9bb043c6de199116dd87cc1c3ac0272e489f", kill_on_drop: false }` [INFO] [stdout] 5da0509856bda428d79ea84024df9bb043c6de199116dd87cc1c3ac0272e489f [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 31ba97372125d056772219067f8f7935e52c27f3f78b492d466848f589b03971 [INFO] running `Command { std: "docker" "start" "-a" "31ba97372125d056772219067f8f7935e52c27f3f78b492d466848f589b03971", 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.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/longshoreman-1d9a77a64d3641ff) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test docker::containers::inspect::tests::deserialise_response ... ok [INFO] [stdout] test docker::images::load::tests::status_deserialisation ... ok [INFO] [stdout] test docker::images::load::tests::progress_deserialisation ... ok [INFO] [stdout] test docker::images::pull::tests::status_message::deserialise::pulling_complete ... ok [INFO] [stdout] test docker::containers::list::tests::deserialise_response ... 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::warning ... ok [INFO] [stdout] test docker::images::load::tests::complete_image ... ok [INFO] [stdout] test docker::images::pull::tests::status_message::deserialise::dowloading ... ok [INFO] [stdout] test docker::images::pull::tests::status_message::deserialise::extracting ... ok [INFO] [stdout] test docker::images::load::tests::complete_deserialisation ... ok [INFO] [stdout] test docker::containers::create::tests::deserialize_response ... ok [INFO] [stdout] test docker::images::pull::tests::status_message::deserialise::pulling_from_repo ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/container-create-inspect-remove.rs (/opt/rustwide/target/debug/deps/container_create_inspect_remove-dd9e0a7e817cb717) [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" "31ba97372125d056772219067f8f7935e52c27f3f78b492d466848f589b03971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31ba97372125d056772219067f8f7935e52c27f3f78b492d466848f589b03971", kill_on_drop: false }` [INFO] [stdout] 31ba97372125d056772219067f8f7935e52c27f3f78b492d466848f589b03971