[INFO] cloning repository https://github.com/mm4cN/ghost
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mm4cN/ghost" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmm4cN%2Fghost", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmm4cN%2Fghost'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b6b4e53ad6011094f1968c8c3e49e7edfcf7f4d8
[INFO] checking mm4cN/ghost against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmm4cN%2Fghost" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mm4cN/ghost
[INFO] finished tweaking git repo https://github.com/mm4cN/ghost
[INFO] tweaked toml for git repo https://github.com/mm4cN/ghost written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mm4cN/ghost on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mm4cN/ghost 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 744efcf041808070c695bb9870d808cb3acfb82f3cbaf8a73c3465f10be6643b
[INFO] running `Command { std: "docker" "start" "744efcf041808070c695bb9870d808cb3acfb82f3cbaf8a73c3465f10be6643b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "744efcf041808070c695bb9870d808cb3acfb82f3cbaf8a73c3465f10be6643b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "744efcf041808070c695bb9870d808cb3acfb82f3cbaf8a73c3465f10be6643b" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "744efcf041808070c695bb9870d808cb3acfb82f3cbaf8a73c3465f10be6643b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "744efcf041808070c695bb9870d808cb3acfb82f3cbaf8a73c3465f10be6643b" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]    Compiling env_home v0.1.0
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling erased-serde v0.4.8
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]     Checking ordered-float v2.10.1
[INFO] [stderr]    Compiling cc v1.2.41
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking bstr v1.12.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling lua-src v547.0.0
[INFO] [stderr]     Checking indicatif v0.17.11
[INFO] [stderr]     Checking globset v0.4.16
[INFO] [stderr]    Compiling which v7.0.3
[INFO] [stderr]    Compiling luajit-src v210.5.12+a4f56a4
[INFO] [stderr]    Compiling mlua-sys v0.6.8
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde-value v0.7.0
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking mlua v0.9.9
[INFO] [stderr]     Checking ghost v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `FileList` is never constructed
[INFO] [stdout]  --> src/discover.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct FileList {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `discover` is never used
[INFO] [stdout]   --> src/discover.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn discover(
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `project` and `profile` are never read
[INFO] [stdout]   --> src/manifest.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct ProjectRoot {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 12 |     pub project: Option<ProjectMeta>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 13 |     pub workspace: Option<Workspace>,
[INFO] [stdout] 14 |     pub profile: Option<HashMap<String, ProfileFrag>>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProjectRoot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `version` are never read
[INFO] [stdout]   --> src/manifest.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct ProjectMeta {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 20 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 21 |     pub version: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProjectMeta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `defines` and `exclude` are never read
[INFO] [stdout]   --> src/manifest.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct ProfileFrag {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 31 |     pub defines: Option<Vec<String>>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 32 |     pub exclude: Option<Vec<String>>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProfileFrag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `version` is never read
[INFO] [stdout]   --> src/manifest.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct Package {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 46 |     pub name: String,
[INFO] [stdout] 47 |     pub version: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Package` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `defines`, `link_libs`, and `link_dirs` are never read
[INFO] [stdout]   --> src/manifest.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub struct PubPriv {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 58 |     pub include_dirs: Option<Vec<String>>,
[INFO] [stdout] 59 |     pub defines: Option<Vec<String>>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 60 |     pub link_libs: Option<Vec<String>>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 61 |     pub link_dirs: Option<Vec<String>>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PubPriv` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `private` is never read
[INFO] [stdout]   --> src/manifest.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct Deps {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 66 |     pub direct: Option<Vec<String>>,
[INFO] [stdout] 67 |     pub private: Option<Vec<String>>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Deps` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `env` is never read
[INFO] [stdout]  --> src/profile.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ProfileFile {
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] 8 |     pub toolchain: Toolchain,
[INFO] [stdout] 9 |     pub env: Option<std::collections::HashMap<String, String>>, // future use
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ProfileFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FileList` is never constructed
[INFO] [stdout]  --> src/discover.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct FileList {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `discover` is never used
[INFO] [stdout]   --> src/discover.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn discover(
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `project` and `profile` are never read
[INFO] [stdout]   --> src/manifest.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct ProjectRoot {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 12 |     pub project: Option<ProjectMeta>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 13 |     pub workspace: Option<Workspace>,
[INFO] [stdout] 14 |     pub profile: Option<HashMap<String, ProfileFrag>>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProjectRoot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `version` are never read
[INFO] [stdout]   --> src/manifest.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct ProjectMeta {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 20 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 21 |     pub version: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProjectMeta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `defines` and `exclude` are never read
[INFO] [stdout]   --> src/manifest.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct ProfileFrag {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 31 |     pub defines: Option<Vec<String>>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 32 |     pub exclude: Option<Vec<String>>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ProfileFrag` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `version` is never read
[INFO] [stdout]   --> src/manifest.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct Package {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 46 |     pub name: String,
[INFO] [stdout] 47 |     pub version: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Package` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `defines`, `link_libs`, and `link_dirs` are never read
[INFO] [stdout]   --> src/manifest.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub struct PubPriv {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 58 |     pub include_dirs: Option<Vec<String>>,
[INFO] [stdout] 59 |     pub defines: Option<Vec<String>>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 60 |     pub link_libs: Option<Vec<String>>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 61 |     pub link_dirs: Option<Vec<String>>,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PubPriv` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `private` is never read
[INFO] [stdout]   --> src/manifest.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct Deps {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] 66 |     pub direct: Option<Vec<String>>,
[INFO] [stdout] 67 |     pub private: Option<Vec<String>>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Deps` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `env` is never read
[INFO] [stdout]  --> src/profile.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ProfileFile {
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] 8 |     pub toolchain: Toolchain,
[INFO] [stdout] 9 |     pub env: Option<std::collections::HashMap<String, String>>, // future use
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ProfileFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `camino`
[INFO] [stderr]  --> Cargo.toml:3:1
[INFO] [stderr]   |
[INFO] [stderr] 3 | camino = "1.0"
[INFO] [stderr]   | ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `camino`
[INFO] [stderr] warning: unused dependency `hex`
[INFO] [stderr]  --> Cargo.toml:5:1
[INFO] [stderr]   |
[INFO] [stderr] 5 | hex = "0.4"
[INFO] [stderr]   | ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `hex`
[INFO] [stderr] warning: unused dependency `indicatif`
[INFO] [stderr]  --> Cargo.toml:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | indicatif = "0.17"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `indicatif`
[INFO] [stderr] warning: unused dependency `sha2`
[INFO] [stderr]  --> Cargo.toml:9:1
[INFO] [stderr]   |
[INFO] [stderr] 9 | sha2 = "0.10"
[INFO] [stderr]   | ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `sha2`
[INFO] [stderr] warning: unused dependency `thiserror`
[INFO] [stderr]   --> Cargo.toml:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | thiserror = "1.0"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: consider removing the dependency on `thiserror`
[INFO] [stderr] warning: `ghost` (manifest) generated 5 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.99s
[INFO] running `Command { std: "docker" "inspect" "744efcf041808070c695bb9870d808cb3acfb82f3cbaf8a73c3465f10be6643b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "744efcf041808070c695bb9870d808cb3acfb82f3cbaf8a73c3465f10be6643b", kill_on_drop: false }`
[INFO] [stdout] 744efcf041808070c695bb9870d808cb3acfb82f3cbaf8a73c3465f10be6643b
