[INFO] cloning repository https://github.com/MathiasKoch/rust-fatfs-issue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MathiasKoch/rust-fatfs-issue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasKoch%2Frust-fatfs-issue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasKoch%2Frust-fatfs-issue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3f03f807e7e1bf0ab0719db6eb5bb39731b649c [INFO] testing MathiasKoch/rust-fatfs-issue against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathiasKoch%2Frust-fatfs-issue" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MathiasKoch/rust-fatfs-issue on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-21/source/rust-toolchain [INFO] started tweaking git repo https://github.com/MathiasKoch/rust-fatfs-issue [INFO] finished tweaking git repo https://github.com/MathiasKoch/rust-fatfs-issue [INFO] tweaked toml for git repo https://github.com/MathiasKoch/rust-fatfs-issue written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/MathiasKoch/rust-fatfs-issue already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/rafalh/rust-fatfs` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cae12709fb9827a1bfbd0fb51e903fc8e9b54e74bdcffa6b1502ddb968a17dd [INFO] running `Command { std: "docker" "start" "-a" "1cae12709fb9827a1bfbd0fb51e903fc8e9b54e74bdcffa6b1502ddb968a17dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cae12709fb9827a1bfbd0fb51e903fc8e9b54e74bdcffa6b1502ddb968a17dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cae12709fb9827a1bfbd0fb51e903fc8e9b54e74bdcffa6b1502ddb968a17dd", kill_on_drop: false }` [INFO] [stdout] 1cae12709fb9827a1bfbd0fb51e903fc8e9b54e74bdcffa6b1502ddb968a17dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25fd9f3182947baa15365e85cc885520b8eb80c6e43190420724bf0de8fffd61 [INFO] running `Command { std: "docker" "start" "-a" "25fd9f3182947baa15365e85cc885520b8eb80c6e43190420724bf0de8fffd61", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling embedded-storage v0.2.0 [INFO] [stderr] Compiling fatfs v0.4.0 (https://github.com/rafalh/rust-fatfs#48d428db) [INFO] [stderr] Compiling libc-print v0.1.17 [INFO] [stderr] Compiling fatfs-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `libc_print` [INFO] [stdout] --> src/main.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use libc_print::{libc_print, libc_println}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, `trace` [INFO] [stdout] --> src/main.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use log::{debug, error, info, trace, LevelFilter}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::flash::MEMORY_SIZE` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::flash::MEMORY_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/main.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | fn enabled(&self, metadata: &Metadata<'_>) -> bool { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | let mut fs = FileSystem::new(fat_io, FsOptions::new()).unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PAGES_PER_BLOCK` [INFO] [stdout] --> src/flash.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const PAGES_PER_BLOCK: u32 = PAGES_PER_SECTOR * SECTORS_PER_BLOCK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PAGES_PER_HALFBLOCK` [INFO] [stdout] --> src/flash.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const PAGES_PER_HALFBLOCK: u32 = PAGES_PER_SECTOR * HALFBLOCKS_PER_BLOCK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NUMBER_OF_PAGES` [INFO] [stdout] --> src/flash.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | const NUMBER_OF_PAGES: u32 = NUMBER_OF_SECTORS * PAGES_PER_SECTOR; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pages` [INFO] [stdout] --> src/flash.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn pages() -> impl Iterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/flash.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub const fn size() -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sectors` [INFO] [stdout] --> src/flash.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn sectors(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `halfblocks` [INFO] [stdout] --> src/flash.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn halfblocks(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pages` [INFO] [stdout] --> src/flash.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn pages(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `end` [INFO] [stdout] --> src/flash.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn end(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sectors` [INFO] [stdout] --> src/flash.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn sectors(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pages` [INFO] [stdout] --> src/flash.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn pages(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `end` [INFO] [stdout] --> src/flash.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn end(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pages` [INFO] [stdout] --> src/flash.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn pages(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `end` [INFO] [stdout] --> src/flash.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn end(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start` [INFO] [stdout] --> src/flash.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn start(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `end` [INFO] [stdout] --> src/flash.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn end(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `at` [INFO] [stdout] --> src/flash.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn at(address: u32) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `size` [INFO] [stdout] --> src/flash.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | pub const fn size() -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "25fd9f3182947baa15365e85cc885520b8eb80c6e43190420724bf0de8fffd61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25fd9f3182947baa15365e85cc885520b8eb80c6e43190420724bf0de8fffd61", kill_on_drop: false }` [INFO] [stdout] 25fd9f3182947baa15365e85cc885520b8eb80c6e43190420724bf0de8fffd61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8928804654e33db024ff52129a513657973c9b0be65f93febd55287aa20f75ef [INFO] running `Command { std: "docker" "start" "-a" "8928804654e33db024ff52129a513657973c9b0be65f93febd55287aa20f75ef", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling embedded-storage v0.2.0 [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling fatfs v0.4.0 (https://github.com/rafalh/rust-fatfs#48d428db) [INFO] [stderr] Compiling libc-print v0.1.17 [INFO] [stderr] Compiling fatfs-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `libc_print` [INFO] [stdout] --> src/main.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use libc_print::{libc_print, libc_println}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, `trace` [INFO] [stdout] --> src/main.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use log::{debug, error, info, trace, LevelFilter}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::flash::MEMORY_SIZE` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::flash::MEMORY_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | fn panic(info: &PanicInfo) -> ! { [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/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.so, /opt/rustwide/rustup-home/toolchains/722e1797249a965b6335aebd65d777f917e498f1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib [INFO] [stdout] = note: second definition in the local crate (`fatfs_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fatfs-test` due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8928804654e33db024ff52129a513657973c9b0be65f93febd55287aa20f75ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8928804654e33db024ff52129a513657973c9b0be65f93febd55287aa20f75ef", kill_on_drop: false }` [INFO] [stdout] 8928804654e33db024ff52129a513657973c9b0be65f93febd55287aa20f75ef