[INFO] cloning repository https://github.com/phodina/rustberry [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phodina/rustberry" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphodina%2Frustberry", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphodina%2Frustberry'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a23e414aa8e4f29c527a1ed8938e10ce6316c717 [INFO] checking phodina/rustberry/a23e414aa8e4f29c527a1ed8938e10ce6316c717 against master#fcac501a73cdde54de46a0683567f1a890730555 for pr-151102 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphodina%2Frustberry" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/phodina/rustberry [INFO] finished tweaking git repo https://github.com/phodina/rustberry [INFO] tweaked toml for git repo https://github.com/phodina/rustberry written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/phodina/rustberry on toolchain fcac501a73cdde54de46a0683567f1a890730555 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fcac501a73cdde54de46a0683567f1a890730555" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/phodina/rustberry 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" "+fcac501a73cdde54de46a0683567f1a890730555" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+fcac501a73cdde54de46a0683567f1a890730555" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af46845b054a6a6fdf4110c9bb29540e5b7eaa1e44925e1b363d9a286697ada2 [INFO] running `Command { std: "docker" "start" "-a" "af46845b054a6a6fdf4110c9bb29540e5b7eaa1e44925e1b363d9a286697ada2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af46845b054a6a6fdf4110c9bb29540e5b7eaa1e44925e1b363d9a286697ada2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af46845b054a6a6fdf4110c9bb29540e5b7eaa1e44925e1b363d9a286697ada2", kill_on_drop: false }` [INFO] [stdout] af46845b054a6a6fdf4110c9bb29540e5b7eaa1e44925e1b363d9a286697ada2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+fcac501a73cdde54de46a0683567f1a890730555" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fb9800c9689bf9c66c91c2ffc854647892ab433ab519ae2b08cfc96e5b0cdbd [INFO] running `Command { std: "docker" "start" "-a" "5fb9800c9689bf9c66c91c2ffc854647892ab433ab519ae2b08cfc96e5b0cdbd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking rustberry v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pub fn panic(_info: &PanicInfo) -> ! { [INFO] [stdout] 17 | | loop {} [INFO] [stdout] 18 | | } [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/fcac501a73cdde54de46a0683567f1a890730555/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c154a69977bb44fb.rmeta [INFO] [stdout] = note: second definition in the local crate (`rustberry`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error: `#[no_mangle]` cannot be used on internal language items [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | pub fn panic(_info: &PanicInfo) -> ! { [INFO] [stdout] | ------------------------------------ should be the internal language item [INFO] [stdout] | [INFO] [stdout] = note: Rustc requires this item to have a specific mangled name. [INFO] [stdout] = note: If you are trying to prevent mangling to ease debugging, many [INFO] [stdout] = note: debuggers support a command such as `rbreak rust_begin_unwind` to [INFO] [stdout] = note: match `.*rust_begin_unwind.*` instead of `break rust_begin_unwind` on a specific name [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustberry` (bin "rustberry" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rustberry` (bin "rustberry") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "5fb9800c9689bf9c66c91c2ffc854647892ab433ab519ae2b08cfc96e5b0cdbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fb9800c9689bf9c66c91c2ffc854647892ab433ab519ae2b08cfc96e5b0cdbd", kill_on_drop: false }` [INFO] [stdout] 5fb9800c9689bf9c66c91c2ffc854647892ab433ab519ae2b08cfc96e5b0cdbd