[INFO] fetching crate fortranc 0.1.0...
[INFO] testing fortranc-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate fortranc 0.1.0 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate fortranc 0.1.0
[INFO] finished tweaking crates.io crate fortranc 0.1.0
[INFO] tweaked toml for crates.io crate fortranc 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate fortranc 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate fortranc 0.1.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b32bfb9f2a6f7ed71c7c5af0035d516d87b3cabcb71ab9024baac232e148d8e3
[INFO] running `Command { std: "docker" "start" "-a" "b32bfb9f2a6f7ed71c7c5af0035d516d87b3cabcb71ab9024baac232e148d8e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b32bfb9f2a6f7ed71c7c5af0035d516d87b3cabcb71ab9024baac232e148d8e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b32bfb9f2a6f7ed71c7c5af0035d516d87b3cabcb71ab9024baac232e148d8e3", kill_on_drop: false }`
[INFO] [stdout] b32bfb9f2a6f7ed71c7c5af0035d516d87b3cabcb71ab9024baac232e148d8e3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 007084fb9b3295c83c14471706e9c4e714da8be65086b967178798fc7c982431
[INFO] running `Command { std: "docker" "start" "-a" "007084fb9b3295c83c14471706e9c4e714da8be65086b967178798fc7c982431", kill_on_drop: false }`
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling fortranc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `apple_sdk_root_cache` and `apple_versions_cache` are never read
[INFO] [stdout]    --> src/lib.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 109 | struct BuildCache {
[INFO] [stdout]     |        ---------- fields in this struct
[INFO] [stdout] 110 |     env_cache: RwLock<HashMap<Box<str>, Env>>,
[INFO] [stdout] 111 |     apple_sdk_root_cache: RwLock<HashMap<Box<str>, Arc<OsStr>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 112 |     apple_versions_cache: RwLock<HashMap<Box<str>, Arc<str>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BuildCache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `fortrancbin`, `pic`, `use_plt`, and `static_crt` are never read
[INFO] [stdout]    --> src/lib.rs:129:5
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct Build {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 129 |     fortrancbin: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pic: Option<bool>,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 147 |     use_plt: Option<bool>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 148 |     static_crt: Option<bool>,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Build` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `has_internal_target_arg` is never read
[INFO] [stdout]   --> src/tool.rs:31:16
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Tool {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub(crate) has_internal_target_arg: bool,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Tool` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_family`, `is_duplicate_opt_arg`, and `push_opt_unless_duplicate` are never used
[INFO] [stdout]    --> src/tool.rs:55:19
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl Tool {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  55 |     pub(crate) fn with_family(path: PathBuf, family: ToolFamily) -> Self {
[INFO] [stdout]     |                   ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub(crate) fn is_duplicate_opt_arg(&self, flag: &OsString) -> bool {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 306 |     pub(crate) fn push_opt_unless_duplicate(&mut self, flag: OsString) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Discard` is never constructed
[INFO] [stdout]   --> src/command_helper.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub(crate) enum OutputKind {
[INFO] [stdout]    |                 ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 29 |     Discard,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OutputKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ifx` and `lfortran` are never read
[INFO] [stdout]    --> src/command_helper.rs:429:16
[INFO] [stdout]     |
[INFO] [stdout] 423 | pub(crate) struct CmdAddOutputFileArgs {
[INFO] [stdout]     |                   -------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 429 |     pub(crate) ifx: bool,
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 430 |     pub(crate) lfortran: bool,
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `versioned_llvm_target` is never used
[INFO] [stdout]  --> src/target/llvm.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl TargetInfo<'_> {
[INFO] [stdout]   | ------------------- method in this implementation
[INFO] [stdout] 4 |     /// The versioned LLVM/Clang target triple.
[INFO] [stdout] 5 |     pub(crate) fn versioned_llvm_target(&self, version: &str) -> String {
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.38s
[INFO] running `Command { std: "docker" "inspect" "007084fb9b3295c83c14471706e9c4e714da8be65086b967178798fc7c982431", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "007084fb9b3295c83c14471706e9c4e714da8be65086b967178798fc7c982431", kill_on_drop: false }`
[INFO] [stdout] 007084fb9b3295c83c14471706e9c4e714da8be65086b967178798fc7c982431
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed49b57a23b7d2d9d9c249ac5eb257dbe773ae810d7c4b274ee77a0d0bb674bc
[INFO] running `Command { std: "docker" "start" "-a" "ed49b57a23b7d2d9d9c249ac5eb257dbe773ae810d7c4b274ee77a0d0bb674bc", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling bitflags v2.8.0
[INFO] [stderr]    Compiling once_cell v1.20.3
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stdout] warning: fields `apple_sdk_root_cache` and `apple_versions_cache` are never read
[INFO] [stdout]    --> src/lib.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 109 | struct BuildCache {
[INFO] [stdout]     |        ---------- fields in this struct
[INFO] [stdout] 110 |     env_cache: RwLock<HashMap<Box<str>, Env>>,
[INFO] [stdout] 111 |     apple_sdk_root_cache: RwLock<HashMap<Box<str>, Arc<OsStr>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 112 |     apple_versions_cache: RwLock<HashMap<Box<str>, Arc<str>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BuildCache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `fortrancbin`, `pic`, `use_plt`, and `static_crt` are never read
[INFO] [stdout]    --> src/lib.rs:129:5
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct Build {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 129 |     fortrancbin: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pic: Option<bool>,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 147 |     use_plt: Option<bool>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 148 |     static_crt: Option<bool>,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Build` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `has_internal_target_arg` is never read
[INFO] [stdout]   --> src/tool.rs:31:16
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Tool {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub(crate) has_internal_target_arg: bool,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Tool` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_family`, `is_duplicate_opt_arg`, and `push_opt_unless_duplicate` are never used
[INFO] [stdout]    --> src/tool.rs:55:19
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl Tool {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  55 |     pub(crate) fn with_family(path: PathBuf, family: ToolFamily) -> Self {
[INFO] [stdout]     |                   ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub(crate) fn is_duplicate_opt_arg(&self, flag: &OsString) -> bool {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 306 |     pub(crate) fn push_opt_unless_duplicate(&mut self, flag: OsString) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Discard` is never constructed
[INFO] [stdout]   --> src/command_helper.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub(crate) enum OutputKind {
[INFO] [stdout]    |                 ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 29 |     Discard,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OutputKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ifx` and `lfortran` are never read
[INFO] [stdout]    --> src/command_helper.rs:429:16
[INFO] [stdout]     |
[INFO] [stdout] 423 | pub(crate) struct CmdAddOutputFileArgs {
[INFO] [stdout]     |                   -------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 429 |     pub(crate) ifx: bool,
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 430 |     pub(crate) lfortran: bool,
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `versioned_llvm_target` is never used
[INFO] [stdout]  --> src/target/llvm.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl TargetInfo<'_> {
[INFO] [stdout]   | ------------------- method in this implementation
[INFO] [stdout] 4 |     /// The versioned LLVM/Clang target triple.
[INFO] [stdout] 5 |     pub(crate) fn versioned_llvm_target(&self, version: &str) -> String {
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tempfile v3.17.1
[INFO] [stderr]    Compiling fortranc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `apple_sdk_root_cache` and `apple_versions_cache` are never read
[INFO] [stdout]    --> src/lib.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 109 | struct BuildCache {
[INFO] [stdout]     |        ---------- fields in this struct
[INFO] [stdout] 110 |     env_cache: RwLock<HashMap<Box<str>, Env>>,
[INFO] [stdout] 111 |     apple_sdk_root_cache: RwLock<HashMap<Box<str>, Arc<OsStr>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 112 |     apple_versions_cache: RwLock<HashMap<Box<str>, Arc<str>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BuildCache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `fortrancbin`, `pic`, `use_plt`, and `static_crt` are never read
[INFO] [stdout]    --> src/lib.rs:129:5
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct Build {
[INFO] [stdout]     |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 129 |     fortrancbin: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pic: Option<bool>,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 147 |     use_plt: Option<bool>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 148 |     static_crt: Option<bool>,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Build` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `has_internal_target_arg` is never read
[INFO] [stdout]   --> src/tool.rs:31:16
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Tool {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub(crate) has_internal_target_arg: bool,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Tool` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_family`, `is_duplicate_opt_arg`, and `push_opt_unless_duplicate` are never used
[INFO] [stdout]    --> src/tool.rs:55:19
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl Tool {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  55 |     pub(crate) fn with_family(path: PathBuf, family: ToolFamily) -> Self {
[INFO] [stdout]     |                   ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub(crate) fn is_duplicate_opt_arg(&self, flag: &OsString) -> bool {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 306 |     pub(crate) fn push_opt_unless_duplicate(&mut self, flag: OsString) {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Discard` is never constructed
[INFO] [stdout]   --> src/command_helper.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub(crate) enum OutputKind {
[INFO] [stdout]    |                 ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 29 |     Discard,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OutputKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ifx` and `lfortran` are never read
[INFO] [stdout]    --> src/command_helper.rs:429:16
[INFO] [stdout]     |
[INFO] [stdout] 423 | pub(crate) struct CmdAddOutputFileArgs {
[INFO] [stdout]     |                   -------------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 429 |     pub(crate) ifx: bool,
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 430 |     pub(crate) lfortran: bool,
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `versioned_llvm_target` is never used
[INFO] [stdout]  --> src/target/llvm.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | impl TargetInfo<'_> {
[INFO] [stdout]   | ------------------- method in this implementation
[INFO] [stdout] 4 |     /// The versioned LLVM/Clang target triple.
[INFO] [stdout] 5 |     pub(crate) fn versioned_llvm_target(&self, version: &str) -> String {
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.54s
[INFO] running `Command { std: "docker" "inspect" "ed49b57a23b7d2d9d9c249ac5eb257dbe773ae810d7c4b274ee77a0d0bb674bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed49b57a23b7d2d9d9c249ac5eb257dbe773ae810d7c4b274ee77a0d0bb674bc", kill_on_drop: false }`
[INFO] [stdout] ed49b57a23b7d2d9d9c249ac5eb257dbe773ae810d7c4b274ee77a0d0bb674bc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 44cedbf78322efd887d2060b677c0c80a35b2abd51dd3cb422c7d4bec3282ec8
[INFO] running `Command { std: "docker" "start" "-a" "44cedbf78322efd887d2060b677c0c80a35b2abd51dd3cb422c7d4bec3282ec8", kill_on_drop: false }`
[INFO] [stderr] warning: fields `apple_sdk_root_cache` and `apple_versions_cache` are never read
[INFO] [stderr]    --> src/lib.rs:111:5
[INFO] [stderr]     |
[INFO] [stderr] 109 | struct BuildCache {
[INFO] [stderr]     |        ---------- fields in this struct
[INFO] [stderr] 110 |     env_cache: RwLock<HashMap<Box<str>, Env>>,
[INFO] [stderr] 111 |     apple_sdk_root_cache: RwLock<HashMap<Box<str>, Arc<OsStr>>>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 112 |     apple_versions_cache: RwLock<HashMap<Box<str>, Arc<str>>>,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `BuildCache` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `fortrancbin`, `pic`, `use_plt`, and `static_crt` are never read
[INFO] [stderr]    --> src/lib.rs:129:5
[INFO] [stderr]     |
[INFO] [stderr] 119 | pub struct Build {
[INFO] [stderr]     |            ----- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 129 |     fortrancbin: bool,
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 146 |     pic: Option<bool>,
[INFO] [stderr]     |     ^^^
[INFO] [stderr] 147 |     use_plt: Option<bool>,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] 148 |     static_crt: Option<bool>,
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Build` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `has_internal_target_arg` is never read
[INFO] [stderr]   --> src/tool.rs:31:16
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub struct Tool {
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 31 |     pub(crate) has_internal_target_arg: bool,
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Tool` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `with_family`, `is_duplicate_opt_arg`, and `push_opt_unless_duplicate` are never used
[INFO] [stderr]    --> src/tool.rs:55:19
[INFO] [stderr]     |
[INFO] [stderr]  34 | impl Tool {
[INFO] [stderr]     | --------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  55 |     pub(crate) fn with_family(path: PathBuf, family: ToolFamily) -> Self {
[INFO] [stderr]     |                   ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 276 |     pub(crate) fn is_duplicate_opt_arg(&self, flag: &OsString) -> bool {
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 306 |     pub(crate) fn push_opt_unless_duplicate(&mut self, flag: OsString) {
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Discard` is never constructed
[INFO] [stderr]   --> src/command_helper.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub(crate) enum OutputKind {
[INFO] [stderr]    |                 ---------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 29 |     Discard,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `OutputKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `ifx` and `lfortran` are never read
[INFO] [stderr]    --> src/command_helper.rs:429:16
[INFO] [stderr]     |
[INFO] [stderr] 423 | pub(crate) struct CmdAddOutputFileArgs {
[INFO] [stderr]     |                   -------------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 429 |     pub(crate) ifx: bool,
[INFO] [stderr]     |                ^^^
[INFO] [stderr] 430 |     pub(crate) lfortran: bool,
[INFO] [stderr]     |                ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `versioned_llvm_target` is never used
[INFO] [stderr]  --> src/target/llvm.rs:5:19
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl TargetInfo<'_> {
[INFO] [stderr]   | ------------------- method in this implementation
[INFO] [stderr] 4 |     /// The versioned LLVM/Clang target triple.
[INFO] [stderr] 5 |     pub(crate) fn versioned_llvm_target(&self, version: &str) -> String {
[INFO] [stderr]   |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `fortranc` (lib) generated 7 warnings
[INFO] [stderr] warning: `fortranc` (lib test) generated 7 warnings (7 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fortranc-41e0cd41405ff0cd)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test flags::tests::all_rustc_flags ... ok
[INFO] [stderr]    Doc-tests fortranc
[INFO] [stdout] test flags::tests::codegen_type ... ok
[INFO] [stdout] test flags::tests::three_valid_prefixes ... ok
[INFO] [stdout] test flags::tests::two_valid_prefixes ... ok
[INFO] [stdout] test flags::tests::precedence ... ok
[INFO] [stdout] test target::llvm::tests::test_basic_llvm_triple_guessing ... ok
[INFO] [stdout] test target::tests::cannot_parse_extra ... ok
[INFO] [stdout] test target::tests::tier1 ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 19 tests
[INFO] [stdout] test src/lib.rs - Build::includes (line 302) - compile ... ok
[INFO] [stdout] test src/lib.rs - Build::asm_flag (line 417) - compile ... ok
[INFO] [stdout] test src/lib.rs - Build::define (line 331) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 18) - compile ... ok
[INFO] [stdout] test src/lib.rs - Build::include (line 282) - compile ... ok
[INFO] [stdout] test src/lib.rs - Build::flag_if_supported (line 433) - compile ... ok
[INFO] [stdout] test src/lib.rs - Build::shared_flag (line 490) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 48) - compile ... ok
[INFO] [stdout] test src/lib.rs - Build::ar_flag (line 398) - compile ... ok
[INFO] [stdout] test src/lib.rs - Build::static_flag (line 508) - compile ... ok
[INFO] [stdout] test src/lib.rs - Build::warnings_into_errors (line 573) - compile ... ok
[INFO] [stdout] test src/lib.rs - Build::try_flags_from_environment (line 460) - compile ... ok
[INFO] [stdout] test src/lib.rs - Build::compile (line 2216) - compile ... ok
[INFO] [stdout] test src/lib.rs - Build::warnings (line 594) - compile ... ok
[INFO] [stdout] test src/lib.rs - Build::target (line 641) - compile ... ok
[INFO] [stdout] test src/lib.rs - Build::extra_warnings (line 616) - compile ... ok
[INFO] [stdout] test src/lib.rs - Build::flag (line 366) - compile ... ok
[INFO] [stdout] test src/lib.rs - Build::host (line 659) - compile ... ok
[INFO] [stdout] test src/lib.rs - Build::remove_flag (line 383) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "44cedbf78322efd887d2060b677c0c80a35b2abd51dd3cb422c7d4bec3282ec8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44cedbf78322efd887d2060b677c0c80a35b2abd51dd3cb422c7d4bec3282ec8", kill_on_drop: false }`
[INFO] [stdout] 44cedbf78322efd887d2060b677c0c80a35b2abd51dd3cb422c7d4bec3282ec8
