[INFO] fetching crate rust-crontab 0.1.1... [INFO] testing rust-crontab-0.1.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rust-crontab 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate rust-crontab 0.1.1 [INFO] finished tweaking crates.io crate rust-crontab 0.1.1 [INFO] tweaked toml for crates.io crate rust-crontab 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-crontab 0.1.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 51 packages to latest compatible versions [INFO] [stderr] Adding mockall v0.11.4 (available: v0.13.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38271c5834957288033e4062cfc9b7905d019f2b97dca91d0ae62773f7aa06aa [INFO] running `Command { std: "docker" "start" "-a" "38271c5834957288033e4062cfc9b7905d019f2b97dca91d0ae62773f7aa06aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38271c5834957288033e4062cfc9b7905d019f2b97dca91d0ae62773f7aa06aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38271c5834957288033e4062cfc9b7905d019f2b97dca91d0ae62773f7aa06aa", kill_on_drop: false }` [INFO] [stdout] 38271c5834957288033e4062cfc9b7905d019f2b97dca91d0ae62773f7aa06aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3e08c154bdd8b8d63069c655255827521d6252c87662ee9c5985d757cfdb1a0 [INFO] running `Command { std: "docker" "start" "-a" "d3e08c154bdd8b8d63069c655255827521d6252c87662ee9c5985d757cfdb1a0", kill_on_drop: false }` [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Compiling rust-crontab v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/crontab.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | / INSTANCE [INFO] [stdout] 20 | | .get_or_insert_with(|| { [INFO] [stdout] 21 | | Arc::new(Mutex::new(Crontab { [INFO] [stdout] 22 | | jobs: vec![], [INFO] [stdout] 23 | | lines: vec![], [INFO] [stdout] 24 | | })) [INFO] [stdout] 25 | | }) [INFO] [stdout] | |__________________^ mutable reference to mutable static [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.25s [INFO] running `Command { std: "docker" "inspect" "d3e08c154bdd8b8d63069c655255827521d6252c87662ee9c5985d757cfdb1a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3e08c154bdd8b8d63069c655255827521d6252c87662ee9c5985d757cfdb1a0", kill_on_drop: false }` [INFO] [stdout] d3e08c154bdd8b8d63069c655255827521d6252c87662ee9c5985d757cfdb1a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 383d2c7e06500a16c5e43510c70676765e766ec3975115d97b7b1e13f711ba18 [INFO] running `Command { std: "docker" "start" "-a" "383d2c7e06500a16c5e43510c70676765e766ec3975115d97b7b1e13f711ba18", kill_on_drop: false }` [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/crontab.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | / INSTANCE [INFO] [stdout] 20 | | .get_or_insert_with(|| { [INFO] [stdout] 21 | | Arc::new(Mutex::new(Crontab { [INFO] [stdout] 22 | | jobs: vec![], [INFO] [stdout] 23 | | lines: vec![], [INFO] [stdout] 24 | | })) [INFO] [stdout] 25 | | }) [INFO] [stdout] | |__________________^ mutable reference to mutable static [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] [INFO] [stdout] [INFO] [stderr] Compiling rust-crontab v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/crontab.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | / INSTANCE [INFO] [stdout] 20 | | .get_or_insert_with(|| { [INFO] [stdout] 21 | | Arc::new(Mutex::new(Crontab { [INFO] [stdout] 22 | | jobs: vec![], [INFO] [stdout] 23 | | lines: vec![], [INFO] [stdout] 24 | | })) [INFO] [stdout] 25 | | }) [INFO] [stdout] | |__________________^ mutable reference to mutable static [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] [INFO] [stdout] [INFO] [stdout] warning: function `test_cron_job__disabled` should have a snake case name [INFO] [stdout] --> src/cronjob.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | fn test_cron_job__disabled() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cron_job_disabled` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "383d2c7e06500a16c5e43510c70676765e766ec3975115d97b7b1e13f711ba18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "383d2c7e06500a16c5e43510c70676765e766ec3975115d97b7b1e13f711ba18", kill_on_drop: false }` [INFO] [stdout] 383d2c7e06500a16c5e43510c70676765e766ec3975115d97b7b1e13f711ba18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a1b968303934c17ae97caa3c9fc58038b28aeeed0b9059382045b281b02d460b [INFO] running `Command { std: "docker" "start" "-a" "a1b968303934c17ae97caa3c9fc58038b28aeeed0b9059382045b281b02d460b", kill_on_drop: false }` [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/crontab.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | / INSTANCE [INFO] [stderr] 20 | | .get_or_insert_with(|| { [INFO] [stderr] 21 | | Arc::new(Mutex::new(Crontab { [INFO] [stderr] 22 | | jobs: vec![], [INFO] [stderr] 23 | | lines: vec![], [INFO] [stderr] 24 | | })) [INFO] [stderr] 25 | | }) [INFO] [stderr] | |__________________^ mutable reference to mutable static [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] [INFO] [stderr] warning: function `test_cron_job__disabled` should have a snake case name [INFO] [stderr] --> src/cronjob.rs:108:8 [INFO] [stderr] | [INFO] [stderr] 108 | fn test_cron_job__disabled() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cron_job_disabled` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-crontab` (lib) generated 1 warning [INFO] [stderr] warning: `rust-crontab` (lib test) generated 2 warnings (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_crontab-4d03523c68b89113) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test cronjob::tests::test_cron_job__disabled ... ok [INFO] [stdout] test cronjob::tests::test_cron_job_new ... ok [INFO] [stdout] test cronjob::tests::test_cron_job_without_comment ... ok [INFO] [stdout] test cronjob::tests::test_cron_job_with_only_cron_expression ... ok [INFO] [stdout] test cronjob::tests::test_empty_cron_job ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rust_crontab [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" "a1b968303934c17ae97caa3c9fc58038b28aeeed0b9059382045b281b02d460b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1b968303934c17ae97caa3c9fc58038b28aeeed0b9059382045b281b02d460b", kill_on_drop: false }` [INFO] [stdout] a1b968303934c17ae97caa3c9fc58038b28aeeed0b9059382045b281b02d460b