[INFO] cloning repository https://github.com/mochi-sann/mochi_os
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mochi-sann/mochi_os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmochi-sann%2Fmochi_os", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmochi-sann%2Fmochi_os'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9fcde19b727cf10fd87ff5b029e4a5d1fed9444a
[INFO] checking mochi-sann/mochi_os against 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6 for pr-160581
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmochi-sann%2Fmochi_os" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/mochi-sann/mochi_os
[INFO] finished tweaking git repo https://github.com/mochi-sann/mochi_os
[INFO] tweaked toml for git repo https://github.com/mochi-sann/mochi_os written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mochi-sann/mochi_os on toolchain 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mochi-sann/mochi_os already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded volatile v0.2.7
[INFO] [stderr]   Downloaded bootloader v0.9.28
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 289279c2b35458d5010179b375bbc06e9fb204b6e7fb1036d2702da30be4ab2d
[INFO] running `Command { std: "docker" "start" "289279c2b35458d5010179b375bbc06e9fb204b6e7fb1036d2702da30be4ab2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "289279c2b35458d5010179b375bbc06e9fb204b6e7fb1036d2702da30be4ab2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "289279c2b35458d5010179b375bbc06e9fb204b6e7fb1036d2702da30be4ab2d" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "289279c2b35458d5010179b375bbc06e9fb204b6e7fb1036d2702da30be4ab2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "289279c2b35458d5010179b375bbc06e9fb204b6e7fb1036d2702da30be4ab2d" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling bootloader v0.9.28
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking volatile v0.2.7
[INFO] [stderr]     Checking mochi_os v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: an inner attribute is not permitted in this context
[INFO] [stdout]   --> src/main.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 |   #![reexport_test_harness_main = "test_main"]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 | / pub extern "C" fn _start() -> ! {
[INFO] [stdout] 14 | |
[INFO] [stdout] 15 | |     use core::fmt::Write; 
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |     loop {}
[INFO] [stdout] 23 | | }
[INFO] [stdout]    | |_- the inner attribute doesn't annotate this function
[INFO] [stdout]    |
[INFO] [stdout]    = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: an inner attribute is not permitted in this context
[INFO] [stdout]   --> src/main.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 |   #![reexport_test_harness_main = "test_main"]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 | / pub extern "C" fn _start() -> ! {
[INFO] [stdout] 14 | |
[INFO] [stdout] 15 | |     use core::fmt::Write; 
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |     loop {}
[INFO] [stdout] 23 | | }
[INFO] [stdout]    | |_- the inner attribute doesn't annotate this function
[INFO] [stdout]    |
[INFO] [stdout]    = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vga_buffer::print_something`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use vga_buffer::print_something;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::fmt::Write`
[INFO] [stdout]   --> src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     use core::fmt::Write; 
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unwinding panics are not supported without std
[INFO] [stdout]   |
[INFO] [stdout]   = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding
[INFO] [stdout]   = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vga_buffer::print_something`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use vga_buffer::print_something;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::fmt::Write`
[INFO] [stdout]   --> src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     use core::fmt::Write; 
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> src/main.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | / fn panic(info: &PanicInfo) -> ! {
[INFO] [stdout] 28 | |     println!("{}", info);
[INFO] [stdout] 29 | |     loop {}
[INFO] [stdout] 30 | | }
[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/36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-2f7e17dbfe663611.rmeta
[INFO] [stdout]    = note: second definition in the local crate (`mochi_os`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `test_main` in this scope
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     test_main();
[INFO] [stdout]    |     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0152, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mochi_os` (bin "mochi_os" test) due to 3 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `mochi_os` (bin "mochi_os") due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "289279c2b35458d5010179b375bbc06e9fb204b6e7fb1036d2702da30be4ab2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "289279c2b35458d5010179b375bbc06e9fb204b6e7fb1036d2702da30be4ab2d", kill_on_drop: false }`
[INFO] [stdout] 289279c2b35458d5010179b375bbc06e9fb204b6e7fb1036d2702da30be4ab2d
