[INFO] cloning repository https://github.com/derchr/hans-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/derchr/hans-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fderchr%2Fhans-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fderchr%2Fhans-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4eb40c2d186fccd6e8dcfe89d8222fdc8db56f8 [INFO] checking derchr/hans-rust against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fderchr%2Fhans-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/derchr/hans-rust [INFO] finished tweaking git repo https://github.com/derchr/hans-rust [INFO] tweaked toml for git repo https://github.com/derchr/hans-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/derchr/hans-rust on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/derchr/hans-rust 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded critical-section v1.2.0 [INFO] [stderr] Downloaded riscv-rt v0.15.0 [INFO] [stderr] Downloaded riscv-macros v0.2.0 [INFO] [stderr] Downloaded embedded-hal v1.0.0 [INFO] [stderr] Downloaded riscv-rt-macros v0.5.0 [INFO] [stderr] Downloaded riscv-pac v0.2.0 [INFO] [stderr] Downloaded panic-halt v1.0.0 [INFO] [stderr] Downloaded riscv-target-parser v0.1.2 [INFO] [stderr] Downloaded riscv v0.14.0 [INFO] [stderr] Downloaded windows-targets v0.53.2 [INFO] [stderr] Downloaded glob v0.3.2 [INFO] [stderr] Downloaded clang-sys v1.8.1 [INFO] [stderr] Downloaded prettyplease v0.2.35 [INFO] [stderr] Downloaded cc v1.2.29 [INFO] [stderr] Downloaded bindgen v0.72.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b016901c31d99c477e02613c9532ab1598ab77a8902a85f53e49ba22eee531e3 [INFO] running `Command { std: "docker" "start" "-a" "b016901c31d99c477e02613c9532ab1598ab77a8902a85f53e49ba22eee531e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b016901c31d99c477e02613c9532ab1598ab77a8902a85f53e49ba22eee531e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b016901c31d99c477e02613c9532ab1598ab77a8902a85f53e49ba22eee531e3", kill_on_drop: false }` [INFO] [stdout] b016901c31d99c477e02613c9532ab1598ab77a8902a85f53e49ba22eee531e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b0a3bf9f81ebc41cf63883c6c0c68b4c36b25084bf047918aac71a80dc7d99b [INFO] running `Command { std: "docker" "start" "-a" "8b0a3bf9f81ebc41cf63883c6c0c68b4c36b25084bf047918aac71a80dc7d99b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling bindgen v0.72.0 [INFO] [stderr] Compiling riscv-target-parser v0.1.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling riscv-rt v0.15.0 [INFO] [stderr] Compiling riscv v0.14.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Checking riscv-pac v0.2.0 [INFO] [stderr] Checking panic-halt v1.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling riscv-macros v0.2.0 [INFO] [stderr] Compiling riscv-rt-macros v0.5.0 [INFO] [stderr] Compiling hans-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fs::File` [INFO] [stdout] --> build.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{env, fs::File, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Hall_ControllerState` should have an upper camel case name [INFO] [stdout] --> /opt/rustwide/target/debug/build/hans-rust-b5c9cf798c8b9d3f/out/bindings.rs:3:5374 [INFO] [stdout] | [INFO] [stdout] 3 | ..._uchar) ; } pub type Hall_ControllerState = :: core :: ffi :: c_ushort ; pub const Hall_SYSTEM_CLK_FREQUENCY : :: core :: ffi :: c_int... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HallControllerState` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Hall_Color` should have an upper camel case name [INFO] [stdout] --> /opt/rustwide/target/debug/build/hans-rust-b5c9cf798c8b9d3f/out/bindings.rs:3:8837 [INFO] [stdout] | [INFO] [stdout] 3 | ...lerState) -> bool ; } pub type Hall_Color = :: core :: ffi :: c_ushort ; pub type Hall_IndexContainer = :: core :: ffi :: c_uint ; pub... [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `HallColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Hall_IndexContainer` should have an upper camel case name [INFO] [stdout] --> /opt/rustwide/target/debug/build/hans-rust-b5c9cf798c8b9d3f/out/bindings.rs:3:8888 [INFO] [stdout] | [INFO] [stdout] 3 | ...: c_ushort ; pub type Hall_IndexContainer = :: core :: ffi :: c_uint ; pub const Hall_CTType_NONE : Hall_CTType = 0 ; pub const Hall_C... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HallIndexContainer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Hall_CTType` should have an upper camel case name [INFO] [stdout] --> /opt/rustwide/target/debug/build/hans-rust-b5c9cf798c8b9d3f/out/bindings.rs:3:9239 [INFO] [stdout] | [INFO] [stdout] 3 | ...: Hall_CTType = 48 ; pub type Hall_CTType = :: core :: ffi :: c_uint ; pub const Hall_Shape_RECTANGLE : Hall_Shape = 0 ; pub const Hal... [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `HallCttype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Hall_Shape` should have an upper camel case name [INFO] [stdout] --> /opt/rustwide/target/debug/build/hans-rust-b5c9cf798c8b9d3f/out/bindings.rs:3:9384 [INFO] [stdout] | [INFO] [stdout] 3 | ...NE : Hall_Shape = 1 ; pub type Hall_Shape = :: core :: ffi :: c_uint ; pub const Hall_ColorSource_MEMORY : Hall_ColorSource = 0 ; pub ... [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `HallShape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Hall_ColorSource` should have an upper camel case name [INFO] [stdout] --> /opt/rustwide/target/debug/build/hans-rust-b5c9cf798c8b9d3f/out/bindings.rs:3:9550 [INFO] [stdout] | [INFO] [stdout] 3 | ...lorSource = 1 ; pub type Hall_ColorSource = :: core :: ffi :: c_uint ; pub const Hall_SCREEN_HEIGHT : :: core :: ffi :: c_int = 240 ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HallColorSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: duplicate lang item in crate `std` (which `test` depends on): `panic_impl` [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_halt` (which `hans_rust` depends on) [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-22485f6879fd0020.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9fbdd90241d2d923.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hans-rust` (bin "hans-rust" test) due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: type `Hall_ControllerState` should have an upper camel case name [INFO] [stdout] --> /opt/rustwide/target/debug/build/hans-rust-b5c9cf798c8b9d3f/out/bindings.rs:3:5374 [INFO] [stdout] | [INFO] [stdout] 3 | ..._uchar) ; } pub type Hall_ControllerState = :: core :: ffi :: c_ushort ; pub const Hall_SYSTEM_CLK_FREQUENCY : :: core :: ffi :: c_int... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HallControllerState` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Hall_Color` should have an upper camel case name [INFO] [stdout] --> /opt/rustwide/target/debug/build/hans-rust-b5c9cf798c8b9d3f/out/bindings.rs:3:8837 [INFO] [stdout] | [INFO] [stdout] 3 | ...lerState) -> bool ; } pub type Hall_Color = :: core :: ffi :: c_ushort ; pub type Hall_IndexContainer = :: core :: ffi :: c_uint ; pub... [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `HallColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Hall_IndexContainer` should have an upper camel case name [INFO] [stdout] --> /opt/rustwide/target/debug/build/hans-rust-b5c9cf798c8b9d3f/out/bindings.rs:3:8888 [INFO] [stdout] | [INFO] [stdout] 3 | ...: c_ushort ; pub type Hall_IndexContainer = :: core :: ffi :: c_uint ; pub const Hall_CTType_NONE : Hall_CTType = 0 ; pub const Hall_C... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HallIndexContainer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Hall_CTType` should have an upper camel case name [INFO] [stdout] --> /opt/rustwide/target/debug/build/hans-rust-b5c9cf798c8b9d3f/out/bindings.rs:3:9239 [INFO] [stdout] | [INFO] [stdout] 3 | ...: Hall_CTType = 48 ; pub type Hall_CTType = :: core :: ffi :: c_uint ; pub const Hall_Shape_RECTANGLE : Hall_Shape = 0 ; pub const Hal... [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `HallCttype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Hall_Shape` should have an upper camel case name [INFO] [stdout] --> /opt/rustwide/target/debug/build/hans-rust-b5c9cf798c8b9d3f/out/bindings.rs:3:9384 [INFO] [stdout] | [INFO] [stdout] 3 | ...NE : Hall_Shape = 1 ; pub type Hall_Shape = :: core :: ffi :: c_uint ; pub const Hall_ColorSource_MEMORY : Hall_ColorSource = 0 ; pub ... [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `HallShape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Hall_ColorSource` should have an upper camel case name [INFO] [stdout] --> /opt/rustwide/target/debug/build/hans-rust-b5c9cf798c8b9d3f/out/bindings.rs:3:9550 [INFO] [stdout] | [INFO] [stdout] 3 | ...lorSource = 1 ; pub type Hall_ColorSource = :: core :: ffi :: c_uint ; pub const Hall_SCREEN_HEIGHT : :: core :: ffi :: c_int = 240 ; ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HallColorSource` [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] [stderr] error: could not compile `hans-rust` (bin "hans-rust") due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8b0a3bf9f81ebc41cf63883c6c0c68b4c36b25084bf047918aac71a80dc7d99b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b0a3bf9f81ebc41cf63883c6c0c68b4c36b25084bf047918aac71a80dc7d99b", kill_on_drop: false }` [INFO] [stdout] 8b0a3bf9f81ebc41cf63883c6c0c68b4c36b25084bf047918aac71a80dc7d99b