[INFO] fetching crate bity-ic-canister-logger 0.2.0... [INFO] testing bity-ic-canister-logger-0.2.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate bity-ic-canister-logger 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate bity-ic-canister-logger 0.2.0 [INFO] finished tweaking crates.io crate bity-ic-canister-logger 0.2.0 [INFO] tweaked toml for crates.io crate bity-ic-canister-logger 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bity-ic-canister-logger 0.2.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bity-ic-canister-logger 0.2.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic0 v0.24.0 [INFO] [stderr] Downloaded ic0 v0.25.1 [INFO] [stderr] Downloaded ic-cdk-timers v0.12.0 [INFO] [stderr] Downloaded icrc-cbor v0.1.0 [INFO] [stderr] Downloaded ic-cdk-executor v1.0.0 [INFO] [stderr] Downloaded bity-ic-types v0.1.0 [INFO] [stderr] Downloaded bity-ic-canister-time v0.2.0 [INFO] [stderr] Downloaded ic-management-canister-types v0.3.1 [INFO] [stderr] Downloaded candid v0.10.14 [INFO] [stderr] Downloaded ic-error-types v0.2.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.18.3 [INFO] [stderr] Downloaded tracing-attributes v0.1.29 [INFO] [stderr] Downloaded icrc-ledger-types v0.1.8 [INFO] [stderr] Downloaded ic-cdk v0.18.3 [INFO] [stderr] Downloaded ic-stable-structures v0.6.9 [INFO] [stderr] Downloaded syn v2.0.103 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10ecf0c69b81a1ce6bf8575b9a629edf30da681adb4b18e41d0355f2b25c83cc [INFO] running `Command { std: "docker" "start" "-a" "10ecf0c69b81a1ce6bf8575b9a629edf30da681adb4b18e41d0355f2b25c83cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10ecf0c69b81a1ce6bf8575b9a629edf30da681adb4b18e41d0355f2b25c83cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10ecf0c69b81a1ce6bf8575b9a629edf30da681adb4b18e41d0355f2b25c83cc", kill_on_drop: false }` [INFO] [stdout] 10ecf0c69b81a1ce6bf8575b9a629edf30da681adb4b18e41d0355f2b25c83cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b953b38d4d10030f16d2618e1206e1719691bc716a6b3edf4c411d71cf7b5cad [INFO] running `Command { std: "docker" "start" "-a" "b953b38d4d10030f16d2618e1206e1719691bc716a6b3edf4c411d71cf7b5cad", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling ic-cdk-executor v1.0.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ic0 v0.25.1 [INFO] [stderr] Compiling ic0 v0.24.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ic-error-types v0.2.0 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling ic-stable-structures v0.6.9 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling candid v0.10.14 [INFO] [stderr] Compiling ic-cdk-macros v0.18.3 [INFO] [stderr] Compiling icrc-cbor v0.1.0 [INFO] [stderr] Compiling ic-management-canister-types v0.3.1 [INFO] [stderr] Compiling icrc-ledger-types v0.1.8 [INFO] [stderr] Compiling bity-ic-types v0.1.0 [INFO] [stderr] Compiling ic-cdk v0.18.3 [INFO] [stderr] Compiling ic-cdk-timers v0.12.0 [INFO] [stderr] Compiling bity-ic-canister-time v0.2.0 [INFO] [stderr] Compiling bity-ic-canister-logger v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.07s [INFO] running `Command { std: "docker" "inspect" "b953b38d4d10030f16d2618e1206e1719691bc716a6b3edf4c411d71cf7b5cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b953b38d4d10030f16d2618e1206e1719691bc716a6b3edf4c411d71cf7b5cad", kill_on_drop: false }` [INFO] [stdout] b953b38d4d10030f16d2618e1206e1719691bc716a6b3edf4c411d71cf7b5cad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d9dccf6449aa048ee495d5f4519b513f0d027f485b685db0d8b292ce933e7b2 [INFO] running `Command { std: "docker" "start" "-a" "9d9dccf6449aa048ee495d5f4519b513f0d027f485b685db0d8b292ce933e7b2", kill_on_drop: false }` [INFO] [stderr] Compiling bity-ic-canister-logger v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "9d9dccf6449aa048ee495d5f4519b513f0d027f485b685db0d8b292ce933e7b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d9dccf6449aa048ee495d5f4519b513f0d027f485b685db0d8b292ce933e7b2", kill_on_drop: false }` [INFO] [stdout] 9d9dccf6449aa048ee495d5f4519b513f0d027f485b685db0d8b292ce933e7b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a77eeccb2d1a5b59d6ff5831e2c4845dfe79cb9f84c1206fde9ef3ebc99f2d1f [INFO] running `Command { std: "docker" "start" "-a" "a77eeccb2d1a5b59d6ff5831e2c4845dfe79cb9f84c1206fde9ef3ebc99f2d1f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bity_ic_canister_logger-89fa908203af8c5f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests bity_ic_canister_logger [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - LogBuffer (line 108) ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - LogBuffer (line 108) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bity_dfinity_library` [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | use bity_dfinity_library::canister_logger::LogBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bity_dfinity_library` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bity_dfinity_library`, use `cargo add bity_dfinity_library` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LogEntry` in this scope [INFO] [stdout] --> src/lib.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | buffer.append(LogEntry { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 108 + use bity_ic_canister_logger::LogEntry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bity_dfinity_library` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use bity_dfinity_library::canister_logger::{init, export_logs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `bity_dfinity_library` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bity_dfinity_library`, use `cargo add bity_dfinity_library` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 8) [INFO] [stdout] src/lib.rs - LogBuffer (line 108) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a77eeccb2d1a5b59d6ff5831e2c4845dfe79cb9f84c1206fde9ef3ebc99f2d1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a77eeccb2d1a5b59d6ff5831e2c4845dfe79cb9f84c1206fde9ef3ebc99f2d1f", kill_on_drop: false }` [INFO] [stdout] a77eeccb2d1a5b59d6ff5831e2c4845dfe79cb9f84c1206fde9ef3ebc99f2d1f