[INFO] fetching crate card10-l0dable 0.3.0... [INFO] checking card10-l0dable-0.3.0 against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] extracting crate card10-l0dable 0.3.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate card10-l0dable 0.3.0 on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate card10-l0dable 0.3.0 [INFO] finished tweaking crates.io crate card10-l0dable 0.3.0 [INFO] tweaked toml for crates.io crate card10-l0dable 0.3.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded card10-sys v1.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cab32d1a787cc90559def003925ca85183a35bd21c1684abe04b61d7e5fac789 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cab32d1a787cc90559def003925ca85183a35bd21c1684abe04b61d7e5fac789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cab32d1a787cc90559def003925ca85183a35bd21c1684abe04b61d7e5fac789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cab32d1a787cc90559def003925ca85183a35bd21c1684abe04b61d7e5fac789", kill_on_drop: false }` [INFO] [stdout] cab32d1a787cc90559def003925ca85183a35bd21c1684abe04b61d7e5fac789 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c3141b989e545e489d1abfda03c7f6c5b8ce0f8fe9a1b22470c820ea7ba5b9d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7c3141b989e545e489d1abfda03c7f6c5b8ce0f8fe9a1b22470c820ea7ba5b9d", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Checking r0 v0.2.2 [INFO] [stderr] Checking panic-abort v0.3.2 [INFO] [stderr] Checking embedded-graphics v0.5.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling card10-sys v1.10.0 [INFO] [stderr] Checking card10-l0dable v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/framebuffer/mod.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use core::mem::{transmute, uninitialized}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/framebuffer/mod.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | buffer: unsafe { uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fmt_buffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fmt_buffer.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | let mut buf: [u8; 256] = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/bme680.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/bme680.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let mut result = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fs.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | let mut entry: epic_stat = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [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 `card10_sys` depends on) [INFO] [stdout] = note: first definition in `panic_abort` loaded from /opt/rustwide/target/debug/deps/libpanic_abort-32a490ee50279d29.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/f6e2f78768c57172b99c3e85892f867894dc7e30/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-afd4b9aba051f3ad.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/framebuffer/mod.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use core::mem::{transmute, uninitialized}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/framebuffer/mod.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | buffer: unsafe { uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fmt_buffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fmt_buffer.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | let mut buf: [u8; 256] = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/bme680.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/bme680.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | let mut result = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fs.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | let mut entry: epic_stat = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `card10-l0dable`. [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] [stdout] warning: unused `core::result::Result` that must be used [INFO] [stdout] --> src/uart.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | crate::UART.write_fmt(args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `fs::epic_stat` does not permit being left uninitialized [INFO] [stdout] --> src/fs.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | let mut entry: epic_stat = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/fs.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / pub enum epic_stat_type { [INFO] [stdout] 60 | | None = 0, [INFO] [stdout] 61 | | File = 1, [INFO] [stdout] 62 | | Dir = 2, [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7c3141b989e545e489d1abfda03c7f6c5b8ce0f8fe9a1b22470c820ea7ba5b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c3141b989e545e489d1abfda03c7f6c5b8ce0f8fe9a1b22470c820ea7ba5b9d", kill_on_drop: false }` [INFO] [stdout] 7c3141b989e545e489d1abfda03c7f6c5b8ce0f8fe9a1b22470c820ea7ba5b9d