[INFO] cloning repository https://github.com/Ersikan/kernul [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ersikan/kernul" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErsikan%2Fkernul", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErsikan%2Fkernul'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e737258eb21a759ea08441d1f5b08c16e78287b6 [INFO] testing Ersikan/kernul against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FErsikan%2Fkernul" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ersikan/kernul 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] removed /workspace/builds/worker-8/source/.cargo/config [INFO] started tweaking git repo https://github.com/Ersikan/kernul [INFO] finished tweaking git repo https://github.com/Ersikan/kernul [INFO] tweaked toml for git repo https://github.com/Ersikan/kernul written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/Ersikan/kernul 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] cef2297594151c6c6078cb45e33334eaa4d7114e0306aa09d48995d4da1358ee [INFO] running `Command { std: "docker" "start" "-a" "cef2297594151c6c6078cb45e33334eaa4d7114e0306aa09d48995d4da1358ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cef2297594151c6c6078cb45e33334eaa4d7114e0306aa09d48995d4da1358ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cef2297594151c6c6078cb45e33334eaa4d7114e0306aa09d48995d4da1358ee", kill_on_drop: false }` [INFO] [stdout] cef2297594151c6c6078cb45e33334eaa4d7114e0306aa09d48995d4da1358ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] b0eb230249e813787387911601073811171c449ee0e4219c9d37f0d57e0e98ce [INFO] running `Command { std: "docker" "start" "-a" "b0eb230249e813787387911601073811171c449ee0e4219c9d37f0d57e0e98ce", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling volatile v0.2.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling kernul v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `selector` [INFO] [stdout] --> src/interrupts/idt.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | fn new(base: u32, selector: u8, gate_type: GateType, privilege: u8) -> IdtEntry { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/interrupts/idt.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn new(base: u32, selector: u8, gate_type: GateType, privilege: u8) -> IdtEntry { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enable` [INFO] [stdout] --> src/interrupts/idt.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn enable(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disable` [INFO] [stdout] --> src/interrupts/idt.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn disable(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/kernul-aab113eda9ef3149.kernul.31ef6af0-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/kernul-aab113eda9ef3149.kernul.31ef6af0-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/kernul-aab113eda9ef3149.kernul.31ef6af0-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/kernul-aab113eda9ef3149.kernul.31ef6af0-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/kernul-aab113eda9ef3149.kernul.31ef6af0-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/kernul-aab113eda9ef3149.kernul.31ef6af0-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/kernul-aab113eda9ef3149.kernul.31ef6af0-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/kernul-aab113eda9ef3149.kernul.31ef6af0-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/kernul-aab113eda9ef3149.kernul.31ef6af0-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/kernul-aab113eda9ef3149.kernul.31ef6af0-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/kernul-aab113eda9ef3149.kernul.31ef6af0-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/kernul-aab113eda9ef3149.kernul.31ef6af0-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/kernul-aab113eda9ef3149.kernul.31ef6af0-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/kernul-aab113eda9ef3149.kernul.31ef6af0-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/kernul-aab113eda9ef3149.kernul.31ef6af0-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/kernul-aab113eda9ef3149.kernul.31ef6af0-cgu.9.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/kernul-ed946fdb68a7f771/out" "-L" "/opt/rustwide/target/debug/build/kernul-ed946fdb68a7f771/out" "-L" "/opt/rustwide/target/debug/build/kernul-ed946fdb68a7f771/out" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-lboot" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-lgdt" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-lidt" "-Wl,--no-whole-archive" "/opt/rustwide/target/debug/deps/libvolatile-11219d61ca94202b.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-d7dce8c38b7cb6b7.rlib" "/opt/rustwide/target/debug/deps/libspin-fb077f50e3139ea3.rlib" "/opt/rustwide/target/debug/deps/libbitflags-99a38ccfde17d9e4.rlib" "/opt/rustwide/target/debug/deps/libbitfield-0919bf7c89d7d2c3.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/kernul-aab113eda9ef3149" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: skipping incompatible /opt/rustwide/target/debug/build/kernul-ed946fdb68a7f771/out/libboot.a when searching for -lboot [INFO] [stdout] /usr/bin/ld: skipping incompatible /opt/rustwide/target/debug/build/kernul-ed946fdb68a7f771/out/libboot.a when searching for -lboot [INFO] [stdout] /usr/bin/ld: skipping incompatible /opt/rustwide/target/debug/build/kernul-ed946fdb68a7f771/out/libboot.a when searching for -lboot [INFO] [stdout] /usr/bin/ld: cannot find -lboot [INFO] [stdout] /usr/bin/ld: skipping incompatible /opt/rustwide/target/debug/build/kernul-ed946fdb68a7f771/out/libgdt.a when searching for -lgdt [INFO] [stdout] /usr/bin/ld: skipping incompatible /opt/rustwide/target/debug/build/kernul-ed946fdb68a7f771/out/libgdt.a when searching for -lgdt [INFO] [stdout] /usr/bin/ld: skipping incompatible /opt/rustwide/target/debug/build/kernul-ed946fdb68a7f771/out/libgdt.a when searching for -lgdt [INFO] [stdout] /usr/bin/ld: cannot find -lgdt [INFO] [stdout] /usr/bin/ld: skipping incompatible /opt/rustwide/target/debug/build/kernul-ed946fdb68a7f771/out/libidt.a when searching for -lidt [INFO] [stdout] /usr/bin/ld: skipping incompatible /opt/rustwide/target/debug/build/kernul-ed946fdb68a7f771/out/libidt.a when searching for -lidt [INFO] [stdout] /usr/bin/ld: skipping incompatible /opt/rustwide/target/debug/build/kernul-ed946fdb68a7f771/out/libidt.a when searching for -lidt [INFO] [stdout] /usr/bin/ld: cannot find -lidt [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kernul` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b0eb230249e813787387911601073811171c449ee0e4219c9d37f0d57e0e98ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0eb230249e813787387911601073811171c449ee0e4219c9d37f0d57e0e98ce", kill_on_drop: false }` [INFO] [stdout] b0eb230249e813787387911601073811171c449ee0e4219c9d37f0d57e0e98ce