[INFO] fetching crate ic-cron 0.5.1... [INFO] testing ic-cron-0.5.1 against 1.59.0 for beta-1.60-1 [INFO] extracting crate ic-cron 0.5.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate ic-cron 0.5.1 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ic-cron 0.5.1 [INFO] finished tweaking crates.io crate ic-cron 0.5.1 [INFO] tweaked toml for crates.io crate ic-cron 0.5.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 846bf4e2dd4f78cd5e63ec03ef0784c2ceb946f12343104d1146e0345c70d7e9 [INFO] running `Command { std: "docker" "start" "-a" "846bf4e2dd4f78cd5e63ec03ef0784c2ceb946f12343104d1146e0345c70d7e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "846bf4e2dd4f78cd5e63ec03ef0784c2ceb946f12343104d1146e0345c70d7e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "846bf4e2dd4f78cd5e63ec03ef0784c2ceb946f12343104d1146e0345c70d7e9", kill_on_drop: false }` [INFO] [stdout] 846bf4e2dd4f78cd5e63ec03ef0784c2ceb946f12343104d1146e0345c70d7e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8f5fd00463fd4074a1c92f17825e6a30990a07e704ea8e8fc30fa13a75f6a390 [INFO] running `Command { std: "docker" "start" "-a" "8f5fd00463fd4074a1c92f17825e6a30990a07e704ea8e8fc30fa13a75f6a390", kill_on_drop: false }` [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling string_cache v0.8.3 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_tokenstream v0.1.3 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling ic-types v0.3.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling num_enum_derive v0.5.6 [INFO] [stderr] Compiling lalrpop v0.19.7 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling num_enum v0.5.6 [INFO] [stderr] Compiling logos v0.12.0 [INFO] [stderr] Compiling candid v0.7.11 [INFO] [stderr] Compiling ic-cdk v0.3.3 [INFO] [stderr] Compiling ic-cdk-macros v0.3.3 [INFO] [stderr] Compiling ic-cron v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "8f5fd00463fd4074a1c92f17825e6a30990a07e704ea8e8fc30fa13a75f6a390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f5fd00463fd4074a1c92f17825e6a30990a07e704ea8e8fc30fa13a75f6a390", kill_on_drop: false }` [INFO] [stdout] 8f5fd00463fd4074a1c92f17825e6a30990a07e704ea8e8fc30fa13a75f6a390 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32877d5f497a0b699012c32f97df07014242469da7a026cc1563a265aad4d6a3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "32877d5f497a0b699012c32f97df07014242469da7a026cc1563a265aad4d6a3", kill_on_drop: false }` [INFO] [stderr] Compiling ic-cron v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `tasks` [INFO] [stdout] --> src/macros.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_id_1` [INFO] [stdout] --> src/task_scheduler.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | 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 is never used: `cron_enqueue` [INFO] [stdout] --> src/macros.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / pub fn cron_enqueue( [INFO] [stdout] 25 | | payload: Payload, [INFO] [stdout] 26 | | scheduling_interval: ic_cron::types::SchedulingInterval, [INFO] [stdout] 27 | | ) -> ic_cdk::export::candid::Result { [INFO] [stdout] ... | [INFO] [stdout] 32 | | Ok(id) [INFO] [stdout] 33 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 55 | implement_cron!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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 is never used: `cron_dequeue` [INFO] [stdout] --> src/macros.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / pub fn cron_dequeue( [INFO] [stdout] 36 | | task_id: ic_cron::types::TaskId, [INFO] [stdout] 37 | | ) -> Option { [INFO] [stdout] 38 | | get_cron_state().dequeue(task_id) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 55 | 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.62s [INFO] running `Command { std: "docker" "inspect" "32877d5f497a0b699012c32f97df07014242469da7a026cc1563a265aad4d6a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32877d5f497a0b699012c32f97df07014242469da7a026cc1563a265aad4d6a3", kill_on_drop: false }` [INFO] [stdout] 32877d5f497a0b699012c32f97df07014242469da7a026cc1563a265aad4d6a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e4fb48e2ed4aafa5937a8459ba77725fbb1a22c08ff4a64fb3d29c7e7ec87a65 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e4fb48e2ed4aafa5937a8459ba77725fbb1a22c08ff4a64fb3d29c7e7ec87a65", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `tasks` [INFO] [stderr] --> src/macros.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | 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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `task_id_1` [INFO] [stderr] --> src/task_scheduler.rs:319:13 [INFO] [stderr] | [INFO] [stderr] 319 | 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 is never used: `cron_enqueue` [INFO] [stderr] --> src/macros.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | / pub fn cron_enqueue( [INFO] [stderr] 25 | | payload: Payload, [INFO] [stderr] 26 | | scheduling_interval: ic_cron::types::SchedulingInterval, [INFO] [stderr] 27 | | ) -> ic_cdk::export::candid::Result { [INFO] [stderr] ... | [INFO] [stderr] 32 | | Ok(id) [INFO] [stderr] 33 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] ... [INFO] [stderr] 55 | implement_cron!(); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` 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 is never used: `cron_dequeue` [INFO] [stderr] --> src/macros.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | / pub fn cron_dequeue( [INFO] [stderr] 36 | | task_id: ic_cron::types::TaskId, [INFO] [stderr] 37 | | ) -> Option { [INFO] [stderr] 38 | | get_cron_state().dequeue(task_id) [INFO] [stderr] 39 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] ... [INFO] [stderr] 55 | 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: `ic-cron` (lib test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ic_cron-ba478c11bb7d7f16) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test macros::tests::no_op ... ok [INFO] [stdout] test task_scheduler::tests::delay_works_fine ... ok [INFO] [stdout] test task_scheduler::tests::main_flow_works_fine ... ok [INFO] [stdout] test task_scheduler::tests::ser_de_works_fine ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests ic-cron [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" "e4fb48e2ed4aafa5937a8459ba77725fbb1a22c08ff4a64fb3d29c7e7ec87a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4fb48e2ed4aafa5937a8459ba77725fbb1a22c08ff4a64fb3d29c7e7ec87a65", kill_on_drop: false }` [INFO] [stdout] e4fb48e2ed4aafa5937a8459ba77725fbb1a22c08ff4a64fb3d29c7e7ec87a65