[INFO] cloning repository https://github.com/Cronnay/hoist [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cronnay/hoist" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCronnay%2Fhoist", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCronnay%2Fhoist'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 515be83337fe227610921fd728f881dc41f3a3f2 [INFO] testing Cronnay/hoist against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCronnay%2Fhoist" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cronnay/hoist on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Cronnay/hoist [INFO] finished tweaking git repo https://github.com/Cronnay/hoist [INFO] tweaked toml for git repo https://github.com/Cronnay/hoist written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/Cronnay/hoist already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper-unix-connector v0.1.5 [INFO] [stderr] Downloaded serde_with_macros v1.2.2 [INFO] [stderr] Downloaded serde_with v1.5.1 [INFO] [stderr] Downloaded bollard v0.8.0 [INFO] [stderr] Downloaded bollard-stubs v1.40.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5895200badae4d961a8974532685f73a788ef8449accfdb212d4398e56d84f45 [INFO] running `Command { std: "docker" "start" "-a" "5895200badae4d961a8974532685f73a788ef8449accfdb212d4398e56d84f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5895200badae4d961a8974532685f73a788ef8449accfdb212d4398e56d84f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5895200badae4d961a8974532685f73a788ef8449accfdb212d4398e56d84f45", kill_on_drop: false }` [INFO] [stdout] 5895200badae4d961a8974532685f73a788ef8449accfdb212d4398e56d84f45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80762268d902186c1f480687cf6e25b57f88b1efb349106cc2a8785dd372f688 [INFO] running `Command { std: "docker" "start" "-a" "80762268d902186c1f480687cf6e25b57f88b1efb349106cc2a8785dd372f688", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling pin-project-lite v0.1.10 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling rustc-demangle v0.1.17 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling object v0.21.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling instant v0.1.7 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling tinyvec v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling dirs v3.0.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling flate2 v1.0.18 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.53 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling env_logger v0.8.1 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling ct-logs v0.7.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling rustls-native-certs v0.4.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling serde_with_macros v1.2.2 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling pin-project v1.0.1 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling trust-dns-proto v0.19.5 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_with v1.5.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling actix-router v0.2.5 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling hyper v0.13.8 [INFO] [stderr] Compiling actix-http v2.1.0 [INFO] [stderr] Compiling bollard-stubs v1.40.6 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling hyper-unix-connector v0.1.5 [INFO] [stderr] Compiling awc v2.0.0 [INFO] [stderr] Compiling actix-web v3.2.0 [INFO] [stderr] Compiling bollard v0.8.0 [INFO] [stderr] Compiling hoist v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `get_image_by_name` [INFO] [stdout] --> src/controllers/images.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::docker::image::{get_all_images, get_image_by_name}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web` [INFO] [stdout] --> src/controllers/images.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{get, web, HttpResponse}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContainerCreateResponse` [INFO] [stdout] --> src/docker/container.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use bollard::models::{ContainerCreateResponse, ContainerInspectResponse, ContainerSummaryInner}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PortMap` [INFO] [stdout] --> src/docker/container.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | use bollard_stubs::models::{HostConfig, PortBinding, PortMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dead` [INFO] [stdout] --> src/models/pod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Dead, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PodState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/pod.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Copy, Clone, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_mapped_port` [INFO] [stdout] --> src/models/pod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn add_mapped_port(&mut self, map_to_port: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/docker/container.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | Err(err) => panic!(format!("could not create response: {}", err)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 71 - Err(err) => panic!(format!("could not create response: {}", err)), [INFO] [stdout] 71 + Err(err) => panic!("could not create response: {}", err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 53.42s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "80762268d902186c1f480687cf6e25b57f88b1efb349106cc2a8785dd372f688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80762268d902186c1f480687cf6e25b57f88b1efb349106cc2a8785dd372f688", kill_on_drop: false }` [INFO] [stdout] 80762268d902186c1f480687cf6e25b57f88b1efb349106cc2a8785dd372f688 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 562fae43115d9e1162c2505c9d0eaabf970fa6fef136159de178e13a2fe9b60b [INFO] running `Command { std: "docker" "start" "-a" "562fae43115d9e1162c2505c9d0eaabf970fa6fef136159de178e13a2fe9b60b", kill_on_drop: false }` [INFO] [stderr] Compiling hoist v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `get_image_by_name` [INFO] [stdout] --> src/controllers/images.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::docker::image::{get_all_images, get_image_by_name}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web` [INFO] [stdout] --> src/controllers/images.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{get, web, HttpResponse}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContainerCreateResponse` [INFO] [stdout] --> src/docker/container.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use bollard::models::{ContainerCreateResponse, ContainerInspectResponse, ContainerSummaryInner}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PortMap` [INFO] [stdout] --> src/docker/container.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | use bollard_stubs::models::{HostConfig, PortBinding, PortMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dead` [INFO] [stdout] --> src/models/pod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Dead, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PodState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/pod.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Copy, Clone, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_mapped_port` [INFO] [stdout] --> src/models/pod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn add_mapped_port(&mut self, map_to_port: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/docker/container.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | Err(err) => panic!(format!("could not create response: {}", err)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 71 - Err(err) => panic!(format!("could not create response: {}", err)), [INFO] [stdout] 71 + Err(err) => panic!("could not create response: {}", err), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.49s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "562fae43115d9e1162c2505c9d0eaabf970fa6fef136159de178e13a2fe9b60b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "562fae43115d9e1162c2505c9d0eaabf970fa6fef136159de178e13a2fe9b60b", kill_on_drop: false }` [INFO] [stdout] 562fae43115d9e1162c2505c9d0eaabf970fa6fef136159de178e13a2fe9b60b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 896c15790aaaed61672902920de50b61ddb65ee8ecb783a31b4eac74edf6f256 [INFO] running `Command { std: "docker" "start" "-a" "896c15790aaaed61672902920de50b61ddb65ee8ecb783a31b4eac74edf6f256", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `get_image_by_name` [INFO] [stderr] --> src/controllers/images.rs:2:44 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::docker::image::{get_all_images, get_image_by_name}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `web` [INFO] [stderr] --> src/controllers/images.rs:3:22 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::{get, web, HttpResponse}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ContainerCreateResponse` [INFO] [stderr] --> src/docker/container.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | use bollard::models::{ContainerCreateResponse, ContainerInspectResponse, ContainerSummaryInner}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `PortMap` [INFO] [stderr] --> src/docker/container.rs:8:54 [INFO] [stderr] | [INFO] [stderr] 8 | use bollard_stubs::models::{HostConfig, PortBinding, PortMap}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Dead` [INFO] [stderr] --> src/models/pod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Dead, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `PodState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/pod.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Serialize, Copy, Clone, Hash)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_mapped_port` [INFO] [stderr] --> src/models/pod.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn add_mapped_port(&mut self, map_to_port: u16) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/docker/container.rs:71:28 [INFO] [stderr] | [INFO] [stderr] 71 | Err(err) => panic!(format!("could not create response: {}", err)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 71 - Err(err) => panic!(format!("could not create response: {}", err)), [INFO] [stderr] 71 + Err(err) => panic!("could not create response: {}", err), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `hoist` (bin "hoist" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hoist-1cc800d59ad8958f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "896c15790aaaed61672902920de50b61ddb65ee8ecb783a31b4eac74edf6f256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "896c15790aaaed61672902920de50b61ddb65ee8ecb783a31b4eac74edf6f256", kill_on_drop: false }` [INFO] [stdout] 896c15790aaaed61672902920de50b61ddb65ee8ecb783a31b4eac74edf6f256