[INFO] cloning repository https://github.com/raccog/toy-bootboot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raccog/toy-bootboot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraccog%2Ftoy-bootboot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraccog%2Ftoy-bootboot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d3df8e6760c2934f82988255e27578425dc0605 [INFO] checking raccog/toy-bootboot against try#50d7e48beb74b48bd17c3749bfb73843c9ae0166 for pr-151102 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraccog%2Ftoy-bootboot" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/raccog/toy-bootboot [INFO] finished tweaking git repo https://github.com/raccog/toy-bootboot [INFO] tweaked toml for git repo https://github.com/raccog/toy-bootboot written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/raccog/toy-bootboot on toolchain 50d7e48beb74b48bd17c3749bfb73843c9ae0166 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/raccog/toy-bootboot 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" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ucs2 v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a2fa91558ebc6e265d84f0dc2131485d592cc6aacbe3e99369f56e55f820b61 [INFO] running `Command { std: "docker" "start" "-a" "2a2fa91558ebc6e265d84f0dc2131485d592cc6aacbe3e99369f56e55f820b61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a2fa91558ebc6e265d84f0dc2131485d592cc6aacbe3e99369f56e55f820b61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a2fa91558ebc6e265d84f0dc2131485d592cc6aacbe3e99369f56e55f820b61", kill_on_drop: false }` [INFO] [stdout] 2a2fa91558ebc6e265d84f0dc2131485d592cc6aacbe3e99369f56e55f820b61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f023eda931be9600f4cb4063d861b9487dff74b0f7296b9f79718045534ea4a [INFO] running `Command { std: "docker" "start" "-a" "4f023eda931be9600f4cb4063d861b9487dff74b0f7296b9f79718045534ea4a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Checking ucs2 v0.3.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling uefi-macros v0.7.0 (https://github.com/rust-osdev/uefi-rs.git?branch=main#d2f0b3d8) [INFO] [stderr] Checking uefi v0.16.0 (https://github.com/rust-osdev/uefi-rs.git?branch=main#d2f0b3d8) [INFO] [stdout] error[E0599]: no function or associated item named `slice_assume_init_ref` found for union `MaybeUninit` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/uefi-rs-52679313d0b2418e/d2f0b3d/src/data_types/strs.rs:408:26 [INFO] [stdout] | [INFO] [stdout] 408 | MaybeUninit::slice_assume_init_ref(buf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `MaybeUninit<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `MaybeUninit<_>` consider using one of the following associated functions: [INFO] [stdout] MaybeUninit::::new [INFO] [stdout] MaybeUninit::::uninit [INFO] [stdout] MaybeUninit::::zeroed [INFO] [stdout] --> /rustc/50d7e48beb74b48bd17c3749bfb73843c9ae0166/library/core/src/mem/maybe_uninit.rs:396:4 [INFO] [stdout] help: there is a method `assume_init_ref` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/50d7e48beb74b48bd17c3749bfb73843c9ae0166/library/core/src/mem/maybe_uninit.rs:875:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/uefi-rs-52679313d0b2418e/d2f0b3d/src/proto/device_path/mod.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | &*ptr::from_raw_parts(ptr.cast(), data_len) [INFO] [stdout] | ------------------- ^^^^ cannot infer type of the type parameter `U` declared on the method `cast` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `core::ptr::from_raw_parts` [INFO] [stdout] --> /rustc/50d7e48beb74b48bd17c3749bfb73843c9ae0166/library/core/src/ptr/metadata.rs:116:0 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 128 | &*ptr::from_raw_parts(ptr.cast::(), data_len) [INFO] [stdout] | +++++ [INFO] [stdout] help: consider removing this method call, as the receiver has type `*const FfiDevicePath` and `*const FfiDevicePath: Thin` trivially holds [INFO] [stdout] | [INFO] [stdout] 128 - &*ptr::from_raw_parts(ptr.cast(), data_len) [INFO] [stdout] 128 + &*ptr::from_raw_parts(ptr, data_len) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/uefi-rs-52679313d0b2418e/d2f0b3d/src/proto/device_path/mod.rs:174:75 [INFO] [stdout] | [INFO] [stdout] 174 | let p: *const FilePathMediaDevicePath = ptr::from_raw_parts(p.cast(), path_name_len); [INFO] [stdout] | ------------------- ^^^^ cannot infer type of the type parameter `U` declared on the method `cast` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `core::ptr::from_raw_parts` [INFO] [stdout] --> /rustc/50d7e48beb74b48bd17c3749bfb73843c9ae0166/library/core/src/ptr/metadata.rs:116:0 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 174 | let p: *const FilePathMediaDevicePath = ptr::from_raw_parts(p.cast::(), path_name_len); [INFO] [stdout] | +++++ [INFO] [stdout] help: consider removing this method call, as the receiver has type `*const DevicePathNode` and `*const DevicePathNode: Thin` trivially holds [INFO] [stdout] | [INFO] [stdout] 174 - let p: *const FilePathMediaDevicePath = ptr::from_raw_parts(p.cast(), path_name_len); [INFO] [stdout] 174 + let p: *const FilePathMediaDevicePath = ptr::from_raw_parts(p, path_name_len); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/uefi-rs-52679313d0b2418e/d2f0b3d/src/proto/device_path/mod.rs:229:33 [INFO] [stdout] | [INFO] [stdout] 229 | ptr::from_raw_parts(ptr.cast(), Self::size_in_bytes_from_ptr(ptr)) [INFO] [stdout] | ------------------- ^^^^ cannot infer type of the type parameter `U` declared on the method `cast` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `core::ptr::from_raw_parts` [INFO] [stdout] --> /rustc/50d7e48beb74b48bd17c3749bfb73843c9ae0166/library/core/src/ptr/metadata.rs:116:0 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 229 | ptr::from_raw_parts(ptr.cast::(), Self::size_in_bytes_from_ptr(ptr)) [INFO] [stdout] | +++++ [INFO] [stdout] help: consider removing this method call, as the receiver has type `*const c_void` and `*const c_void: Thin` trivially holds [INFO] [stdout] | [INFO] [stdout] 229 - ptr::from_raw_parts(ptr.cast(), Self::size_in_bytes_from_ptr(ptr)) [INFO] [stdout] 229 + ptr::from_raw_parts(ptr, Self::size_in_bytes_from_ptr(ptr)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/uefi-rs-52679313d0b2418e/d2f0b3d/src/proto/device_path/mod.rs:233:37 [INFO] [stdout] | [INFO] [stdout] 233 | ptr::from_raw_parts_mut(ptr.cast(), Self::size_in_bytes_from_ptr(ptr)) [INFO] [stdout] | ----------------------- ^^^^ cannot infer type of the type parameter `U` declared on the method `cast` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Thin` [INFO] [stdout] note: required by a bound in `core::ptr::from_raw_parts_mut` [INFO] [stdout] --> /rustc/50d7e48beb74b48bd17c3749bfb73843c9ae0166/library/core/src/ptr/metadata.rs:129:0 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 233 | ptr::from_raw_parts_mut(ptr.cast::(), Self::size_in_bytes_from_ptr(ptr)) [INFO] [stdout] | +++++ [INFO] [stdout] help: consider removing this method call, as the receiver has type `*mut c_void` and `*mut c_void: Thin` trivially holds [INFO] [stdout] | [INFO] [stdout] 233 - ptr::from_raw_parts_mut(ptr.cast(), Self::size_in_bytes_from_ptr(ptr)) [INFO] [stdout] 233 + ptr::from_raw_parts_mut(ptr, Self::size_in_bytes_from_ptr(ptr)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type `[u8]` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/uefi-rs-52679313d0b2418e/d2f0b3d/src/proto/device_path/mod.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ the size of `[u8]` cannot be statically determined [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/uefi-rs-52679313d0b2418e/d2f0b3d/src/proto/device_path/mod.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 113 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ move occurs because value has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/uefi-rs-52679313d0b2418e/d2f0b3d/src/proto/device_path/mod.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 113 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ move occurs because value has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(PartialEq)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type `[u8]` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/uefi-rs-52679313d0b2418e/d2f0b3d/src/proto/device_path/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ the size of `[u8]` cannot be statically determined [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/uefi-rs-52679313d0b2418e/d2f0b3d/src/proto/device_path/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 192 | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 193 | pub struct DevicePathInstance { [INFO] [stdout] 194 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ move occurs because value has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/uefi-rs-52679313d0b2418e/d2f0b3d/src/proto/device_path/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 192 | #[derive(Debug, Eq, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 193 | pub struct DevicePathInstance { [INFO] [stdout] 194 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ move occurs because value has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(PartialEq)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type `[u8]` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/uefi-rs-52679313d0b2418e/d2f0b3d/src/proto/device_path/mod.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ the size of `[u8]` cannot be statically determined [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/uefi-rs-52679313d0b2418e/d2f0b3d/src/proto/device_path/mod.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Debug, Eq, PartialEq, Protocol)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 223 | pub struct DevicePath { [INFO] [stdout] 224 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ move occurs because value has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/uefi-rs-52679313d0b2418e/d2f0b3d/src/proto/device_path/mod.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 222 | #[derive(Debug, Eq, PartialEq, Protocol)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 223 | pub struct DevicePath { [INFO] [stdout] 224 | data: [u8], [INFO] [stdout] | ^^^^^^^^^^ move occurs because value has type `[u8]`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: `#[derive(PartialEq)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0161, E0283, E0507, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0161`. [INFO] [stdout] [INFO] [stderr] error: could not compile `uefi` (lib) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "4f023eda931be9600f4cb4063d861b9487dff74b0f7296b9f79718045534ea4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f023eda931be9600f4cb4063d861b9487dff74b0f7296b9f79718045534ea4a", kill_on_drop: false }` [INFO] [stdout] 4f023eda931be9600f4cb4063d861b9487dff74b0f7296b9f79718045534ea4a