[INFO] fetching crate linux-bootloader 0.0.1... [INFO] testing linux-bootloader-0.0.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate linux-bootloader 0.0.1 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate linux-bootloader 0.0.1 [INFO] finished tweaking crates.io crate linux-bootloader 0.0.1 [INFO] tweaked toml for crates.io crate linux-bootloader 0.0.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate linux-bootloader 0.0.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] [stderr] Adding goblin v0.6.1 (available: v0.10.5) [INFO] [stderr] Adding uefi v0.24.0 (available: v0.37.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d7565c47ea1471048b4c69c3137c2d2d6a91aaa886b25fe4ae3648c2d63fc77 [INFO] running `Command { std: "docker" "start" "-a" "5d7565c47ea1471048b4c69c3137c2d2d6a91aaa886b25fe4ae3648c2d63fc77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d7565c47ea1471048b4c69c3137c2d2d6a91aaa886b25fe4ae3648c2d63fc77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d7565c47ea1471048b4c69c3137c2d2d6a91aaa886b25fe4ae3648c2d63fc77", kill_on_drop: false }` [INFO] [stdout] 5d7565c47ea1471048b4c69c3137c2d2d6a91aaa886b25fe4ae3648c2d63fc77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 118722739d5a5299b8dd74d502c66d0e3aa67656d1fa20f4f37533bdf5cc88df [INFO] running `Command { std: "docker" "start" "-a" "118722739d5a5299b8dd74d502c66d0e3aa67656d1fa20f4f37533bdf5cc88df", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling uguid v2.2.1 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling scroll_derive v0.11.1 [INFO] [stderr] Compiling uefi-macros v0.12.0 [INFO] [stderr] Compiling ucs2 v0.3.3 [INFO] [stderr] Compiling scroll v0.11.0 [INFO] [stderr] Compiling goblin v0.6.1 [INFO] [stderr] Compiling ptr_meta_derive v0.2.0 [INFO] [stderr] Compiling ptr_meta v0.2.0 [INFO] [stderr] Compiling uefi-raw v0.3.0 [INFO] [stderr] Compiling uefi v0.24.0 [INFO] [stderr] Compiling linux-bootloader v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/linux_loader.rs:131:37 [INFO] [stdout] | [INFO] [stdout] 131 | let dp_proto: *mut u8 = DEVICE_PATH_PROTOCOL.as_mut_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tpm.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | fn open_capable_tpm2(boot_services: &BootServices) -> uefi::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn open_capable_tpm2(boot_services: &BootServices) -> uefi::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tpm.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | fn open_capable_tpm1(boot_services: &BootServices) -> uefi::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | fn open_capable_tpm1(boot_services: &BootServices) -> uefi::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.35s [INFO] running `Command { std: "docker" "inspect" "118722739d5a5299b8dd74d502c66d0e3aa67656d1fa20f4f37533bdf5cc88df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "118722739d5a5299b8dd74d502c66d0e3aa67656d1fa20f4f37533bdf5cc88df", kill_on_drop: false }` [INFO] [stdout] 118722739d5a5299b8dd74d502c66d0e3aa67656d1fa20f4f37533bdf5cc88df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45b5ef18dae5ec039a8569b8a8e4ae3f83e1604527aeec4a3b07641cd377fee9 [INFO] running `Command { std: "docker" "start" "-a" "45b5ef18dae5ec039a8569b8a8e4ae3f83e1604527aeec4a3b07641cd377fee9", kill_on_drop: false }` [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/linux_loader.rs:131:37 [INFO] [stdout] | [INFO] [stdout] 131 | let dp_proto: *mut u8 = DEVICE_PATH_PROTOCOL.as_mut_ptr(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [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: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tpm.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | fn open_capable_tpm2(boot_services: &BootServices) -> uefi::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn open_capable_tpm2(boot_services: &BootServices) -> uefi::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tpm.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | fn open_capable_tpm1(boot_services: &BootServices) -> uefi::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | fn open_capable_tpm1(boot_services: &BootServices) -> uefi::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling linux-bootloader v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add` in this scope [INFO] [stdout] --> src/lib.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let result = add(2, 2); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: use the `.` operator to call the method `Add::add` on `{integer}` [INFO] [stdout] | [INFO] [stdout] 20 - let result = add(2, 2); [INFO] [stdout] 20 + let result = 2.add(2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `linux-bootloader` (lib test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "45b5ef18dae5ec039a8569b8a8e4ae3f83e1604527aeec4a3b07641cd377fee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45b5ef18dae5ec039a8569b8a8e4ae3f83e1604527aeec4a3b07641cd377fee9", kill_on_drop: false }` [INFO] [stdout] 45b5ef18dae5ec039a8569b8a8e4ae3f83e1604527aeec4a3b07641cd377fee9