[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] checking charlesj/RustOs against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharlesj%2FRustOs" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/charlesj/RustOs on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-14/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-14/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef19f216bc28074300664cb727299e81f280477d191810a16e3e9031cf2b3613 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ef19f216bc28074300664cb727299e81f280477d191810a16e3e9031cf2b3613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef19f216bc28074300664cb727299e81f280477d191810a16e3e9031cf2b3613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef19f216bc28074300664cb727299e81f280477d191810a16e3e9031cf2b3613", kill_on_drop: false }` [INFO] [stdout] ef19f216bc28074300664cb727299e81f280477d191810a16e3e9031cf2b3613 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4bb23170251d129d52dcce450860437c200d243aa73ee2d7d37f11f9d704387 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b4bb23170251d129d52dcce450860437c200d243aa73ee2d7d37f11f9d704387", kill_on_drop: false }` [INFO] [stderr] Checking rlibc v0.1.5 [INFO] [stderr] Checking 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[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[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> src/lib.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | #[lang = "eh_personality"] extern fn eh_personality() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_unwind` (which `std` depends on) [INFO] [stdout] = note: first definition in `panic_unwind` loaded from /opt/rustwide/rustup-home/toolchains/a609fb45efad59dfd459c76e50899be9f0583b5a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-539f13c9442f1597.rlib [INFO] [stdout] = note: second definition in the local crate (`rust_os`) [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[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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0522, E0599, E0658, E0774. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b4bb23170251d129d52dcce450860437c200d243aa73ee2d7d37f11f9d704387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4bb23170251d129d52dcce450860437c200d243aa73ee2d7d37f11f9d704387", kill_on_drop: false }` [INFO] [stdout] b4bb23170251d129d52dcce450860437c200d243aa73ee2d7d37f11f9d704387