[INFO] cloning repository https://github.com/jhbruhn/moonboot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jhbruhn/moonboot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhbruhn%2Fmoonboot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhbruhn%2Fmoonboot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] efadc79b9edaeec0366ae6ab2276290bc09a46cd [INFO] checking jhbruhn/moonboot against try#099af82bc034c1e4895c90e5407fafdd61976cdb for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhbruhn%2Fmoonboot" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jhbruhn/moonboot [INFO] finished tweaking git repo https://github.com/jhbruhn/moonboot [INFO] tweaked toml for git repo https://github.com/jhbruhn/moonboot written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jhbruhn/moonboot on toolchain 099af82bc034c1e4895c90e5407fafdd61976cdb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jhbruhn/moonboot 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" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded defmt-macros v0.2.3 [INFO] [stderr] Downloaded desse-derive v0.2.1 [INFO] [stderr] Downloaded desse v0.2.1 [INFO] [stderr] Downloaded defmt v0.2.3 [INFO] [stderr] Downloaded heapless v0.7.10 [INFO] [stderr] Downloaded defmt-parser v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 571afcf1a303f4468aaa5b4d5626a9e84bed78c24e6cd1cd06b0b4870b5ee908 [INFO] running `Command { std: "docker" "start" "-a" "571afcf1a303f4468aaa5b4d5626a9e84bed78c24e6cd1cd06b0b4870b5ee908", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "571afcf1a303f4468aaa5b4d5626a9e84bed78c24e6cd1cd06b0b4870b5ee908", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "571afcf1a303f4468aaa5b4d5626a9e84bed78c24e6cd1cd06b0b4870b5ee908", kill_on_drop: false }` [INFO] [stdout] 571afcf1a303f4468aaa5b4d5626a9e84bed78c24e6cd1cd06b0b4870b5ee908 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+099af82bc034c1e4895c90e5407fafdd61976cdb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4568d9d9110e086cfb8bd89ad646ab47ab3a64147baff17a78be3420aa1de33f [INFO] running `Command { std: "docker" "start" "-a" "4568d9d9110e086cfb8bd89ad646ab47ab3a64147baff17a78be3420aa1de33f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling heapless v0.7.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking crc-catalog v1.1.1 [INFO] [stderr] Checking embedded-storage v0.2.0 [INFO] [stderr] Checking crc v2.1.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Compiling desse-derive v0.2.1 [INFO] [stderr] Checking desse v0.2.1 [INFO] [stderr] Checking moonboot-macros v0.1.2 (/opt/rustwide/workdir/macros) [INFO] [stderr] Checking moonboot v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/state.rs:126:46 [INFO] [stdout] | [INFO] [stdout] 126 | let checksum = checksum(unsafe { &_moonboot_state_data_start }); [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 126 | let checksum = checksum(unsafe { &raw const _moonboot_state_data_start }); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/state.rs:129:62 [INFO] [stdout] | [INFO] [stdout] 129 | MoonbootState::deserialize_from(unsafe { &_moonboot_state_data_start }); [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 129 | MoonbootState::deserialize_from(unsafe { &raw const _moonboot_state_data_start }); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/state.rs:150:54 [INFO] [stdout] | [INFO] [stdout] 150 | _moonboot_state_crc_start = checksum(&_moonboot_state_data_start); [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 150 | _moonboot_state_crc_start = checksum(&raw const _moonboot_state_data_start); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking moonboot-codegen v0.1.2 (/opt/rustwide/workdir/codegen) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/state.rs:126:46 [INFO] [stdout] | [INFO] [stdout] 126 | let checksum = checksum(unsafe { &_moonboot_state_data_start }); [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 126 | let checksum = checksum(unsafe { &raw const _moonboot_state_data_start }); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/state.rs:129:62 [INFO] [stdout] | [INFO] [stdout] 129 | MoonbootState::deserialize_from(unsafe { &_moonboot_state_data_start }); [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 129 | MoonbootState::deserialize_from(unsafe { &raw const _moonboot_state_data_start }); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/state.rs:150:54 [INFO] [stdout] | [INFO] [stdout] 150 | _moonboot_state_crc_start = checksum(&_moonboot_state_data_start); [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 150 | _moonboot_state_crc_start = checksum(&raw const _moonboot_state_data_start); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.46s [INFO] running `Command { std: "docker" "inspect" "4568d9d9110e086cfb8bd89ad646ab47ab3a64147baff17a78be3420aa1de33f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4568d9d9110e086cfb8bd89ad646ab47ab3a64147baff17a78be3420aa1de33f", kill_on_drop: false }` [INFO] [stdout] 4568d9d9110e086cfb8bd89ad646ab47ab3a64147baff17a78be3420aa1de33f