[INFO] cloning repository https://github.com/scrogson/cosmos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scrogson/cosmos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrogson%2Fcosmos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrogson%2Fcosmos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c180829caef0868d5fe34d4a0d61fcfe5d060b50 [INFO] checking scrogson/cosmos against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrogson%2Fcosmos" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scrogson/cosmos on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/scrogson/cosmos [INFO] finished tweaking git repo https://github.com/scrogson/cosmos [INFO] tweaked toml for git repo https://github.com/scrogson/cosmos written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/scrogson/cosmos already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/phil-opp/multiboot2-elf64` [INFO] [stderr] Updating git repository `https://github.com/phil-opp/bitflags.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spin v0.3.4 [INFO] [stderr] Downloaded rlibc v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e71c23a152498462fd588a911efffa537d2ccc2ce5007d108623bd2792dcfc3a [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" "e71c23a152498462fd588a911efffa537d2ccc2ce5007d108623bd2792dcfc3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e71c23a152498462fd588a911efffa537d2ccc2ce5007d108623bd2792dcfc3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e71c23a152498462fd588a911efffa537d2ccc2ce5007d108623bd2792dcfc3a", kill_on_drop: false }` [INFO] [stdout] e71c23a152498462fd588a911efffa537d2ccc2ce5007d108623bd2792dcfc3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30199bf92dd651d4401cf4d1a59742c360cc20a95f65de6f53a2c7eab058fe0e [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" "30199bf92dd651d4401cf4d1a59742c360cc20a95f65de6f53a2c7eab058fe0e", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v0.3.3 (https://github.com/phil-opp/bitflags.git?branch=no_std#440e5b2b) [INFO] [stderr] Checking rlibc v0.1.4 [INFO] [stderr] Checking spin v0.3.4 [INFO] [stderr] Checking multiboot2 v0.1.0 (https://github.com/phil-opp/multiboot2-elf64#1e81e100) [INFO] [stderr] Checking cosmos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0522]: definition of an unknown language item: `panic_fmt` [INFO] [stdout] --> src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[lang = "panic_fmt"] [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:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | 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[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:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [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:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | 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/b20a093d9fb1ffaa04ae9852cb034864a992bafd/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-c2ca47afdcc5e309.rlib [INFO] [stdout] = note: second definition in the local crate (`cosmos`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown language item: `panic_fmt` [INFO] [stdout] --> src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[lang = "panic_fmt"] [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:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | 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:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | 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[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:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [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' [INFO] [stdout] --> src/vga_buffer.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [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' [INFO] [stdout] --> src/vga_buffer.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/vga_buffer.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Unique`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [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:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | 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] 81 | unsafe { Pin::new(&mut self.buffer).get_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0522, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cosmos` [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[E0308]: mismatched types [INFO] [stdout] --> src/vga_buffer.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | buffer: unsafe { Unique::new(0xb8000 as *mut _) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Unique`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Unique` [INFO] [stdout] found enum `Option>` [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:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | 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] 81 | unsafe { Pin::new(&mut self.buffer).get_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0308, E0522, E0599, E0658. [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" "30199bf92dd651d4401cf4d1a59742c360cc20a95f65de6f53a2c7eab058fe0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30199bf92dd651d4401cf4d1a59742c360cc20a95f65de6f53a2c7eab058fe0e", kill_on_drop: false }` [INFO] [stdout] 30199bf92dd651d4401cf4d1a59742c360cc20a95f65de6f53a2c7eab058fe0e