[INFO] fetching crate ubiquity-core 0.1.1... [INFO] testing ubiquity-core-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate ubiquity-core 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate ubiquity-core 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ubiquity-core 0.1.1 [INFO] tweaked toml for crates.io crate ubiquity-core 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ubiquity-core 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ubiquity-core 0.1.1 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 328f941ebe6dddc9b75277e7db3607ad748cecf1097e908f544790a25187f8f5 [INFO] running `Command { std: "docker" "start" "-a" "328f941ebe6dddc9b75277e7db3607ad748cecf1097e908f544790a25187f8f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "328f941ebe6dddc9b75277e7db3607ad748cecf1097e908f544790a25187f8f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "328f941ebe6dddc9b75277e7db3607ad748cecf1097e908f544790a25187f8f5", kill_on_drop: false }` [INFO] [stdout] 328f941ebe6dddc9b75277e7db3607ad748cecf1097e908f544790a25187f8f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a79f503db862798f67487b39e0aad8febd7172128e5a29e38b641604efe7b61b [INFO] running `Command { std: "docker" "start" "-a" "a79f503db862798f67487b39e0aad8febd7172128e5a29e38b641604efe7b61b", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling ubiquity-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `secret_key` is never read [INFO] [stdout] --> src/auth.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AuthService { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | secret_key: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/llm.rs:551:5 [INFO] [stdout] | [INFO] [stdout] 550 | pub struct MockLLMService { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 551 | config: LLMConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/command_unified.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn command(&self, command: impl Into) -> CommandBuilder { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | pub fn command(&self, command: impl Into) -> CommandBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.97s [INFO] running `Command { std: "docker" "inspect" "a79f503db862798f67487b39e0aad8febd7172128e5a29e38b641604efe7b61b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a79f503db862798f67487b39e0aad8febd7172128e5a29e38b641604efe7b61b", kill_on_drop: false }` [INFO] [stdout] a79f503db862798f67487b39e0aad8febd7172128e5a29e38b641604efe7b61b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e70052683cadadb81f80451c570107fd0deaf8214d2e80683467ad7499870d93 [INFO] running `Command { std: "docker" "start" "-a" "e70052683cadadb81f80451c570107fd0deaf8214d2e80683467ad7499870d93", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling ubiquity-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/llm.rs:682:22 [INFO] [stdout] | [INFO] [stdout] 682 | timeout: Duration::from_secs(30), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] = note: these items exist but are inaccessible: [INFO] [stdout] crate::auth::tests::Duration [INFO] [stdout] crate::command_cloud::tests::Duration [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 672 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 672 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 672 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/llm.rs:684:26 [INFO] [stdout] | [INFO] [stdout] 684 | retry_delay: Duration::from_secs(1), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] = note: these items exist but are inaccessible: [INFO] [stdout] crate::auth::tests::Duration [INFO] [stdout] crate::command_cloud::tests::Duration [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 672 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 672 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 672 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/llm.rs:718:22 [INFO] [stdout] | [INFO] [stdout] 718 | timeout: Duration::from_secs(30), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] = note: these items exist but are inaccessible: [INFO] [stdout] crate::auth::tests::Duration [INFO] [stdout] crate::command_cloud::tests::Duration [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 672 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 672 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 672 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/llm.rs:720:26 [INFO] [stdout] | [INFO] [stdout] 720 | retry_delay: Duration::from_secs(1), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] = note: these items exist but are inaccessible: [INFO] [stdout] crate::auth::tests::Duration [INFO] [stdout] crate::command_cloud::tests::Duration [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 672 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 672 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 672 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/command_local.rs:419:28 [INFO] [stdout] | [INFO] [stdout] 419 | tokio::time::sleep(Duration::from_millis(100)).await; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] = note: these items exist but are inaccessible: [INFO] [stdout] crate::auth::tests::Duration [INFO] [stdout] crate::command_cloud::tests::Duration [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 385 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 385 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 385 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/command_local.rs:438:27 [INFO] [stdout] | [INFO] [stdout] 438 | .with_timeout(Duration::from_millis(100)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] = note: these items exist but are inaccessible: [INFO] [stdout] crate::auth::tests::Duration [INFO] [stdout] crate::command_cloud::tests::Duration [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 385 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 385 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 385 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `secret_key` is never read [INFO] [stdout] --> src/auth.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct AuthService { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | secret_key: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/llm.rs:551:5 [INFO] [stdout] | [INFO] [stdout] 550 | pub struct MockLLMService { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 551 | config: LLMConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/command_unified.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn command(&self, command: impl Into) -> CommandBuilder { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | pub fn command(&self, command: impl Into) -> CommandBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ubiquity-core` (lib test) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e70052683cadadb81f80451c570107fd0deaf8214d2e80683467ad7499870d93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e70052683cadadb81f80451c570107fd0deaf8214d2e80683467ad7499870d93", kill_on_drop: false }` [INFO] [stdout] e70052683cadadb81f80451c570107fd0deaf8214d2e80683467ad7499870d93