[INFO] updating cached repository https://github.com/Binero/uefi-testcrate [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5475d87717ea9be3fbbede085fd0e6c796a56629 [INFO] checking Binero/uefi-testcrate against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBinero%2Fuefi-testcrate" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Binero/uefi-testcrate on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Binero/uefi-testcrate [INFO] finished tweaking git repo https://github.com/Binero/uefi-testcrate [INFO] tweaked toml for git repo https://github.com/Binero/uefi-testcrate written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Binero/uefi-testcrate already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-2/source/src/main.rs [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] f44e016ea303bbfa01d3e95ef90bc94cce4a074c4a0720da4841f7da828cac43 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "f44e016ea303bbfa01d3e95ef90bc94cce4a074c4a0720da4841f7da828cac43"` [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/src/main.rs [INFO] [stderr] Checking rlibc v1.0.0 [INFO] [stderr] Checking testcrate v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0522]: definition of an unknown language item: `panic_fmt` [INFO] [stderr] --> src/main.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | #[lang = "panic_fmt"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `panic_fmt` [INFO] [stderr] [INFO] [stderr] error[E0522]: definition of an unknown language item: `eh_unwind_resume` [INFO] [stderr] --> src/main.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | #[lang = "eh_unwind_resume"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `eh_unwind_resume` [INFO] [stderr] [INFO] [stderr] error: `#[panic_handler]` function required, but not found [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0522`. [INFO] [stderr] error: could not compile `testcrate`. [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] [stderr] error[E0601]: `main` function not found in crate `testcrate` [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / #![feature(lang_items)] [INFO] [stderr] 2 | | #![no_std] [INFO] [stderr] 3 | | #![feature(core_intrinsics)] [INFO] [stderr] 4 | | #![feature(start)] [INFO] [stderr] ... | [INFO] [stderr] 31 | | pub extern fn rust_eh_personality() { [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ consider adding a `main` function to `src/main.rs` [INFO] [stderr] [INFO] [stderr] error[E0522]: definition of an unknown language item: `panic_fmt` [INFO] [stderr] --> src/main.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | #[lang = "panic_fmt"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `panic_fmt` [INFO] [stderr] [INFO] [stderr] error[E0522]: definition of an unknown language item: `eh_unwind_resume` [INFO] [stderr] --> src/main.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | #[lang = "eh_unwind_resume"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `eh_unwind_resume` [INFO] [stderr] [INFO] [stderr] error: `#[panic_handler]` function required, but not found [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0522, E0601. [INFO] [stderr] For more information about an error, try `rustc --explain E0522`. [INFO] [stderr] error: could not compile `testcrate`. [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] [stderr] error[E0522]: definition of an unknown language item: `panic_fmt` [INFO] [stderr] --> src/main.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | #[lang = "panic_fmt"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `panic_fmt` [INFO] [stderr] [INFO] [stderr] error[E0522]: definition of an unknown language item: `eh_unwind_resume` [INFO] [stderr] --> src/main.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | #[lang = "eh_unwind_resume"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `eh_unwind_resume` [INFO] [stderr] [INFO] [stderr] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stderr] --> src/main.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | / pub extern fn rust_eh_personality() { [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: the lang item is first defined in crate `panic_unwind` (which `std` depends on) [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0152, E0522. [INFO] [stderr] For more information about an error, try `rustc --explain E0152`. [INFO] [stderr] error: could not compile `testcrate`. [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] [stderr] error[E0522]: definition of an unknown language item: `panic_fmt` [INFO] [stderr] --> src/main.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | #[lang = "panic_fmt"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `panic_fmt` [INFO] [stderr] [INFO] [stderr] error[E0522]: definition of an unknown language item: `eh_unwind_resume` [INFO] [stderr] --> src/main.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | #[lang = "eh_unwind_resume"] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `eh_unwind_resume` [INFO] [stderr] [INFO] [stderr] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stderr] --> src/main.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | / pub extern fn rust_eh_personality() { [INFO] [stderr] 32 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: the lang item is first defined in crate `panic_unwind` (which `std` depends on) [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0152, E0522. [INFO] [stderr] For more information about an error, try `rustc --explain E0152`. [INFO] [stderr] error: could not compile `testcrate`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f44e016ea303bbfa01d3e95ef90bc94cce4a074c4a0720da4841f7da828cac43"` [INFO] running `"docker" "rm" "-f" "f44e016ea303bbfa01d3e95ef90bc94cce4a074c4a0720da4841f7da828cac43"` [INFO] [stdout] f44e016ea303bbfa01d3e95ef90bc94cce4a074c4a0720da4841f7da828cac43