[INFO] fetching crate lyric 0.1.0... [INFO] testing lyric-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate lyric 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate lyric 0.1.0 [INFO] finished tweaking crates.io crate lyric 0.1.0 [INFO] tweaked toml for crates.io crate lyric 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lyric 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 245 packages to latest compatible versions [INFO] [stderr] Adding bollard v0.17.1 (available: v0.19.2) [INFO] [stderr] Adding tonic v0.12.3 (available: v0.14.1) [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] [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 tonic-build v0.12.3 [INFO] [stderr] Downloaded lyric-rpc v0.1.0 [INFO] [stderr] Downloaded lyric-utils v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6832b554b355ae6e48970a379b4acbdb8e887871a2bc4edae269c4ec51f40ba7 [INFO] running `Command { std: "docker" "start" "-a" "6832b554b355ae6e48970a379b4acbdb8e887871a2bc4edae269c4ec51f40ba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6832b554b355ae6e48970a379b4acbdb8e887871a2bc4edae269c4ec51f40ba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6832b554b355ae6e48970a379b4acbdb8e887871a2bc4edae269c4ec51f40ba7", kill_on_drop: false }` [INFO] [stdout] 6832b554b355ae6e48970a379b4acbdb8e887871a2bc4edae269c4ec51f40ba7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b94c9e7f72d57556873bdab7dd8a8b38e80fd09c2de3770b33ffec6a9c3cbac9 [INFO] running `Command { std: "docker" "start" "-a" "b94c9e7f72d57556873bdab7dd8a8b38e80fd09c2de3770b33ffec6a9c3cbac9", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling neli-proc-macros v0.1.4 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling neli v0.6.5 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Compiling local-ip-address v0.6.5 [INFO] [stderr] Compiling bollard-stubs v1.45.0-rc.26.0.1 [INFO] [stderr] Compiling lyric-utils v0.1.0 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling lyric-rpc v0.1.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling hyperlocal v0.9.1 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling bollard v0.17.1 [INFO] [stderr] Compiling lyric v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable `while let` pattern [INFO] [stdout] --> src/env/env.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | while let msg = lines.next_line().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the loop will never exit [INFO] [stdout] = help: consider instead using a `loop { ... }` with a `let` inside it [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/rpc.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout` is never read [INFO] [stdout] --> src/env/config.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct InnerEnvironment { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub(crate) timeout: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `env`, `envs`, `arg`, and `timeout` are never used [INFO] [stdout] --> src/env/config.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) trait EnvironmentBuilder: Sized { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 14 | fn env(mut self, key: K, val: V) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn envs(mut self, vars: I) -> Self [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn arg>(mut self, arg: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn timeout(mut self, duration: Duration) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `env`, `envs`, and `timeout` are never used [INFO] [stdout] --> src/env/config.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl InnerEnvironment { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn env(&mut self, key: K, val: V) -> &mut Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn envs(&mut self, vars: I) -> &mut Self [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn timeout(&mut self, duration: Duration) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exit_code` is never read [INFO] [stdout] --> src/env/docker.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct DockerChildProcess { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | exit_code: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `network` is never read [INFO] [stdout] --> src/env/docker.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub(crate) struct DockerEnvironment { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 164 | network: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `container_name` and `network` are never used [INFO] [stdout] --> src/env/docker.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 387 | impl DockerEnvironmentBuilder { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 401 | pub fn container_name>(mut self, name: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn network>(mut self, network: S) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wait` and `try_wait` are never used [INFO] [stdout] --> src/env/env.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait ChildProcess: Debug + Sync + Send { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 33 | async fn wait(&mut self) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | async fn try_wait(&mut self) -> Result, EnvError>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> src/env/env.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 38 | impl EventStream { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn read(self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `worker_count` and `find_all_idle_workers` are never used [INFO] [stdout] --> src/env/manager.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl WorkerEnvManager { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn worker_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn find_all_idle_workers<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_duration` is never used [INFO] [stdout] --> src/env/manager.rs:412:4 [INFO] [stdout] | [INFO] [stdout] 412 | fn calculate_duration(start_time: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvId` is never constructed [INFO] [stdout] --> src/message.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct EnvId(Uuid); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/message.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl EnvId { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StopWorker` is never constructed [INFO] [stdout] --> src/message.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) enum RpcMessage { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | StopWorker(StopWorkerRequest), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RpcMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | TaskStateChange(TaskStateRequest), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TriggerScheduleEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 45 - TaskStateChange(TaskStateRequest), [INFO] [stdout] 45 + TaskStateChange(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | RegisterWorker(RegisterWorkerRequest), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TriggerScheduleEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 46 - RegisterWorker(RegisterWorkerRequest), [INFO] [stdout] 46 + RegisterWorker(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | SubmitTask(TaskInfo), [INFO] [stdout] | ---------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TriggerScheduleEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 47 - SubmitTask(TaskInfo), [INFO] [stdout] 47 + SubmitTask(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tx_to_core` is never read [INFO] [stdout] --> src/rpc.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct WorkerService { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 19 | tx_to_core: mpsc::UnboundedSender, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerService` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecutionResult` is never constructed [INFO] [stdout] --> src/task.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ExecutionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `worker_info` and `last_heartbeat` are never read [INFO] [stdout] --> src/worker.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) struct EnvWorkerInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 46 | pub(crate) worker_info: WorkerInfo, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) last_heartbeat: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnvWorkerInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.95s [INFO] running `Command { std: "docker" "inspect" "b94c9e7f72d57556873bdab7dd8a8b38e80fd09c2de3770b33ffec6a9c3cbac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b94c9e7f72d57556873bdab7dd8a8b38e80fd09c2de3770b33ffec6a9c3cbac9", kill_on_drop: false }` [INFO] [stdout] b94c9e7f72d57556873bdab7dd8a8b38e80fd09c2de3770b33ffec6a9c3cbac9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3ae5a6390820e3ea73b30a7316b93a885f6b160a84319851c681214ea0da426e [INFO] running `Command { std: "docker" "start" "-a" "3ae5a6390820e3ea73b30a7316b93a885f6b160a84319851c681214ea0da426e", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-timeout v0.5.2 [INFO] [stderr] Compiling hyperlocal v0.9.1 [INFO] [stderr] Compiling bollard v0.17.1 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling lyric-rpc v0.1.0 [INFO] [stderr] Compiling lyric v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable `while let` pattern [INFO] [stdout] --> src/env/env.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | while let msg = lines.next_line().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the loop will never exit [INFO] [stdout] = help: consider instead using a `loop { ... }` with a `let` inside it [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/rpc.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout` is never read [INFO] [stdout] --> src/env/config.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct InnerEnvironment { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub(crate) timeout: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `env`, `envs`, `arg`, and `timeout` are never used [INFO] [stdout] --> src/env/config.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) trait EnvironmentBuilder: Sized { [INFO] [stdout] | ------------------ methods in this trait [INFO] [stdout] 14 | fn env(mut self, key: K, val: V) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn envs(mut self, vars: I) -> Self [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn arg>(mut self, arg: S) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn timeout(mut self, duration: Duration) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `env`, `envs`, and `timeout` are never used [INFO] [stdout] --> src/env/config.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl InnerEnvironment { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn env(&mut self, key: K, val: V) -> &mut Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn envs(&mut self, vars: I) -> &mut Self [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn timeout(&mut self, duration: Duration) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `exit_code` is never read [INFO] [stdout] --> src/env/docker.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct DockerChildProcess { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | exit_code: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `network` is never read [INFO] [stdout] --> src/env/docker.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub(crate) struct DockerEnvironment { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 164 | network: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `container_name` and `network` are never used [INFO] [stdout] --> src/env/docker.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 387 | impl DockerEnvironmentBuilder { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 401 | pub fn container_name>(mut self, name: S) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn network>(mut self, network: S) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wait` and `try_wait` are never used [INFO] [stdout] --> src/env/env.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait ChildProcess: Debug + Sync + Send { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 33 | async fn wait(&mut self) -> Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] 34 | async fn try_wait(&mut self) -> Result, EnvError>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> src/env/env.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 38 | impl EventStream { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn read(self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `worker_count` and `find_all_idle_workers` are never used [INFO] [stdout] --> src/env/manager.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl WorkerEnvManager { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn worker_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn find_all_idle_workers<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_duration` is never used [INFO] [stdout] --> src/env/manager.rs:412:4 [INFO] [stdout] | [INFO] [stdout] 412 | fn calculate_duration(start_time: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvId` is never constructed [INFO] [stdout] --> src/message.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct EnvId(Uuid); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/message.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl EnvId { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StopWorker` is never constructed [INFO] [stdout] --> src/message.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) enum RpcMessage { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | StopWorker(StopWorkerRequest), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RpcMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | TaskStateChange(TaskStateRequest), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TriggerScheduleEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 45 - TaskStateChange(TaskStateRequest), [INFO] [stdout] 45 + TaskStateChange(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | RegisterWorker(RegisterWorkerRequest), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TriggerScheduleEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 46 - RegisterWorker(RegisterWorkerRequest), [INFO] [stdout] 46 + RegisterWorker(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | SubmitTask(TaskInfo), [INFO] [stdout] | ---------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TriggerScheduleEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 47 - SubmitTask(TaskInfo), [INFO] [stdout] 47 + SubmitTask(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tx_to_core` is never read [INFO] [stdout] --> src/rpc.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct WorkerService { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 19 | tx_to_core: mpsc::UnboundedSender, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerService` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecutionResult` is never constructed [INFO] [stdout] --> src/task.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ExecutionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `worker_info` and `last_heartbeat` are never read [INFO] [stdout] --> src/worker.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 45 | pub(crate) struct EnvWorkerInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 46 | pub(crate) worker_info: WorkerInfo, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) last_heartbeat: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnvWorkerInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `while let` pattern [INFO] [stdout] --> src/env/env.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | while let msg = lines.next_line().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the loop will never exit [INFO] [stdout] = help: consider instead using a `loop { ... }` with a `let` inside it [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/config.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 281 | let cmd = WorkerStartCommand::new( [INFO] [stdout] | ___________________^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 282 | | "cargo run --host localhost --port 8080", [INFO] [stdout] 283 | | "127.0.0.1", [INFO] [stdout] 284 | | "node_id", [INFO] [stdout] 285 | | ) [INFO] [stdout] | |_________- argument #4 of type `std::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/config.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | public_host: Option, [INFO] [stdout] | --------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 285 | let cmd = WorkerStartCommand::new( [INFO] [stdout] ... [INFO] [stdout] 288 | "node_id", [INFO] [stdout] 289 ~ /* std::option::Option */, [INFO] [stdout] 290 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/config.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | let cmd = WorkerStartCommand::new( [INFO] [stdout] | ___________________^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 297 | | "./worker start --host 127.0.0.1 --port 9000 --extra-flag value", [INFO] [stdout] 298 | | "127.0.0.1", [INFO] [stdout] 299 | | "node_id", [INFO] [stdout] 300 | | ) [INFO] [stdout] | |_________- argument #4 of type `std::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/config.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | public_host: Option, [INFO] [stdout] | --------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 300 | let cmd = WorkerStartCommand::new( [INFO] [stdout] ... [INFO] [stdout] 303 | "node_id", [INFO] [stdout] 304 ~ /* std::option::Option */, [INFO] [stdout] 305 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/config.rs:314:19 [INFO] [stdout] | [INFO] [stdout] 314 | let cmd = WorkerStartCommand::new("worker run", "127.0.0.1", "node_id").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-------------------------------------- argument #4 of type `std::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/config.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | public_host: Option, [INFO] [stdout] | --------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 314 | let cmd = WorkerStartCommand::new("worker run", "127.0.0.1", "node_id", /* std::option::Option */).unwrap(); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/config.rs:325:19 [INFO] [stdout] | [INFO] [stdout] 325 | let cmd = WorkerStartCommand::new( [INFO] [stdout] | ___________________^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 326 | | "docker run --network-mode host --driver-address 192.168.1.100", [INFO] [stdout] 327 | | "127.0.0.1", [INFO] [stdout] 328 | | "node_id", [INFO] [stdout] 329 | | ) [INFO] [stdout] | |_________- argument #4 of type `std::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/config.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | public_host: Option, [INFO] [stdout] | --------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 329 | let cmd = WorkerStartCommand::new( [INFO] [stdout] ... [INFO] [stdout] 332 | "node_id", [INFO] [stdout] 333 ~ /* std::option::Option */, [INFO] [stdout] 334 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/config.rs:340:22 [INFO] [stdout] | [INFO] [stdout] 340 | let result = WorkerStartCommand::new("", "127.0.0.1", "node_id"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^---------------------------- argument #4 of type `std::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/config.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | public_host: Option, [INFO] [stdout] | --------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 340 | let result = WorkerStartCommand::new("", "127.0.0.1", "node_id", /* std::option::Option */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/config.rs:343:22 [INFO] [stdout] | [INFO] [stdout] 343 | let result = WorkerStartCommand::new("just_executable", "127.0.0.1", "node_id"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------- argument #4 of type `std::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/config.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | public_host: Option, [INFO] [stdout] | --------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 343 | let result = WorkerStartCommand::new("just_executable", "127.0.0.1", "node_id", /* std::option::Option */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/config.rs:349:19 [INFO] [stdout] | [INFO] [stdout] 349 | let cmd = WorkerStartCommand::new( [INFO] [stdout] | ___________________^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 350 | | "worker start --host localhost --unknown-flag --port 8080 --another-unknown value", [INFO] [stdout] 351 | | "127.0.0.1", [INFO] [stdout] 352 | | "node_id", [INFO] [stdout] 353 | | ) [INFO] [stdout] | |_________- argument #4 of type `std::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/config.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | public_host: Option, [INFO] [stdout] | --------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 353 | let cmd = WorkerStartCommand::new( [INFO] [stdout] ... [INFO] [stdout] 356 | "node_id", [INFO] [stdout] 357 ~ /* std::option::Option */, [INFO] [stdout] 358 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/config.rs:370:19 [INFO] [stdout] | [INFO] [stdout] 370 | let cmd = WorkerStartCommand::new( [INFO] [stdout] | ___________________^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 371 | | "cargo run --host localhost --port 8080 --extra-flag value", [INFO] [stdout] 372 | | "127.0.0.1", [INFO] [stdout] 373 | | "node_id", [INFO] [stdout] 374 | | ) [INFO] [stdout] | |_________- argument #4 of type `std::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/config.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | public_host: Option, [INFO] [stdout] | --------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 374 | let cmd = WorkerStartCommand::new( [INFO] [stdout] ... [INFO] [stdout] 377 | "node_id", [INFO] [stdout] 378 ~ /* std::option::Option */, [INFO] [stdout] 379 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/config.rs:396:19 [INFO] [stdout] | [INFO] [stdout] 396 | let cmd = WorkerStartCommand::new( [INFO] [stdout] | ___________________^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 397 | | "docker run --network-mode host --driver-address 192.168.1.100", [INFO] [stdout] 398 | | "127.0.0.1", [INFO] [stdout] 399 | | "node_id", [INFO] [stdout] 400 | | ) [INFO] [stdout] | |_________- argument #4 of type `std::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/config.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | public_host: Option, [INFO] [stdout] | --------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 400 | let cmd = WorkerStartCommand::new( [INFO] [stdout] ... [INFO] [stdout] 403 | "node_id", [INFO] [stdout] 404 ~ /* std::option::Option */, [INFO] [stdout] 405 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/config.rs:418:19 [INFO] [stdout] | [INFO] [stdout] 418 | let cmd = WorkerStartCommand::new( [INFO] [stdout] | ___________________^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 419 | | "worker start --host localhost --unknown-flag --port 8080 --another-unknown value", [INFO] [stdout] 420 | | "127.0.0.1", [INFO] [stdout] 421 | | "node_id", [INFO] [stdout] 422 | | ) [INFO] [stdout] | |_________- argument #4 of type `std::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/config.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | public_host: Option, [INFO] [stdout] | --------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 422 | let cmd = WorkerStartCommand::new( [INFO] [stdout] ... [INFO] [stdout] 425 | "node_id", [INFO] [stdout] 426 ~ /* std::option::Option */, [INFO] [stdout] 427 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/rpc.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lyric` (lib test) due to 10 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3ae5a6390820e3ea73b30a7316b93a885f6b160a84319851c681214ea0da426e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ae5a6390820e3ea73b30a7316b93a885f6b160a84319851c681214ea0da426e", kill_on_drop: false }` [INFO] [stdout] 3ae5a6390820e3ea73b30a7316b93a885f6b160a84319851c681214ea0da426e