[INFO] cloning repository https://github.com/monoamine11231/Example-Kernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/monoamine11231/Example-Kernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonoamine11231%2FExample-Kernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonoamine11231%2FExample-Kernel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21188c4dc2322759c24936682f6b77da089a5664 [INFO] checking monoamine11231/Example-Kernel against try#ac4c3613be2acd5395b65d85e5657b81e3c982f0 for pr-154585 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmonoamine11231%2FExample-Kernel" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/monoamine11231/Example-Kernel [INFO] finished tweaking git repo https://github.com/monoamine11231/Example-Kernel [INFO] tweaked toml for git repo https://github.com/monoamine11231/Example-Kernel written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/monoamine11231/Example-Kernel on toolchain ac4c3613be2acd5395b65d85e5657b81e3c982f0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/monoamine11231/Example-Kernel 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" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "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 bootloader v0.9.23 [INFO] [stderr] Downloaded spin v0.9.6 [INFO] [stderr] Downloaded critical-section v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05c81793b759604e5d2d8b7642ea928c7a99e9f8a23c9a80bb9fb59542cc6dcb [INFO] running `Command { std: "docker" "start" "-a" "05c81793b759604e5d2d8b7642ea928c7a99e9f8a23c9a80bb9fb59542cc6dcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05c81793b759604e5d2d8b7642ea928c7a99e9f8a23c9a80bb9fb59542cc6dcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05c81793b759604e5d2d8b7642ea928c7a99e9f8a23c9a80bb9fb59542cc6dcb", kill_on_drop: false }` [INFO] [stdout] 05c81793b759604e5d2d8b7642ea928c7a99e9f8a23c9a80bb9fb59542cc6dcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ac4c3613be2acd5395b65d85e5657b81e3c982f0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f12f7e95518fcd0d78bf6fbbee28139be73f5c356ccdd40fab86dd224805df44 [INFO] running `Command { std: "docker" "start" "-a" "f12f7e95518fcd0d78bf6fbbee28139be73f5c356ccdd40fab86dd224805df44", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Compiling bootloader v0.9.23 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking spin v0.9.6 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling heapless v0.7.16 [INFO] [stderr] Checking kernel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `from_exposed_addr` in module `core::ptr` [INFO] [stdout] --> src/bord.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | core::ptr::from_exposed_addr((self.base + 8 * idx as u64) as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `core::ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_from_ref` has been stable since 1.76.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(ptr_from_ref)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `strict_provenance` has been stable since 1.84.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(strict_provenance)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `std` in this scope [INFO] [stdout] --> src/fat32.rs:1000:9 [INFO] [stdout] | [INFO] [stdout] 1000 | use std::fs::File; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_exposed_addr` in module `core::ptr` [INFO] [stdout] --> src/bord.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | core::ptr::from_exposed_addr((self.base + 8 * idx as u64) as usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `core::ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/tooling/panic_handler.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / pub fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] 111 | | qemu_println("\n\n========================================================="); [INFO] [stdout] 112 | | [INFO] [stdout] 113 | | qemu_println("PANIC!"); [INFO] [stdout] ... | [INFO] [stdout] 125 | | loop {} [INFO] [stdout] 126 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/ac4c3613be2acd5395b65d85e5657b81e3c982f0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-eaa78b24106cd0ea.rmeta [INFO] [stdout] = note: second definition in the local crate (`kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kernel` (bin "kernel" test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `read_bootsector` in this scope [INFO] [stdout] --> src/fat32.rs:1005:27 [INFO] [stdout] | [INFO] [stdout] 1005 | let boot_sector = read_bootsector(&mut f); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tooling/panic_handler.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | if let Some(message) = info.message() { [INFO] [stdout] | ^^^^^^^^^^^^^ -------------- this expression has type `PanicMessage<'_>` [INFO] [stdout] | | [INFO] [stdout] | expected `PanicMessage<'_>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `PanicMessage<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kernel` (bin "kernel") due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f12f7e95518fcd0d78bf6fbbee28139be73f5c356ccdd40fab86dd224805df44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f12f7e95518fcd0d78bf6fbbee28139be73f5c356ccdd40fab86dd224805df44", kill_on_drop: false }` [INFO] [stdout] f12f7e95518fcd0d78bf6fbbee28139be73f5c356ccdd40fab86dd224805df44