[INFO] fetching crate ic-cron 0.7.1... [INFO] testing ic-cron-0.7.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate ic-cron 0.7.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate ic-cron 0.7.1 [INFO] finished tweaking crates.io crate ic-cron 0.7.1 [INFO] tweaked toml for crates.io crate ic-cron 0.7.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ic-cron 0.7.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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 128 packages to latest compatible versions [INFO] [stderr] Adding candid v0.8.4 (available: v0.10.17) [INFO] [stderr] Adding ic-cdk v0.6.10 (available: v0.18.7) [INFO] [stderr] Adding ic-cdk-macros v0.6.10 (available: v0.18.7) [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] Downloading crates ... [INFO] [stderr] Downloaded ic-cdk v0.6.10 [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] 0f313644bb08ec8397e611ba463a37bb03cb0affb2971f518ca744051bd6d698 [INFO] running `Command { std: "docker" "start" "-a" "0f313644bb08ec8397e611ba463a37bb03cb0affb2971f518ca744051bd6d698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f313644bb08ec8397e611ba463a37bb03cb0affb2971f518ca744051bd6d698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f313644bb08ec8397e611ba463a37bb03cb0affb2971f518ca744051bd6d698", kill_on_drop: false }` [INFO] [stdout] 0f313644bb08ec8397e611ba463a37bb03cb0affb2971f518ca744051bd6d698 [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] 76cbe9dc6a63689a58c872b09effc109568c739f07277c434d81462bcfe31025 [INFO] running `Command { std: "docker" "start" "-a" "76cbe9dc6a63689a58c872b09effc109568c739f07277c434d81462bcfe31025", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic0 v0.18.11 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling ic-cdk-macros v0.6.10 [INFO] [stderr] Compiling ic-cdk v0.6.10 [INFO] [stderr] Compiling ic-cron v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.64s [INFO] running `Command { std: "docker" "inspect" "76cbe9dc6a63689a58c872b09effc109568c739f07277c434d81462bcfe31025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76cbe9dc6a63689a58c872b09effc109568c739f07277c434d81462bcfe31025", kill_on_drop: false }` [INFO] [stdout] 76cbe9dc6a63689a58c872b09effc109568c739f07277c434d81462bcfe31025 [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] d5bcae9b1acfb842baf0cb5615ddf3a21c6418716cddb30b5261c5aa3066fdd2 [INFO] running `Command { std: "docker" "start" "-a" "d5bcae9b1acfb842baf0cb5615ddf3a21c6418716cddb30b5261c5aa3066fdd2", kill_on_drop: false }` [INFO] [stderr] Compiling ic-cron v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `tasks` [INFO] [stdout] --> src/macros.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let tasks = cron_ready_tasks(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tasks` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_id_1` [INFO] [stdout] --> src/task_scheduler.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | let task_id_1 = scheduler [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_id_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cron_enqueue` is never used [INFO] [stdout] --> src/macros.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn cron_enqueue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | implement_cron!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `implement_cron` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cron_dequeue` is never used [INFO] [stdout] --> src/macros.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn cron_dequeue( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | implement_cron!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_cron` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/macros.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | match _CRON_STATE.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 59 | implement_cron!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `implement_cron` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/macros.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | unsafe { _CRON_STATE.take() } [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 59 | implement_cron!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: this warning originates in the macro `implement_cron` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.90s [INFO] running `Command { std: "docker" "inspect" "d5bcae9b1acfb842baf0cb5615ddf3a21c6418716cddb30b5261c5aa3066fdd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5bcae9b1acfb842baf0cb5615ddf3a21c6418716cddb30b5261c5aa3066fdd2", kill_on_drop: false }` [INFO] [stdout] d5bcae9b1acfb842baf0cb5615ddf3a21c6418716cddb30b5261c5aa3066fdd2 [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] f38c99fe225e6e3f3ef12847a71dad576c296911b0592d3cac443ea2c031cb01 [INFO] running `Command { std: "docker" "start" "-a" "f38c99fe225e6e3f3ef12847a71dad576c296911b0592d3cac443ea2c031cb01", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `tasks` [INFO] [stderr] --> src/macros.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | let tasks = cron_ready_tasks(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tasks` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `task_id_1` [INFO] [stderr] --> src/task_scheduler.rs:327:13 [INFO] [stderr] | [INFO] [stderr] 327 | let task_id_1 = scheduler [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_id_1` [INFO] [stderr] [INFO] [stderr] warning: function `cron_enqueue` is never used [INFO] [stderr] --> src/macros.rs:28:16 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn cron_enqueue( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | implement_cron!(); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `implement_cron` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `cron_dequeue` is never used [INFO] [stderr] --> src/macros.rs:39:16 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn cron_dequeue( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | implement_cron!(); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `implement_cron` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/macros.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | match _CRON_STATE.as_mut() { [INFO] [stderr] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 59 | implement_cron!(); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `implement_cron` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/macros.rs:19:22 [INFO] [stderr] | [INFO] [stderr] 19 | unsafe { _CRON_STATE.take() } [INFO] [stderr] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 59 | implement_cron!(); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: this warning originates in the macro `implement_cron` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `ic-cron` (lib test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ic_cron-f6365ac414275c28) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test task_scheduler::tests::main_flow_works_fine ... ok [INFO] [stderr] Doc-tests ic_cron [INFO] [stdout] test macros::tests::no_op ... ok [INFO] [stdout] test task_scheduler::tests::ser_de_works_fine ... ok [INFO] [stdout] test task_scheduler::tests::delay_works_fine ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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] running `Command { std: "docker" "inspect" "f38c99fe225e6e3f3ef12847a71dad576c296911b0592d3cac443ea2c031cb01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f38c99fe225e6e3f3ef12847a71dad576c296911b0592d3cac443ea2c031cb01", kill_on_drop: false }` [INFO] [stdout] f38c99fe225e6e3f3ef12847a71dad576c296911b0592d3cac443ea2c031cb01