[INFO] fetching crate product-os-connector 0.0.28... [INFO] checking product-os-connector-0.0.28 against try#1463461488056994d1b84e8b752e7c11c7fae7aa for pr-154205 [INFO] extracting crate product-os-connector 0.0.28 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate product-os-connector 0.0.28 on toolchain 1463461488056994d1b84e8b752e7c11c7fae7aa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "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" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e16225dff8527f2c6c2a21ca70b434f532c930eb7b636f5bc6d66a9ad56adc0e [INFO] running `Command { std: "docker" "start" "-a" "e16225dff8527f2c6c2a21ca70b434f532c930eb7b636f5bc6d66a9ad56adc0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e16225dff8527f2c6c2a21ca70b434f532c930eb7b636f5bc6d66a9ad56adc0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e16225dff8527f2c6c2a21ca70b434f532c930eb7b636f5bc6d66a9ad56adc0e", kill_on_drop: false }` [INFO] [stdout] e16225dff8527f2c6c2a21ca70b434f532c930eb7b636f5bc6d66a9ad56adc0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2e2190c5f6ba162d027ba9f9b95bd17cafa926546cc603803ff62d61dca45da [INFO] running `Command { std: "docker" "start" "-a" "d2e2190c5f6ba162d027ba9f9b95bd17cafa926546cc603803ff62d61dca45da", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling unicode-ident v1.0.23 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling zmij v1.0.20 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling core-error v0.0.1-rc4 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking fiat-crypto v0.3.0 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Checking ioslice v0.6.0 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking no-std-net v0.6.0 [INFO] [stderr] Checking xml-rs v0.8.28 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking product-os-net v0.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking product-os-http v0.0.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking serde_html_form v0.2.8 [INFO] [stderr] Checking serde_with v3.16.1 [INFO] [stderr] Checking product-os-random v0.0.27 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking 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] Checking zeroize v1.8.2 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking product-os-http-body v0.0.23 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking product-os-request v0.0.50 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking product-os-openapi v0.0.4 [INFO] [stderr] Checking orion v0.17.12 [INFO] [stderr] Checking product-os-async-executor v0.0.17 [INFO] [stderr] Checking jwt-compact v0.8.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking product-os-security v0.0.61 [INFO] [stderr] Checking product-os-utilities v0.0.23 [INFO] [stderr] Checking axum-extra v0.10.3 [INFO] [stderr] Checking product-os-router v0.0.37 [INFO] [stderr] Checking product-os-capabilities v0.0.25 [INFO] [stderr] Checking 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] [stderr] [FMTARGS] {"crate":"api_stability_tests","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [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] [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] [stderr] error: could not compile `product-os-connector` (test "api_stability_tests") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d2e2190c5f6ba162d027ba9f9b95bd17cafa926546cc603803ff62d61dca45da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2e2190c5f6ba162d027ba9f9b95bd17cafa926546cc603803ff62d61dca45da", kill_on_drop: false }` [INFO] [stdout] d2e2190c5f6ba162d027ba9f9b95bd17cafa926546cc603803ff62d61dca45da