[INFO] cloning repository https://github.com/Rheydskey/NoNameKernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rheydskey/NoNameKernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRheydskey%2FNoNameKernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRheydskey%2FNoNameKernel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa4a0b867169a2d669294e98c5894b10ad330496 [INFO] checking Rheydskey/NoNameKernel against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRheydskey%2FNoNameKernel" "/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/Rheydskey/NoNameKernel on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Rheydskey/NoNameKernel [INFO] finished tweaking git repo https://github.com/Rheydskey/NoNameKernel [INFO] tweaked toml for git repo https://github.com/Rheydskey/NoNameKernel written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/Rheydskey/NoNameKernel already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bootloader v0.9.14 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7130aef3b6bd1572659ba5116db5fc4839cf5c9824928cf766a0eeacea56b7ce [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" "7130aef3b6bd1572659ba5116db5fc4839cf5c9824928cf766a0eeacea56b7ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7130aef3b6bd1572659ba5116db5fc4839cf5c9824928cf766a0eeacea56b7ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7130aef3b6bd1572659ba5116db5fc4839cf5c9824928cf766a0eeacea56b7ce", kill_on_drop: false }` [INFO] [stdout] 7130aef3b6bd1572659ba5116db5fc4839cf5c9824928cf766a0eeacea56b7ce [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 418a8cb8b5ded36a06e3ef3cb34f447b908ea97a11a767041ba5770edfd8444f [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" "418a8cb8b5ded36a06e3ef3cb34f447b908ea97a11a767041ba5770edfd8444f", kill_on_drop: false }` [INFO] [stderr] Compiling bootloader v0.9.14 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling nasm-rs v0.2.0 [INFO] [stderr] Compiling nonamekernel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib/vga.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | let cursor_ver = (BUFFER_HEIGHT / 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lib/vga.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | let cursor_ver = (BUFFER_HEIGHT / 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/utils/panic.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | fn panic(_info: &PanicInfo) -> ! { [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/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e3026a7ea720d3a3.rlib [INFO] [stdout] = note: second definition in the local crate (`nonamekernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/arch/x86_64/idt/interrupts/mod.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/arch/x86_64/idt/interrupts/mod.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | reg.err_code, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NullSelector` [INFO] [stdout] --> src/arch/x86_64/gdt/gdt.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | NullSelector = 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UserData` [INFO] [stdout] --> src/arch/x86_64/gdt/gdt.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | UserData = 0x1b, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UserCode` [INFO] [stdout] --> src/arch/x86_64/gdt/gdt.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | UserCode = 0x23, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `isr_install` [INFO] [stdout] --> src/arch/x86_64/idt/interrupts/mod.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn isr_install() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `TypeAttr` [INFO] [stdout] --> src/arch/x86_64/idt/mod.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | enum TypeAttr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_entry` [INFO] [stdout] --> src/arch/x86_64/idt/mod.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub unsafe fn set_entry(num: usize, offset: usize, ist: u8, attr: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_idt` [INFO] [stdout] --> src/arch/x86_64/idt/mod.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | pub unsafe fn init_idt() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_center` [INFO] [stdout] --> src/lib/vga.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn write_center(&mut self, msg: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear_screen` [INFO] [stdout] --> src/lib/vga.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn clear_screen(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cursor_at_center` [INFO] [stdout] --> src/lib/vga.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn cursor_at_center(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cursor_at_center_relation_message` [INFO] [stdout] --> src/lib/vga.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn cursor_at_center_relation_message(&mut self, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nonamekernel` [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [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] warning: unused `Result` that must be used [INFO] [stdout] --> src/arch/x86_64/idt/interrupts/mod.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / write!( [INFO] [stdout] 86 | | writer, [INFO] [stdout] 87 | | "[{}] Interrups : {}", [INFO] [stdout] 88 | | reg.err_code, [INFO] [stdout] ... | [INFO] [stdout] 91 | | .unwrap_or(&"NO MSG") [INFO] [stdout] 92 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "418a8cb8b5ded36a06e3ef3cb34f447b908ea97a11a767041ba5770edfd8444f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "418a8cb8b5ded36a06e3ef3cb34f447b908ea97a11a767041ba5770edfd8444f", kill_on_drop: false }` [INFO] [stdout] 418a8cb8b5ded36a06e3ef3cb34f447b908ea97a11a767041ba5770edfd8444f