[INFO] cloning repository https://github.com/RustKernal/tinix_fs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RustKernal/tinix_fs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustKernal%2Ftinix_fs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustKernal%2Ftinix_fs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6aea22f08ce6d6effc884c7efb41234e5f5916a [INFO] checking RustKernal/tinix_fs against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustKernal%2Ftinix_fs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RustKernal/tinix_fs [INFO] finished tweaking git repo https://github.com/RustKernal/tinix_fs [INFO] tweaked toml for git repo https://github.com/RustKernal/tinix_fs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RustKernal/tinix_fs on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RustKernal/tinix_fs 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc8a061a30917a9fe7b1a4cbff35a191306b6515763fd27a9107dec215e289b2 [INFO] running `Command { std: "docker" "start" "-a" "bc8a061a30917a9fe7b1a4cbff35a191306b6515763fd27a9107dec215e289b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc8a061a30917a9fe7b1a4cbff35a191306b6515763fd27a9107dec215e289b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc8a061a30917a9fe7b1a4cbff35a191306b6515763fd27a9107dec215e289b2", kill_on_drop: false }` [INFO] [stdout] bc8a061a30917a9fe7b1a4cbff35a191306b6515763fd27a9107dec215e289b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1aec029ade346877911679864952ab7e403e2ea51df739efe8236f653282d32a [INFO] running `Command { std: "docker" "start" "-a" "1aec029ade346877911679864952ab7e403e2ea51df739efe8236f653282d32a", kill_on_drop: false }` [INFO] [stderr] Checking tinix_fs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `file` is assigned to, but never used [INFO] [stdout] --> src/api/mod.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | fn set_pos(pos : usize,mut file : File) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_file` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `file` is never read [INFO] [stdout] --> src/api/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | file.pos = pos; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file` is assigned to, but never used [INFO] [stdout] --> src/api/mod.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | fn set_pos(pos : usize,mut file : File) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_file` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `file` is never read [INFO] [stdout] --> src/api/mod.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | file.pos = pos; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `ShortWriter` is never constructed [INFO] [stdout] --> src/api/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ShortWriter(File); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `IntWriter` is never constructed [INFO] [stdout] --> src/api/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct IntWriter (File); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `LongWriter` is never constructed [INFO] [stdout] --> src/api/mod.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct LongWriter (File); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `LLongWriter` is never constructed [INFO] [stdout] --> src/api/mod.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct LLongWriter(File); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `ShortReader` is never constructed [INFO] [stdout] --> src/api/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ShortReader(File); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `IntReader` is never constructed [INFO] [stdout] --> src/api/mod.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct IntReader (File); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `LongReader` is never constructed [INFO] [stdout] --> src/api/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct LongReader (File); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `LLongReader` is never constructed [INFO] [stdout] --> src/api/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct LLongReader(File); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/streams.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | fn open(slice : &'a [u8]) -> ByteSliceStream { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 55 | fn open(slice : &'a [u8]) -> ByteSliceStream<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tinix_fs` (lib) due to 8 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable `file` is assigned to, but never used [INFO] [stdout] --> src/api/mod.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | fn set_pos(pos : usize,mut file : File) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_file` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `file` is never read [INFO] [stdout] --> src/api/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | file.pos = pos; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `file` is assigned to, but never used [INFO] [stdout] --> src/api/mod.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | fn set_pos(pos : usize,mut file : File) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_file` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `file` is never read [INFO] [stdout] --> src/api/mod.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | file.pos = pos; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `ShortWriter` is never constructed [INFO] [stdout] --> src/api/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ShortWriter(File); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `IntWriter` is never constructed [INFO] [stdout] --> src/api/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct IntWriter (File); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `LongWriter` is never constructed [INFO] [stdout] --> src/api/mod.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct LongWriter (File); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `LLongWriter` is never constructed [INFO] [stdout] --> src/api/mod.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct LLongWriter(File); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `ShortReader` is never constructed [INFO] [stdout] --> src/api/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ShortReader(File); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `IntReader` is never constructed [INFO] [stdout] --> src/api/mod.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct IntReader (File); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `LongReader` is never constructed [INFO] [stdout] --> src/api/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct LongReader (File); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `LLongReader` is never constructed [INFO] [stdout] --> src/api/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct LLongReader(File); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/streams.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | fn open(slice : &'a [u8]) -> ByteSliceStream { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 55 | fn open(slice : &'a [u8]) -> ByteSliceStream<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tinix_fs` (lib test) due to 8 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1aec029ade346877911679864952ab7e403e2ea51df739efe8236f653282d32a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aec029ade346877911679864952ab7e403e2ea51df739efe8236f653282d32a", kill_on_drop: false }` [INFO] [stdout] 1aec029ade346877911679864952ab7e403e2ea51df739efe8236f653282d32a