[INFO] cloning repository https://github.com/AdrianDanis/R4 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AdrianDanis/R4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdrianDanis%2FR4", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdrianDanis%2FR4'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79fd620f95be85d2aec60740edacada2fb7e9ac2 [INFO] checking AdrianDanis/R4/79fd620f95be85d2aec60740edacada2fb7e9ac2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdrianDanis%2FR4" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AdrianDanis/R4 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AdrianDanis/R4 [INFO] finished tweaking git repo https://github.com/AdrianDanis/R4 [INFO] tweaked toml for git repo https://github.com/AdrianDanis/R4 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AdrianDanis/R4 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating git repository `https://github.com/gz/rust-multiboot` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-traits v0.1.32 [INFO] [stderr] Downloaded num v0.1.32 [INFO] [stderr] Downloaded phf_shared v0.7.15 [INFO] [stderr] Downloaded phf_codegen v0.7.15 [INFO] [stderr] Downloaded libc v0.2.11 [INFO] [stderr] Downloaded byteorder v0.3.13 [INFO] [stderr] Downloaded rlibc v1.0.0 [INFO] [stderr] Downloaded phf v0.7.15 [INFO] [stderr] Downloaded phf_generator v0.7.15 [INFO] [stderr] Downloaded raw-cpuid v2.0.1 [INFO] [stderr] Downloaded num-complex v0.1.32 [INFO] [stderr] Downloaded serde_json v0.6.1 [INFO] [stderr] Downloaded num-bigint v0.1.32 [INFO] [stderr] Downloaded num-rational v0.1.32 [INFO] [stderr] Downloaded csv v0.14.4 [INFO] [stderr] Downloaded x86 v0.6.0 [INFO] [stderr] Downloaded serde v0.6.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7833f5f3a784ebe42b421f36e669a49235eb689d3f8f18984863b59526291bc0 [INFO] running `Command { std: "docker" "start" "-a" "7833f5f3a784ebe42b421f36e669a49235eb689d3f8f18984863b59526291bc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7833f5f3a784ebe42b421f36e669a49235eb689d3f8f18984863b59526291bc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7833f5f3a784ebe42b421f36e669a49235eb689d3f8f18984863b59526291bc0", kill_on_drop: false }` [INFO] [stdout] 7833f5f3a784ebe42b421f36e669a49235eb689d3f8f18984863b59526291bc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 121ee7db69d8d4b7c71b2a7d146f1e1cf103b63a278c12d37510f6a8cdd0121a [INFO] running `Command { std: "docker" "start" "-a" "121ee7db69d8d4b7c71b2a7d146f1e1cf103b63a278c12d37510f6a8cdd0121a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.11 [INFO] [stderr] Compiling num-traits v0.1.32 [INFO] [stderr] Compiling rustc-serialize v0.3.19 [INFO] [stderr] Compiling phf_shared v0.7.15 [INFO] [stderr] Compiling byteorder v0.3.13 [INFO] [stderr] Checking raw-cpuid v2.0.1 [INFO] [stderr] Checking multiboot v0.2.0 (https://github.com/gz/rust-multiboot#75898e22) [INFO] [stderr] Checking rlibc v1.0.0 [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/raw-cpuid-2.0.1/src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | asm!("movl $0, %eax" : : "{eax}" (eax) : "eax"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + 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/raw-cpuid-2.0.1/src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | asm!("movl $0, %ecx" : : "{ecx}" (ecx) : "ecx"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + 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/raw-cpuid-2.0.1/src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | asm!("cpuid" : "={eax}"(res.eax) "={ebx}"(res.ebx) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + 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/raw-cpuid-2.0.1/src/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | asm!("movl $0, %eax" : : "{eax}" (eax) : "eax"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + 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/raw-cpuid-2.0.1/src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | asm!("cpuid" : "={eax}"(res.eax) "={ebx}"(res.ebx) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking phf v0.7.15 [INFO] [stdout] error[E0507]: cannot move out of `self.boot_device` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-multiboot-e81e1776b8f49e2a/75898e2/src/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 80 | boot_device: BootDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.boot_device` has type `BootDevice`, 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] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 80 | boot_device: BootDevice.clone(), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.elf_symbols` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-multiboot-e81e1776b8f49e2a/75898e2/src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 88 | elf_symbols: ElfSymbols, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.elf_symbols` has type `ElfSymbols`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `ElfSymbols` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-multiboot-e81e1776b8f49e2a/75898e2/src/lib.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 88 | elf_symbols: ElfSymbols, [INFO] [stdout] | ----------------------- you could clone this value [INFO] [stdout] ... [INFO] [stdout] 459 | struct ElfSymbols { [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: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/raw-cpuid-2.0.1/src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | asm!("movl $0, %eax" : : "{eax}" (eax) : "eax"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + 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/raw-cpuid-2.0.1/src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | asm!("movl $0, %ecx" : : "{ecx}" (ecx) : "ecx"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + 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/raw-cpuid-2.0.1/src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | asm!("cpuid" : "={eax}"(res.eax) "={ebx}"(res.ebx) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.boot_device` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-multiboot-e81e1776b8f49e2a/75898e2/src/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 80 | boot_device: BootDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.boot_device` has type `BootDevice`, 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] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 80 | boot_device: BootDevice.clone(), [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/raw-cpuid-2.0.1/src/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | asm!("movl $0, %eax" : : "{eax}" (eax) : "eax"); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.elf_symbols` which is behind a shared reference [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-multiboot-e81e1776b8f49e2a/75898e2/src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 88 | elf_symbols: ElfSymbols, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `self.elf_symbols` has type `ElfSymbols`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: if `ElfSymbols` implemented `Clone`, you could clone the value [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-multiboot-e81e1776b8f49e2a/75898e2/src/lib.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 88 | elf_symbols: ElfSymbols, [INFO] [stdout] | ----------------------- you could clone this value [INFO] [stdout] ... [INFO] [stdout] 459 | struct ElfSymbols { [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: cannot find macro `asm` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/raw-cpuid-2.0.1/src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | asm!("cpuid" : "={eax}"(res.eax) "={ebx}"(res.ebx) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 14 + 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 E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `multiboot` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `multiboot` (lib) due to 3 previous errors [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.19/src/serialize.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raw-cpuid` (lib) due to 6 previous errors [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.19/src/serialize.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 454 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/borrow.rs:179:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 450 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raw-cpuid` (lib) due to 6 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0310, E0642. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "121ee7db69d8d4b7c71b2a7d146f1e1cf103b63a278c12d37510f6a8cdd0121a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "121ee7db69d8d4b7c71b2a7d146f1e1cf103b63a278c12d37510f6a8cdd0121a", kill_on_drop: false }` [INFO] [stdout] 121ee7db69d8d4b7c71b2a7d146f1e1cf103b63a278c12d37510f6a8cdd0121a