[INFO] cloning repository https://github.com/adrusi/native-planet-orchestrator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adrusi/native-planet-orchestrator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrusi%2Fnative-planet-orchestrator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrusi%2Fnative-planet-orchestrator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a61ad36220526146b7f094ac5e9df84c288385f2 [INFO] testing adrusi/native-planet-orchestrator/a61ad36220526146b7f094ac5e9df84c288385f2 against 1.82.0 for beta-1.83-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrusi%2Fnative-planet-orchestrator" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adrusi/native-planet-orchestrator on toolchain 1.82.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.82.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adrusi/native-planet-orchestrator [INFO] finished tweaking git repo https://github.com/adrusi/native-planet-orchestrator [INFO] tweaked toml for git repo https://github.com/adrusi/native-planet-orchestrator written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/adrusi/native-planet-orchestrator already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.82.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libarchive v0.1.1 [INFO] [stderr] Downloaded libarchive3-sys v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e12353f50bd4974e1daf1d94e61e479eb3d1b929b2bc86044b617eb79a983776 [INFO] running `Command { std: "docker" "start" "-a" "e12353f50bd4974e1daf1d94e61e479eb3d1b929b2bc86044b617eb79a983776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e12353f50bd4974e1daf1d94e61e479eb3d1b929b2bc86044b617eb79a983776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e12353f50bd4974e1daf1d94e61e479eb3d1b929b2bc86044b617eb79a983776", kill_on_drop: false }` [INFO] [stdout] e12353f50bd4974e1daf1d94e61e479eb3d1b929b2bc86044b617eb79a983776 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a5691ecdd36623249b6e75433f1f3e80bdc06709684dad61476928223b75ae3 [INFO] running `Command { std: "docker" "start" "-a" "9a5691ecdd36623249b6e75433f1f3e80bdc06709684dad61476928223b75ae3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling bytes v1.2.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.9 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling concurrent-queue v1.2.4 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling bytestring v1.1.0 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling firestorm v0.5.1 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling async-task v4.3.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling sha1 v0.10.1 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling libarchive3-sys v0.1.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling blocking v1.2.0 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libarchive v0.1.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling ctor v0.1.23 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-web-codegen v4.0.1 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling async-io v1.7.0 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-global-executor v2.2.0 [INFO] [stderr] Compiling uuid-macro-internal v1.1.2 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling async-compression v0.3.14 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.2.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling actix-web v4.1.0 [INFO] [stderr] Compiling actix-multipart v0.4.0 [INFO] [stderr] Compiling native-planet-orchestrator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> src/main.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{middleware, get, post, web, App, HttpServer, Responder}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/prelude.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HarborBuf` and `Harbor` [INFO] [stdout] --> src/ship.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub use harbor_private::{HARBOR, Harbor, HarborBuf}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `form` [INFO] [stdout] --> src/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | async fn greet(form: web::Json, payload: Multipart) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/main.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | async fn greet(form: web::Json, payload: Multipart) -> impl Responder { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/ship.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | async fn load_from_port(path: &Path, name: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/ship.rs:258:33 [INFO] [stdout] | [INFO] [stdout] 258 | async fn load_from_dry_dock(path: &Path, id: Uuid) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/ship.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | config: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppState` is never constructed [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct AppState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_file_sync` is never used [INFO] [stdout] --> src/archive.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn extract_file_sync(src_path: &SPath, dst_path: &SPath, options: &ExtractOptions) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_file` is never used [INFO] [stdout] --> src/archive.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn extract_file(src_path: APathBuf, dst_path: APathBuf, options: ExtractOptions) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `safe_extract_options` is never used [INFO] [stdout] --> src/archive.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn safe_extract_options() -> ExtractOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_checksum_verify` is never used [INFO] [stdout] --> src/async_util.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait MyStreamExt : Stream { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 12 | fn into_checksum_verify( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POLL_INTERVAL_MILLIS` is never used [INFO] [stdout] --> src/filelock.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const POLL_INTERVAL_MILLIS: u64 = 50; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `try_acquire`, `acquire`, and `release` are never used [INFO] [stdout] --> src/filelock.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl FileLock { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 15 | pub async fn try_acquire>(path: P) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn acquire>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn release(mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tcp_port_available` is never used [INFO] [stdout] --> src/net_util.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn tcp_port_available(port: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpPortIssuer` is never constructed [INFO] [stdout] --> src/net_util.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TcpPortIssuer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TcpPortIssuer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_port` are never used [INFO] [stdout] --> src/net_util.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl TcpPortIssuer { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 19 | pub fn new(range: Range) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn get_port(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/runtime.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Version { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn binary_checksum(&self) -> [u8; 64] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn binary_name(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn binary_path(self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | async fn ensure_installed(self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub async fn fetch(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn translate_options(self, cmd: &mut process::Command, options: &Options<'_>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub async fn exec(self, options: &Options<'_>) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `launch_existing_pier`, `launch_from_keyfile`, `launch_new_comet`, `ames_port`, and `http_port` are never used [INFO] [stdout] --> src/runtime.rs:464:12 [INFO] [stdout] | [INFO] [stdout] 463 | impl<'a> Options<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 464 | pub fn launch_existing_pier(pier: &'a Path) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | pub fn launch_from_keyfile(keyfile: &'a Path, name: &'a str, pier: &'a Path) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 482 | pub fn launch_new_comet(pier: &'a Path) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | pub fn ames_port(&mut self, p: u16) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | pub fn http_port(&mut self, p: u16) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_extracted_pier` is never used [INFO] [stdout] --> src/ship.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | fn find_extracted_pier(_unpack_path: &Path) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `dry_docked`, `initialized`, `comet`, and `filelock` are never read [INFO] [stdout] --> src/ship.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct PierState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 196 | id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] 197 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | dry_docked: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 201 | /// true iff there's a "pier" directory [INFO] [stdout] 202 | initialized: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 203 | /// false if initialized, used to indicate whether to perform the initial launch with a keyfile or as a comet [INFO] [stdout] 204 | comet: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 205 | filelock: FileLock, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PierState` 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 associated items are never used [INFO] [stdout] --> src/ship.rs:209:14 [INFO] [stdout] | [INFO] [stdout] 208 | impl PierState { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 209 | async fn load_from_port(path: &Path, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | async fn load_from_dry_dock(path: &Path, id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | async fn load_config(meta_path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub async fn new_from_keyfile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub async fn new_from_pier_archive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | async fn new_from_pier_archive_inner( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | pub async fn new_comet( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | pub fn config(&self) -> &PierConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | pub fn dry_docked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn name(&self) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn initialized(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | fn lockfile_path_given_meta(mut meta_path: PathBuf) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | fn pier_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | fn keyfile_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | fn archive_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | fn unpack_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | pub async fn release_from_dry_dock( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | pub async fn launch( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ship` is never constructed [INFO] [stdout] --> src/ship.rs:595:12 [INFO] [stdout] | [INFO] [stdout] 595 | pub struct Ship { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `shutdown`, and `dojo` are never used [INFO] [stdout] --> src/ship.rs:604:14 [INFO] [stdout] | [INFO] [stdout] 603 | impl Ship { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 604 | async fn new(pier: PierState, proc: process::Child, http_port: u16, ames_port: u16) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 622 | pub async fn shutdown(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 627 | pub async fn dojo(&self, eval_str: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.59s [INFO] running `Command { std: "docker" "inspect" "9a5691ecdd36623249b6e75433f1f3e80bdc06709684dad61476928223b75ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a5691ecdd36623249b6e75433f1f3e80bdc06709684dad61476928223b75ae3", kill_on_drop: false }` [INFO] [stdout] 9a5691ecdd36623249b6e75433f1f3e80bdc06709684dad61476928223b75ae3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bfb891ec17573b17552a6b45913c1e6d7945709354dd43d09e4d20bee0c13a5 [INFO] running `Command { std: "docker" "start" "-a" "6bfb891ec17573b17552a6b45913c1e6d7945709354dd43d09e4d20bee0c13a5", kill_on_drop: false }` [INFO] [stderr] Compiling native-planet-orchestrator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> src/main.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{middleware, get, post, web, App, HttpServer, Responder}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/prelude.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HarborBuf` and `Harbor` [INFO] [stdout] --> src/ship.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | pub use harbor_private::{HARBOR, Harbor, HarborBuf}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `form` [INFO] [stdout] --> src/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | async fn greet(form: web::Json, payload: Multipart) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/main.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | async fn greet(form: web::Json, payload: Multipart) -> impl Responder { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/ship.rs:209:29 [INFO] [stdout] | [INFO] [stdout] 209 | async fn load_from_port(path: &Path, name: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/ship.rs:258:33 [INFO] [stdout] | [INFO] [stdout] 258 | async fn load_from_dry_dock(path: &Path, id: Uuid) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/ship.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | config: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppState` is never constructed [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct AppState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_file_sync` is never used [INFO] [stdout] --> src/archive.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn extract_file_sync(src_path: &SPath, dst_path: &SPath, options: &ExtractOptions) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_file` is never used [INFO] [stdout] --> src/archive.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn extract_file(src_path: APathBuf, dst_path: APathBuf, options: ExtractOptions) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `safe_extract_options` is never used [INFO] [stdout] --> src/archive.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn safe_extract_options() -> ExtractOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_checksum_verify` is never used [INFO] [stdout] --> src/async_util.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait MyStreamExt : Stream { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 12 | fn into_checksum_verify( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POLL_INTERVAL_MILLIS` is never used [INFO] [stdout] --> src/filelock.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const POLL_INTERVAL_MILLIS: u64 = 50; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `try_acquire`, `acquire`, and `release` are never used [INFO] [stdout] --> src/filelock.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl FileLock { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 15 | pub async fn try_acquire>(path: P) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub async fn acquire>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub async fn release(mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tcp_port_available` is never used [INFO] [stdout] --> src/net_util.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn tcp_port_available(port: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TcpPortIssuer` is never constructed [INFO] [stdout] --> src/net_util.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TcpPortIssuer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TcpPortIssuer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_port` are never used [INFO] [stdout] --> src/net_util.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl TcpPortIssuer { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 19 | pub fn new(range: Range) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub async fn get_port(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/runtime.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Version { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn binary_checksum(&self) -> [u8; 64] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn binary_name(self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn binary_path(self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | async fn ensure_installed(self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub async fn fetch(self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn translate_options(self, cmd: &mut process::Command, options: &Options<'_>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub async fn exec(self, options: &Options<'_>) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `launch_existing_pier`, `launch_from_keyfile`, `launch_new_comet`, `ames_port`, and `http_port` are never used [INFO] [stdout] --> src/runtime.rs:464:12 [INFO] [stdout] | [INFO] [stdout] 463 | impl<'a> Options<'a> { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 464 | pub fn launch_existing_pier(pier: &'a Path) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | pub fn launch_from_keyfile(keyfile: &'a Path, name: &'a str, pier: &'a Path) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 482 | pub fn launch_new_comet(pier: &'a Path) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | pub fn ames_port(&mut self, p: u16) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | pub fn http_port(&mut self, p: u16) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_extracted_pier` is never used [INFO] [stdout] --> src/ship.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | fn find_extracted_pier(_unpack_path: &Path) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `dry_docked`, `initialized`, `comet`, and `filelock` are never read [INFO] [stdout] --> src/ship.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct PierState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 196 | id: Uuid, [INFO] [stdout] | ^^ [INFO] [stdout] 197 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | dry_docked: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 201 | /// true iff there's a "pier" directory [INFO] [stdout] 202 | initialized: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 203 | /// false if initialized, used to indicate whether to perform the initial launch with a keyfile or as a comet [INFO] [stdout] 204 | comet: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 205 | filelock: FileLock, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PierState` 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 associated items are never used [INFO] [stdout] --> src/ship.rs:209:14 [INFO] [stdout] | [INFO] [stdout] 208 | impl PierState { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 209 | async fn load_from_port(path: &Path, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | async fn load_from_dry_dock(path: &Path, id: Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | async fn load_config(meta_path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub async fn new_from_keyfile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub async fn new_from_pier_archive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | async fn new_from_pier_archive_inner( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | pub async fn new_comet( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | pub fn config(&self) -> &PierConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 476 | pub fn dry_docked(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 480 | pub fn name(&self) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn initialized(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 493 | fn lockfile_path_given_meta(mut meta_path: PathBuf) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | fn pier_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | fn keyfile_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | fn archive_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | fn unpack_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | pub async fn release_from_dry_dock( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | pub async fn launch( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ship` is never constructed [INFO] [stdout] --> src/ship.rs:595:12 [INFO] [stdout] | [INFO] [stdout] 595 | pub struct Ship { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `shutdown`, and `dojo` are never used [INFO] [stdout] --> src/ship.rs:604:14 [INFO] [stdout] | [INFO] [stdout] 603 | impl Ship { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 604 | async fn new(pier: PierState, proc: process::Child, http_port: u16, ames_port: u16) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 622 | pub async fn shutdown(mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 627 | pub async fn dojo(&self, eval_str: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.08s [INFO] running `Command { std: "docker" "inspect" "6bfb891ec17573b17552a6b45913c1e6d7945709354dd43d09e4d20bee0c13a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bfb891ec17573b17552a6b45913c1e6d7945709354dd43d09e4d20bee0c13a5", kill_on_drop: false }` [INFO] [stdout] 6bfb891ec17573b17552a6b45913c1e6d7945709354dd43d09e4d20bee0c13a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+1.82.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1aa80bc7e69ffdc3f2ed28fa67d11873df11beebd21ae2b0ac52c2eb8b117058 [INFO] running `Command { std: "docker" "start" "-a" "1aa80bc7e69ffdc3f2ed28fa67d11873df11beebd21ae2b0ac52c2eb8b117058", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `get` [INFO] [stderr] --> src/main.rs:3:29 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::{middleware, get, post, web, App, HttpServer, Responder}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_trait::async_trait` [INFO] [stderr] --> src/prelude.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub use async_trait::async_trait; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HarborBuf` and `Harbor` [INFO] [stderr] --> src/ship.rs:19:34 [INFO] [stderr] | [INFO] [stderr] 19 | pub use harbor_private::{HARBOR, Harbor, HarborBuf}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `form` [INFO] [stderr] --> src/main.rs:35:16 [INFO] [stderr] | [INFO] [stderr] 35 | async fn greet(form: web::Json, payload: Multipart) -> impl Responder { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `payload` [INFO] [stderr] --> src/main.rs:35:47 [INFO] [stderr] | [INFO] [stderr] 35 | async fn greet(form: web::Json, payload: Multipart) -> impl Responder { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/ship.rs:209:29 [INFO] [stderr] | [INFO] [stderr] 209 | async fn load_from_port(path: &Path, name: &str) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/ship.rs:258:33 [INFO] [stderr] | [INFO] [stderr] 258 | async fn load_from_dry_dock(path: &Path, id: Uuid) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/ship.rs:438:9 [INFO] [stderr] | [INFO] [stderr] 438 | config: Option, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: struct `AppState` is never constructed [INFO] [stderr] --> src/main.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | struct AppState { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `extract_file_sync` is never used [INFO] [stderr] --> src/archive.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn extract_file_sync(src_path: &SPath, dst_path: &SPath, options: &ExtractOptions) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `extract_file` is never used [INFO] [stderr] --> src/archive.rs:31:14 [INFO] [stderr] | [INFO] [stderr] 31 | pub async fn extract_file(src_path: APathBuf, dst_path: APathBuf, options: ExtractOptions) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `safe_extract_options` is never used [INFO] [stderr] --> src/archive.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn safe_extract_options() -> ExtractOptions { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `into_checksum_verify` is never used [INFO] [stderr] --> src/async_util.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub trait MyStreamExt : Stream { [INFO] [stderr] | ----------- method in this trait [INFO] [stderr] 12 | fn into_checksum_verify( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `POLL_INTERVAL_MILLIS` is never used [INFO] [stderr] --> src/filelock.rs:12:7 [INFO] [stderr] | [INFO] [stderr] 12 | const POLL_INTERVAL_MILLIS: u64 = 50; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `try_acquire`, `acquire`, and `release` are never used [INFO] [stderr] --> src/filelock.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 14 | impl FileLock { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] 15 | pub async fn try_acquire>(path: P) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | pub async fn acquire>(path: P) -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub async fn release(mut self) -> Result<()> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `tcp_port_available` is never used [INFO] [stderr] --> src/net_util.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | pub async fn tcp_port_available(port: u16) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TcpPortIssuer` is never constructed [INFO] [stderr] --> src/net_util.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct TcpPortIssuer { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TcpPortIssuer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `get_port` are never used [INFO] [stderr] --> src/net_util.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl TcpPortIssuer { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] 19 | pub fn new(range: Range) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | pub async fn get_port(&mut self) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/runtime.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 43 | impl Version { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn binary_checksum(&self) -> [u8; 64] { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 218 | pub fn binary_name(self) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 223 | pub fn binary_path(self) -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 230 | async fn ensure_installed(self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 248 | pub async fn fetch(self) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 258 | fn translate_options(self, cmd: &mut process::Command, options: &Options<'_>) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 295 | pub async fn exec(self, options: &Options<'_>) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `launch_existing_pier`, `launch_from_keyfile`, `launch_new_comet`, `ames_port`, and `http_port` are never used [INFO] [stderr] --> src/runtime.rs:464:12 [INFO] [stderr] | [INFO] [stderr] 463 | impl<'a> Options<'a> { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] 464 | pub fn launch_existing_pier(pier: &'a Path) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 472 | pub fn launch_from_keyfile(keyfile: &'a Path, name: &'a str, pier: &'a Path) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 482 | pub fn launch_new_comet(pier: &'a Path) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 490 | pub fn ames_port(&mut self, p: u16) -> &mut Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 495 | pub fn http_port(&mut self, p: u16) -> &mut Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_extracted_pier` is never used [INFO] [stderr] --> src/ship.rs:173:4 [INFO] [stderr] | [INFO] [stderr] 173 | fn find_extracted_pier(_unpack_path: &Path) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `name`, `dry_docked`, `initialized`, `comet`, and `filelock` are never read [INFO] [stderr] --> src/ship.rs:196:5 [INFO] [stderr] | [INFO] [stderr] 195 | pub struct PierState { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 196 | id: Uuid, [INFO] [stderr] | ^^ [INFO] [stderr] 197 | name: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 200 | dry_docked: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 201 | /// true iff there's a "pier" directory [INFO] [stderr] 202 | initialized: bool, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 203 | /// false if initialized, used to indicate whether to perform the initial launch with a keyfile or as a comet [INFO] [stderr] 204 | comet: bool, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 205 | filelock: FileLock, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PierState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/ship.rs:209:14 [INFO] [stderr] | [INFO] [stderr] 208 | impl PierState { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 209 | async fn load_from_port(path: &Path, name: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 258 | async fn load_from_dry_dock(path: &Path, id: Uuid) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 296 | async fn load_config(meta_path: &Path) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 301 | pub async fn new_from_keyfile( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 346 | pub async fn new_from_pier_archive( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 398 | async fn new_from_pier_archive_inner( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 437 | pub async fn new_comet( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 472 | pub fn config(&self) -> &PierConfig { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 476 | pub fn dry_docked(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 480 | pub fn name(&self) -> Option<&str> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 484 | pub fn initialized(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 493 | fn lockfile_path_given_meta(mut meta_path: PathBuf) -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 498 | fn pier_path(&self) -> PathBuf { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 502 | fn keyfile_path(&self) -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 506 | fn archive_path(&self) -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 510 | fn unpack_path(&self) -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 514 | pub async fn release_from_dry_dock( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 535 | pub async fn launch( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Ship` is never constructed [INFO] [stderr] --> src/ship.rs:595:12 [INFO] [stderr] | [INFO] [stderr] 595 | pub struct Ship { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `shutdown`, and `dojo` are never used [INFO] [stderr] --> src/ship.rs:604:14 [INFO] [stderr] | [INFO] [stderr] 603 | impl Ship { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 604 | async fn new(pier: PierState, proc: process::Child, http_port: u16, ames_port: u16) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 622 | pub async fn shutdown(mut self) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 627 | pub async fn dojo(&self, eval_str: &str) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `native-planet-orchestrator` (bin "native-planet-orchestrator" test) generated 25 warnings (run `cargo fix --bin "native-planet-orchestrator" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/native_planet_orchestrator-c416ef5bdf8a5bce) [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" "1aa80bc7e69ffdc3f2ed28fa67d11873df11beebd21ae2b0ac52c2eb8b117058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aa80bc7e69ffdc3f2ed28fa67d11873df11beebd21ae2b0ac52c2eb8b117058", kill_on_drop: false }` [INFO] [stdout] 1aa80bc7e69ffdc3f2ed28fa67d11873df11beebd21ae2b0ac52c2eb8b117058