[INFO] cloning repository https://github.com/pcein/rust-sipeed-longan-nano [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pcein/rust-sipeed-longan-nano" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcein%2Frust-sipeed-longan-nano", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcein%2Frust-sipeed-longan-nano'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70f73788390cf1f36db7bf1dd995b8daa0bf62e4 [INFO] checking pcein/rust-sipeed-longan-nano against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcein%2Frust-sipeed-longan-nano" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pcein/rust-sipeed-longan-nano on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/.cargo/config [INFO] started tweaking git repo https://github.com/pcein/rust-sipeed-longan-nano [INFO] finished tweaking git repo https://github.com/pcein/rust-sipeed-longan-nano [INFO] tweaked toml for git repo https://github.com/pcein/rust-sipeed-longan-nano written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/pcein/rust-sipeed-longan-nano already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 07597a3cc00c265d06c563462aa015bdfd718a4db11b09b9025aceeaf32576ce [INFO] running `Command { std: "docker" "start" "-a" "07597a3cc00c265d06c563462aa015bdfd718a4db11b09b9025aceeaf32576ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07597a3cc00c265d06c563462aa015bdfd718a4db11b09b9025aceeaf32576ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07597a3cc00c265d06c563462aa015bdfd718a4db11b09b9025aceeaf32576ce", kill_on_drop: false }` [INFO] [stdout] 07597a3cc00c265d06c563462aa015bdfd718a4db11b09b9025aceeaf32576ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9f9fc1efcf0453695fe8b151028523689578719280a977c6aa8f481ea76f26df [INFO] running `Command { std: "docker" "start" "-a" "9f9fc1efcf0453695fe8b151028523689578719280a977c6aa8f481ea76f26df", kill_on_drop: false }` [INFO] [stderr] Checking panic-abort v0.3.1 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking rust-sipeed-longan-nano v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | const rcu_apb2en: u32 = (0x4002_1000 + 0x18); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 8 - const rcu_apb2en: u32 = (0x4002_1000 + 0x18); [INFO] [stdout] 8 + const rcu_apb2en: u32 = 0x4002_1000 + 0x18; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | const gpioa_ctl0: u32 = (0x4001_0800 + 0x0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - const gpioa_ctl0: u32 = (0x4001_0800 + 0x0); [INFO] [stdout] 10 + const gpioa_ctl0: u32 = 0x4001_0800 + 0x0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | const gpioa_data: u32 = (0x4001_0800 + 0xc); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - const gpioa_data: u32 = (0x4001_0800 + 0xc); [INFO] [stdout] 11 + const gpioa_data: u32 = 0x4001_0800 + 0xc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `panic_abort` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use panic_abort; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [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 `rust-sipeed-longan-nano` due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | const rcu_apb2en: u32 = (0x4002_1000 + 0x18); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 8 - const rcu_apb2en: u32 = (0x4002_1000 + 0x18); [INFO] [stdout] 8 + const rcu_apb2en: u32 = 0x4002_1000 + 0x18; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | const gpioa_ctl0: u32 = (0x4001_0800 + 0x0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - const gpioa_ctl0: u32 = (0x4001_0800 + 0x0); [INFO] [stdout] 10 + const gpioa_ctl0: u32 = 0x4001_0800 + 0x0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | const gpioa_data: u32 = (0x4001_0800 + 0xc); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - const gpioa_data: u32 = (0x4001_0800 + 0xc); [INFO] [stdout] 11 + const gpioa_data: u32 = 0x4001_0800 + 0xc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `panic_abort` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use panic_abort; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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_abort` (which `rust_sipeed_longan_nano` depends on) [INFO] [stdout] = note: first definition in `panic_abort` loaded from /opt/rustwide/target/debug/deps/libpanic_abort-a8db481323e61aee.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/db1fb85cff63ad5fffe435e17128f99f9e1d970c/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d6566390077dd5f5.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9f9fc1efcf0453695fe8b151028523689578719280a977c6aa8f481ea76f26df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f9fc1efcf0453695fe8b151028523689578719280a977c6aa8f481ea76f26df", kill_on_drop: false }` [INFO] [stdout] 9f9fc1efcf0453695fe8b151028523689578719280a977c6aa8f481ea76f26df