[INFO] fetching crate bity-ic-canister-time 0.2.1... [INFO] testing bity-ic-canister-time-0.2.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate bity-ic-canister-time 0.2.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate bity-ic-canister-time 0.2.1 [INFO] finished tweaking crates.io crate bity-ic-canister-time 0.2.1 [INFO] tweaked toml for crates.io crate bity-ic-canister-time 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bity-ic-canister-time 0.2.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bity-ic-canister-time 0.2.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded candid_derive v0.10.17 [INFO] [stderr] Downloaded bity-ic-types v0.1.1 [INFO] [stderr] Downloaded ic-cdk-executor v1.0.1 [INFO] [stderr] Downloaded candid v0.10.17 [INFO] [stderr] Downloaded ic-cdk-macros v0.18.5 [INFO] [stderr] Downloaded icrc-ledger-types v0.1.10 [INFO] [stderr] Downloaded ic-cdk-timers v0.12.2 [INFO] [stderr] Downloaded ic-cdk v0.18.5 [INFO] [stderr] Downloaded ic0 v1.0.0 [INFO] [stderr] Downloaded ic-management-canister-types v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebb1194078e85f1f636886dfea51eab1a7e737add8d41393497dbf861a3eac25 [INFO] running `Command { std: "docker" "start" "-a" "ebb1194078e85f1f636886dfea51eab1a7e737add8d41393497dbf861a3eac25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebb1194078e85f1f636886dfea51eab1a7e737add8d41393497dbf861a3eac25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebb1194078e85f1f636886dfea51eab1a7e737add8d41393497dbf861a3eac25", kill_on_drop: false }` [INFO] [stdout] ebb1194078e85f1f636886dfea51eab1a7e737add8d41393497dbf861a3eac25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17d4f3404a30126602f8edc7a4d1dc50a66b1d446f81f58e2a93cd0f44be46c8 [INFO] running `Command { std: "docker" "start" "-a" "17d4f3404a30126602f8edc7a4d1dc50a66b1d446f81f58e2a93cd0f44be46c8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.14 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling ic-cdk-executor v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling ic0 v1.0.0 [INFO] [stderr] Compiling ic0 v0.25.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.105 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.10.17 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.14 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.11 [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 deranged v0.4.0 [INFO] [stderr] Compiling ic-error-types v0.2.0 [INFO] [stderr] Compiling ic-stable-structures v0.6.9 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling candid v0.10.17 [INFO] [stderr] Compiling icrc-cbor v0.1.0 [INFO] [stderr] Compiling ic-management-canister-types v0.3.2 [INFO] [stderr] Compiling icrc-ledger-types v0.1.10 [INFO] [stderr] Compiling ic-cdk-macros v0.18.5 [INFO] [stderr] Compiling ic-cdk v0.18.5 [INFO] [stderr] Compiling bity-ic-types v0.1.1 [INFO] [stderr] Compiling ic-cdk-timers v0.12.2 [INFO] [stderr] Compiling bity-ic-canister-time v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.25s [INFO] running `Command { std: "docker" "inspect" "17d4f3404a30126602f8edc7a4d1dc50a66b1d446f81f58e2a93cd0f44be46c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17d4f3404a30126602f8edc7a4d1dc50a66b1d446f81f58e2a93cd0f44be46c8", kill_on_drop: false }` [INFO] [stdout] 17d4f3404a30126602f8edc7a4d1dc50a66b1d446f81f58e2a93cd0f44be46c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8347f3eb2a109a98673b92cdf444138adc52f468d479b10e17e1b7f77371121c [INFO] running `Command { std: "docker" "start" "-a" "8347f3eb2a109a98673b92cdf444138adc52f468d479b10e17e1b7f77371121c", kill_on_drop: false }` [INFO] [stderr] Compiling bity-ic-canister-time v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/lib.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | let now = datetime!(2024-11-23 10:52:11 UTC); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mock_func` [INFO] [stdout] --> src/lib.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | let mock_func = || { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mock_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mock_func` [INFO] [stdout] --> src/lib.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | let mock_func = || { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mock_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "8347f3eb2a109a98673b92cdf444138adc52f468d479b10e17e1b7f77371121c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8347f3eb2a109a98673b92cdf444138adc52f468d479b10e17e1b7f77371121c", kill_on_drop: false }` [INFO] [stdout] 8347f3eb2a109a98673b92cdf444138adc52f468d479b10e17e1b7f77371121c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5c9b371147a6df255019890250c378fcd0e786405a2fd8bca652972ea9a74a00 [INFO] running `Command { std: "docker" "start" "-a" "5c9b371147a6df255019890250c378fcd0e786405a2fd8bca652972ea9a74a00", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `now` [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:257:13 [INFO] [stdout] running 2 tests [INFO] [stderr] | [INFO] [stdout] test tests::test_calculate_next_weekday_timestamp ... ok [INFO] [stderr] 257 | let now = datetime!(2024-11-23 10:52:11 UTC); [INFO] [stdout] test tests::test_calculate_next_timestamp ... ok [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mock_func` [INFO] [stderr] --> src/lib.rs:291:13 [INFO] [stderr] | [INFO] [stderr] 291 | let mock_func = || { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mock_func` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mock_func` [INFO] [stderr] --> src/lib.rs:310:13 [INFO] [stderr] | [INFO] [stderr] 310 | let mock_func = || { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mock_func` [INFO] [stderr] [INFO] [stderr] warning: `bity-ic-canister-time` (lib test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bity_ic_canister_time-9cfb0d7d30a75509) [INFO] [stderr] Doc-tests bity_ic_canister_time [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `icrc7_nft` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 3 | use icrc7_nft::libraries::canister_time::{timestamp_millis, run_interval}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `icrc7_nft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `icrc7_nft`, use `cargo add icrc7_nft` 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] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5c9b371147a6df255019890250c378fcd0e786405a2fd8bca652972ea9a74a00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c9b371147a6df255019890250c378fcd0e786405a2fd8bca652972ea9a74a00", kill_on_drop: false }` [INFO] [stdout] 5c9b371147a6df255019890250c378fcd0e786405a2fd8bca652972ea9a74a00