[INFO] cloning repository https://github.com/mdibaiee/mahdi-os [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mdibaiee/mahdi-os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdibaiee%2Fmahdi-os", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdibaiee%2Fmahdi-os'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4a8ca726129ef92e8172d2418eb6017b2d65f43 [INFO] checking mdibaiee/mahdi-os against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdibaiee%2Fmahdi-os" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mdibaiee/mahdi-os on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mdibaiee/mahdi-os [INFO] finished tweaking git repo https://github.com/mdibaiee/mahdi-os [INFO] tweaked toml for git repo https://github.com/mdibaiee/mahdi-os written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mdibaiee/mahdi-os 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/phil-opp/multiboot2-elf64` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2262d2ebbc69fe3d8665e2e2f0d5369c4478da11754ce5105045790142db45e [INFO] running `Command { std: "docker" "start" "-a" "e2262d2ebbc69fe3d8665e2e2f0d5369c4478da11754ce5105045790142db45e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2262d2ebbc69fe3d8665e2e2f0d5369c4478da11754ce5105045790142db45e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2262d2ebbc69fe3d8665e2e2f0d5369c4478da11754ce5105045790142db45e", kill_on_drop: false }` [INFO] [stdout] e2262d2ebbc69fe3d8665e2e2f0d5369c4478da11754ce5105045790142db45e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 019361c7c01a9b11ae4550a66929c1ab55c3b736511df9ac68d32044ff499262 [INFO] running `Command { std: "docker" "start" "-a" "019361c7c01a9b11ae4550a66929c1ab55c3b736511df9ac68d32044ff499262", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking spin v0.3.5 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking rlibc v0.1.5 [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spin-0.3.5/src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(const_fn, asm)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spin-0.3.5/src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(const_fn, asm)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking multiboot2 v0.1.0 (https://github.com/phil-opp/multiboot2-elf64#44b4b3f5) [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spin-0.3.5/src/mutex.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | unsafe { asm!("pause" :::: "volatile"); } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/spin-0.3.5/src/mutex.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | unsafe { asm!("pause" :::: "volatile"); } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spin` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `spin` (lib) due to 3 previous errors [INFO] [stdout] error[E0507]: cannot move out of `self.first_section` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/multiboot2-elf64-6756f3ebae0d561c/44b4b3f/src/elf_sections.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 10 | first_section: ElfSection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.first_section` has type `ElfSection`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `ElfSection` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/multiboot2-elf64-6756f3ebae0d561c/44b4b3f/src/elf_sections.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 10 | first_section: ElfSection, [INFO] [stdout] | ------------------------- you could clone this value [INFO] [stdout] ... [INFO] [stdout] 51 | pub struct ElfSection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/multiboot2-elf64-6756f3ebae0d561c/44b4b3f/src/elf_sections.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | current_section: &self.first_section, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.first_section` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/multiboot2-elf64-6756f3ebae0d561c/44b4b3f/src/elf_sections.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 10 | first_section: ElfSection, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.first_section` has type `ElfSection`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `ElfSection` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/multiboot2-elf64-6756f3ebae0d561c/44b4b3f/src/elf_sections.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 10 | first_section: ElfSection, [INFO] [stdout] | ------------------------- you could clone this value [INFO] [stdout] ... [INFO] [stdout] 51 | pub struct ElfSection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] = note: `#[derive(Debug)]` triggers a move because taking references to the fields of a packed struct is undefined behaviour [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/multiboot2-elf64-6756f3ebae0d561c/44b4b3f/src/elf_sections.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | current_section: &self.first_section, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0793. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0793. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `multiboot2` (lib) due to 3 previous errors [INFO] [stderr] error: could not compile `multiboot2` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "019361c7c01a9b11ae4550a66929c1ab55c3b736511df9ac68d32044ff499262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "019361c7c01a9b11ae4550a66929c1ab55c3b736511df9ac68d32044ff499262", kill_on_drop: false }` [INFO] [stdout] 019361c7c01a9b11ae4550a66929c1ab55c3b736511df9ac68d32044ff499262 [INFO] checking mdibaiee/mahdi-os against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdibaiee%2Fmahdi-os" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mdibaiee/mahdi-os on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mdibaiee/mahdi-os [INFO] finished tweaking git repo https://github.com/mdibaiee/mahdi-os [INFO] tweaked toml for git repo https://github.com/mdibaiee/mahdi-os written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mdibaiee/mahdi-os 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77e4b8df283dafe23c068c5578904a13f335710a3202dc626f0d7361df7fa4ee [INFO] running `Command { std: "docker" "start" "-a" "77e4b8df283dafe23c068c5578904a13f335710a3202dc626f0d7361df7fa4ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77e4b8df283dafe23c068c5578904a13f335710a3202dc626f0d7361df7fa4ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77e4b8df283dafe23c068c5578904a13f335710a3202dc626f0d7361df7fa4ee", kill_on_drop: false }` [INFO] [stdout] 77e4b8df283dafe23c068c5578904a13f335710a3202dc626f0d7361df7fa4ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95707df2762722e79712eafcf160065967eb23f0444ef04ee60aea7cffeb50b8 [INFO] running `Command { std: "docker" "start" "-a" "95707df2762722e79712eafcf160065967eb23f0444ef04ee60aea7cffeb50b8", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "95707df2762722e79712eafcf160065967eb23f0444ef04ee60aea7cffeb50b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95707df2762722e79712eafcf160065967eb23f0444ef04ee60aea7cffeb50b8", kill_on_drop: false }` [INFO] [stdout] 95707df2762722e79712eafcf160065967eb23f0444ef04ee60aea7cffeb50b8