[INFO] fetching crate martos 0.4.0... [INFO] testing martos-0.4.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate martos 0.4.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate martos 0.4.0 [INFO] finished tweaking crates.io crate martos 0.4.0 [INFO] tweaked toml for crates.io crate martos 0.4.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate martos 0.4.0 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 127 packages to latest compatible versions [INFO] [stderr] Adding esp-alloc v0.4.0 (available: v0.8.0) [INFO] [stderr] Adding esp-hal v0.20.1 (available: v0.23.1) [INFO] [stderr] Adding esp-wifi v0.9.1 (available: v0.15.0) [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 bitfield v0.16.1 [INFO] [stderr] Downloaded esp-hal-procmacros v0.13.0 [INFO] [stderr] Downloaded esp-metadata v0.3.0 [INFO] [stderr] Downloaded esp-alloc v0.4.0 [INFO] [stderr] Downloaded toml-cfg v0.2.0 [INFO] [stderr] Downloaded esp-wifi v0.9.1 [INFO] [stderr] Downloaded esp-hal v0.20.1 [INFO] [stderr] Downloaded esp-wifi-sys v0.5.0 [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] 24b31f664040d381162af259c4fbe6d0729cbbca871f608706df011d31ae6a28 [INFO] running `Command { std: "docker" "start" "-a" "24b31f664040d381162af259c4fbe6d0729cbbca871f608706df011d31ae6a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24b31f664040d381162af259c4fbe6d0729cbbca871f608706df011d31ae6a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24b31f664040d381162af259c4fbe6d0729cbbca871f608706df011d31ae6a28", kill_on_drop: false }` [INFO] [stdout] 24b31f664040d381162af259c4fbe6d0729cbbca871f608706df011d31ae6a28 [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] 976ffe35da10971d54a2b851fb54091a083fc331f79c03f91d421ceb34050306 [INFO] running `Command { std: "docker" "start" "-a" "976ffe35da10971d54a2b851fb54091a083fc331f79c03f91d421ceb34050306", kill_on_drop: false }` [INFO] [stderr] Compiling martos v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/task_manager.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | TASK_MANAGER.tasks.push(future_task); [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: creating a shared reference to mutable static [INFO] [stdout] --> src/task_manager.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | if unsafe { !TASK_MANAGER.tasks.is_empty() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/task_manager.rs:145:61 [INFO] [stdout] | [INFO] [stdout] 145 | if TASK_MANAGER.task_to_execute_index + 1 < TASK_MANAGER.tasks.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "976ffe35da10971d54a2b851fb54091a083fc331f79c03f91d421ceb34050306", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "976ffe35da10971d54a2b851fb54091a083fc331f79c03f91d421ceb34050306", kill_on_drop: false }` [INFO] [stdout] 976ffe35da10971d54a2b851fb54091a083fc331f79c03f91d421ceb34050306 [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] 2b069563318d586be2e4b9d432f4016fdd1ce510c1650818457849456b2ed77b [INFO] running `Command { std: "docker" "start" "-a" "2b069563318d586be2e4b9d432f4016fdd1ce510c1650818457849456b2ed77b", kill_on_drop: false }` [INFO] [stderr] Compiling sequential-macro v0.1.4 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/task_manager.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | TASK_MANAGER.tasks.push(future_task); [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: creating a shared reference to mutable static [INFO] [stdout] --> src/task_manager.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | if unsafe { !TASK_MANAGER.tasks.is_empty() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/task_manager.rs:145:61 [INFO] [stdout] | [INFO] [stdout] 145 | if TASK_MANAGER.task_to_execute_index + 1 < TASK_MANAGER.tasks.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sequential-test v0.2.4 [INFO] [stderr] Compiling martos v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/task_manager.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | TASK_MANAGER.tasks.push(future_task); [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: creating a shared reference to mutable static [INFO] [stdout] --> src/task_manager.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | if unsafe { !TASK_MANAGER.tasks.is_empty() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/task_manager.rs:145:61 [INFO] [stdout] | [INFO] [stdout] 145 | if TASK_MANAGER.task_to_execute_index + 1 < TASK_MANAGER.tasks.len() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "2b069563318d586be2e4b9d432f4016fdd1ce510c1650818457849456b2ed77b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b069563318d586be2e4b9d432f4016fdd1ce510c1650818457849456b2ed77b", kill_on_drop: false }` [INFO] [stdout] 2b069563318d586be2e4b9d432f4016fdd1ce510c1650818457849456b2ed77b [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] 0f3e2c9f6ae3b3894485687106e1fb1786e12f8c60e463d24160a0b40e0fb7e3 [INFO] running `Command { std: "docker" "start" "-a" "0f3e2c9f6ae3b3894485687106e1fb1786e12f8c60e463d24160a0b40e0fb7e3", kill_on_drop: false }` [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/task_manager.rs:127:13 [INFO] [stderr] | [INFO] [stderr] 127 | TASK_MANAGER.tasks.push(future_task); [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: creating a shared reference to mutable static [INFO] [stderr] --> src/task_manager.rs:135:22 [INFO] [stderr] | [INFO] [stderr] 135 | if unsafe { !TASK_MANAGER.tasks.is_empty() } { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/task_manager.rs:145:61 [INFO] [stderr] | [INFO] [stderr] 145 | if TASK_MANAGER.task_to_execute_index + 1 < TASK_MANAGER.tasks.len() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `martos` (lib) generated 3 warnings [INFO] [stderr] warning: `martos` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/martos-250cedd2084b5cec) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running tests/unit_tests.rs (/opt/rustwide/target/debug/deps/unit_tests-ee4335f08091ca74) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test unit_tests::test_loop_timer ... ok [INFO] [stdout] test unit_tests::test_one_finite_task_task_manager ... ok [INFO] [stdout] test unit_tests::test_stop_condition_timer ... ok [INFO] [stdout] test unit_tests::test_one_infinite_task_task_manager ... ok [INFO] [stdout] test unit_tests::test_setup_task_manager ... ok [INFO] [stdout] test unit_tests::test_empty_task_manager ... ok [INFO] [stdout] test unit_tests::test_setup_timer ... ok [INFO] [stdout] test unit_tests::test_two_finite_tasks_task_manager ... ok [INFO] [stdout] test unit_tests::test_two_different_tasks_task_manager ... ok [INFO] [stdout] test unit_tests::test_two_infinite_tasks_task_manager ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests martos [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" "0f3e2c9f6ae3b3894485687106e1fb1786e12f8c60e463d24160a0b40e0fb7e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f3e2c9f6ae3b3894485687106e1fb1786e12f8c60e463d24160a0b40e0fb7e3", kill_on_drop: false }` [INFO] [stdout] 0f3e2c9f6ae3b3894485687106e1fb1786e12f8c60e463d24160a0b40e0fb7e3