[INFO] fetching crate ic-websocket-cdk 0.4.2... [INFO] checking ic-websocket-cdk-0.4.2 against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] extracting crate ic-websocket-cdk 0.4.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate ic-websocket-cdk 0.4.2 [INFO] finished tweaking crates.io crate ic-websocket-cdk 0.4.2 [INFO] tweaked toml for crates.io crate ic-websocket-cdk 0.4.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ic-websocket-cdk 0.4.2 on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ic-websocket-cdk 0.4.2 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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c73a3b4f12fdbb7f0b1a519c30ba4bbe275a42337b90a07d7b7afd75fd59efb0 [INFO] running `Command { std: "docker" "start" "-a" "c73a3b4f12fdbb7f0b1a519c30ba4bbe275a42337b90a07d7b7afd75fd59efb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c73a3b4f12fdbb7f0b1a519c30ba4bbe275a42337b90a07d7b7afd75fd59efb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c73a3b4f12fdbb7f0b1a519c30ba4bbe275a42337b90a07d7b7afd75fd59efb0", kill_on_drop: false }` [INFO] [stdout] c73a3b4f12fdbb7f0b1a519c30ba4bbe275a42337b90a07d7b7afd75fd59efb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad6f3b9ed93174d71f370736ba771d82a89e7b5f8f81826a9cb60015a468608e [INFO] running `Command { std: "docker" "start" "-a" "ad6f3b9ed93174d71f370736ba771d82a89e7b5f8f81826a9cb60015a468608e", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Checking pretty v0.12.4 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling ic-cdk-executor v1.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking pairing v0.23.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking subtle-ng v2.5.0 [INFO] [stderr] Checking ic0 v0.25.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking curve25519-dalek-ng v4.1.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking ic_bls12_381 v0.10.1 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking backoff v0.4.0 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking cached_proc_macro_types v0.1.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking stop-token v0.7.0 [INFO] [stderr] Checking async-watch v0.3.1 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking rangemap v1.5.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking miracl_core_bls12381 v4.2.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking cached v0.52.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling cached_proc_macro v0.23.0 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking cached v0.54.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking ic-error-types v0.2.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking erased-serde v0.3.31 [INFO] [stderr] Checking ic-certification v3.0.3 [INFO] [stderr] Checking ic-verify-bls-signature v0.5.0 [INFO] [stderr] Checking ed25519-consensus v2.1.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking candid v0.10.14 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking ic-management-canister-types v0.3.1 [INFO] [stderr] Checking ic-transport-types v0.40.1 [INFO] [stderr] Checking ic-cbor v3.0.3 [INFO] [stderr] Checking ic-certificate-verification v3.0.3 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.20 [INFO] [stderr] Checking ic-agent v0.40.1 [INFO] [stderr] Compiling ic-cdk-macros v0.18.4 [INFO] [stderr] Checking pocket-ic v9.0.2 [INFO] [stderr] Checking ic-cdk v0.18.4 [INFO] [stderr] Checking ic-cdk-timers v0.12.1 [INFO] [stderr] Checking ic-websocket-cdk v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/integration_tests/utils/certification.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | .lookup_path(vec![b"canister", canister_id_bytes, b"certified_data"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `[&[u8; 8]; _]`, found `[&[u8]; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[&[u8; 8]; _]` [INFO] [stdout] found array `[&[u8]; 3]` [INFO] [stdout] help: the return type of this call is `[&[u8]; 3]` due to the type of the argument passed [INFO] [stdout] --> src/tests/integration_tests/utils/certification.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | .lookup_path(vec![b"canister", canister_id_bytes, b"certified_data"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests/integration_tests/utils/certification.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | let tree_sha = match tree.lookup_path(vec![b"websocket", path.as_bytes()]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `[&[u8; 9]; _]`, found `[&[u8]; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[&[u8; 9]; _]` [INFO] [stdout] found array `[&[u8]; 2]` [INFO] [stdout] help: the return type of this call is `[&[u8]; 2]` due to the type of the argument passed [INFO] [stdout] --> src/tests/integration_tests/utils/certification.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 43 | let tree_sha = match tree.lookup_path(vec![b"websocket", path.as_bytes()]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/types.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 420 | #[derive(Clone, Debug, Default, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 421 | pub struct WsHandlers { [INFO] [stdout] 422 | pub on_open: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/types.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 420 | #[derive(Clone, Debug, Default, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 423 | pub on_message: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/types.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 420 | #[derive(Clone, Debug, Default, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 424 | pub on_close: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ic-websocket-cdk` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "ad6f3b9ed93174d71f370736ba771d82a89e7b5f8f81826a9cb60015a468608e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad6f3b9ed93174d71f370736ba771d82a89e7b5f8f81826a9cb60015a468608e", kill_on_drop: false }` [INFO] [stdout] ad6f3b9ed93174d71f370736ba771d82a89e7b5f8f81826a9cb60015a468608e