[INFO] fetching crate product-os-connector 0.0.28... [INFO] testing product-os-connector-0.0.28 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate product-os-connector 0.0.28 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate product-os-connector 0.0.28 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate product-os-connector 0.0.28 [INFO] tweaked toml for crates.io crate product-os-connector 0.0.28 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate product-os-connector 0.0.28 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate product-os-connector 0.0.28 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3201d54760a1f07ef01ff448e7025293d0717afb6cc9e384ce4ef869096edeae [INFO] running `Command { std: "docker" "start" "-a" "3201d54760a1f07ef01ff448e7025293d0717afb6cc9e384ce4ef869096edeae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3201d54760a1f07ef01ff448e7025293d0717afb6cc9e384ce4ef869096edeae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3201d54760a1f07ef01ff448e7025293d0717afb6cc9e384ce4ef869096edeae", kill_on_drop: false }` [INFO] [stdout] 3201d54760a1f07ef01ff448e7025293d0717afb6cc9e384ce4ef869096edeae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22ac5dfaf0876535963d7018a782f7fae7c7db28eee8c63b06d4ad07c141bf3e [INFO] running `Command { std: "docker" "start" "-a" "22ac5dfaf0876535963d7018a782f7fae7c7db28eee8c63b06d4ad07c141bf3e", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.23 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling zmij v1.0.20 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling core-error v0.0.1-rc4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling fiat-crypto v0.3.0 [INFO] [stderr] Compiling ioslice v0.6.0 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling no-std-net v0.6.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling product-os-net v0.0.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling product-os-http v0.0.8 [INFO] [stderr] Compiling product-os-random v0.0.27 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling serde_html_form v0.2.8 [INFO] [stderr] Compiling serde_with v3.16.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling product-os-http-body v0.0.23 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling product-os-request v0.0.50 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling product-os-openapi v0.0.4 [INFO] [stderr] Compiling orion v0.17.12 [INFO] [stderr] Compiling product-os-async-executor v0.0.17 [INFO] [stderr] Compiling jwt-compact v0.8.0 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling product-os-security v0.0.61 [INFO] [stderr] Compiling product-os-utilities v0.0.23 [INFO] [stderr] Compiling axum-extra v0.10.3 [INFO] [stderr] Compiling product-os-router v0.0.37 [INFO] [stderr] Compiling product-os-capabilities v0.0.25 [INFO] [stderr] Compiling product-os-connector v0.0.28 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.31s [INFO] running `Command { std: "docker" "inspect" "22ac5dfaf0876535963d7018a782f7fae7c7db28eee8c63b06d4ad07c141bf3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22ac5dfaf0876535963d7018a782f7fae7c7db28eee8c63b06d4ad07c141bf3e", kill_on_drop: false }` [INFO] [stdout] 22ac5dfaf0876535963d7018a782f7fae7c7db28eee8c63b06d4ad07c141bf3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd59a097359482131e499c4974b35f48ca7378ed64ef1793dcdfd28d3e113b02 [INFO] running `Command { std: "docker" "start" "-a" "bd59a097359482131e499c4974b35f48ca7378ed64ef1793dcdfd28d3e113b02", kill_on_drop: false }` [INFO] [stderr] Compiling product-os-connector v0.0.28 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `product_os_connector::Definition` [INFO] [stdout] --> tests/api_stability_tests.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | use product_os_connector::{ConnectorKind, Definition}; [INFO] [stdout] | ^^^^^^^^^^ no `Definition` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:129:28 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(feature = "definition")] [INFO] [stdout] | ---------------------- the item is gated behind the `definition` feature [INFO] [stdout] 129 | pub use crate::definition::Definition; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/api_stability_tests.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | let json = serde_json::to_string(&rest).expect("Failed to serialize"); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/api_stability_tests.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | let json = serde_json::to_string(&graphql).expect("Failed to serialize"); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/api_stability_tests.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | let json = serde_json::to_string(&websocket).expect("Failed to serialize"); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/api_stability_tests.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | let rest: ConnectorKind = serde_json::from_str(r#""rest""#).expect("Failed to deserialize"); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/api_stability_tests.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | let graphql: ConnectorKind = serde_json::from_str(r#""graphql""#).expect("Failed to deserialize"); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/api_stability_tests.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | let websocket: ConnectorKind = serde_json::from_str(r#""websocket""#).expect("Failed to deserialize"); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/api_stability_tests.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let json1 = serde_json::to_string(&kind).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> tests/api_stability_tests.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let json2 = serde_json::to_string(&cloned).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `product-os-connector` (test "api_stability_tests") due to 9 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bd59a097359482131e499c4974b35f48ca7378ed64ef1793dcdfd28d3e113b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd59a097359482131e499c4974b35f48ca7378ed64ef1793dcdfd28d3e113b02", kill_on_drop: false }` [INFO] [stdout] bd59a097359482131e499c4974b35f48ca7378ed64ef1793dcdfd28d3e113b02