[INFO] cloning repository https://github.com/charlesj/RustOs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/charlesj/RustOs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharlesj%2FRustOs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharlesj%2FRustOs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 836d484e029fa77b3861dc78d61b2bcd80851e53 [INFO] testing charlesj/RustOs against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharlesj%2FRustOs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/charlesj/RustOs on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/charlesj/RustOs [INFO] finished tweaking git repo https://github.com/charlesj/RustOs [INFO] tweaked toml for git repo https://github.com/charlesj/RustOs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/charlesj/RustOs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d1d4b8c642e1266dbb315b3f45ddcc8380664c5a8f4d4c144e4d8e83cd90d3c [INFO] running `Command { std: "docker" "start" "-a" "6d1d4b8c642e1266dbb315b3f45ddcc8380664c5a8f4d4c144e4d8e83cd90d3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d1d4b8c642e1266dbb315b3f45ddcc8380664c5a8f4d4c144e4d8e83cd90d3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d1d4b8c642e1266dbb315b3f45ddcc8380664c5a8f4d4c144e4d8e83cd90d3c", kill_on_drop: false }` [INFO] [stdout] 6d1d4b8c642e1266dbb315b3f45ddcc8380664c5a8f4d4c144e4d8e83cd90d3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db88f7b0fe9313c42e5c05e8b0fefe843403029cace9b53d06a0e16584502144 [INFO] running `Command { std: "docker" "start" "-a" "db88f7b0fe9313c42e5c05e8b0fefe843403029cace9b53d06a0e16584502144", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rlibc v0.1.5 [INFO] [stderr] Compiling rust_os v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0774]: `derive` may only be applied to structs, enums and unions [INFO] [stdout] --> src/vga_buffer.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown language item: `panic_fmt` [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[lang = "panic_fmt"] extern fn panic_fmt() -> ! {loop{}} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `panic_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/vga_buffer.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use core::ptr::Unique; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stdout] --> src/vga_buffer.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | buffer: Unique, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_mut` found for struct `Unique` in the current scope [INFO] [stdout] --> src/vga_buffer.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | unsafe{ self.buffer.get_mut() } [INFO] [stdout] | ^^^^^^^ method not found in `Unique` [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 74 | unsafe{ Pin::new(&mut self.buffer).get_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0522, E0599, E0658, E0774. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0522`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_os` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "db88f7b0fe9313c42e5c05e8b0fefe843403029cace9b53d06a0e16584502144", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db88f7b0fe9313c42e5c05e8b0fefe843403029cace9b53d06a0e16584502144", kill_on_drop: false }` [INFO] [stdout] db88f7b0fe9313c42e5c05e8b0fefe843403029cace9b53d06a0e16584502144