[INFO] fetching crate fortranc 0.1.0... [INFO] testing fortranc-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate fortranc 0.1.0 into /workspace/builds/worker-1-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fortranc 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14fe33e1a9a61f9c129680dd6d7aec517440e11181b53a337036112ae96c1e91 [INFO] running `Command { std: "docker" "start" "-a" "14fe33e1a9a61f9c129680dd6d7aec517440e11181b53a337036112ae96c1e91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14fe33e1a9a61f9c129680dd6d7aec517440e11181b53a337036112ae96c1e91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14fe33e1a9a61f9c129680dd6d7aec517440e11181b53a337036112ae96c1e91", kill_on_drop: false }` [INFO] [stdout] 14fe33e1a9a61f9c129680dd6d7aec517440e11181b53a337036112ae96c1e91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f04d984827bf8e56a023ff6e515a55df2fc6ed7c91ebfdc4220701fbbb54c54 [INFO] running `Command { std: "docker" "start" "-a" "6f04d984827bf8e56a023ff6e515a55df2fc6ed7c91ebfdc4220701fbbb54c54", 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, Env>>, [INFO] [stdout] 111 | apple_sdk_root_cache: RwLock, Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | apple_versions_cache: RwLock, Arc>>, [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, [INFO] [stdout] | ^^^ [INFO] [stdout] 147 | use_plt: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 148 | static_crt: Option, [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.52s [INFO] running `Command { std: "docker" "inspect" "6f04d984827bf8e56a023ff6e515a55df2fc6ed7c91ebfdc4220701fbbb54c54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f04d984827bf8e56a023ff6e515a55df2fc6ed7c91ebfdc4220701fbbb54c54", kill_on_drop: false }` [INFO] [stdout] 6f04d984827bf8e56a023ff6e515a55df2fc6ed7c91ebfdc4220701fbbb54c54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12a827d510f884a3a0ec59a8454d4e01c5c668c012c7c836af54a8455d5fd8f8 [INFO] running `Command { std: "docker" "start" "-a" "12a827d510f884a3a0ec59a8454d4e01c5c668c012c7c836af54a8455d5fd8f8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling once_cell v1.20.3 [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, Env>>, [INFO] [stdout] 111 | apple_sdk_root_cache: RwLock, Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | apple_versions_cache: RwLock, Arc>>, [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, [INFO] [stdout] | ^^^ [INFO] [stdout] 147 | use_plt: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 148 | static_crt: Option, [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, Env>>, [INFO] [stdout] 111 | apple_sdk_root_cache: RwLock, Arc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | apple_versions_cache: RwLock, Arc>>, [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, [INFO] [stdout] | ^^^ [INFO] [stdout] 147 | use_plt: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 148 | static_crt: Option, [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 4.36s [INFO] running `Command { std: "docker" "inspect" "12a827d510f884a3a0ec59a8454d4e01c5c668c012c7c836af54a8455d5fd8f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12a827d510f884a3a0ec59a8454d4e01c5c668c012c7c836af54a8455d5fd8f8", kill_on_drop: false }` [INFO] [stdout] 12a827d510f884a3a0ec59a8454d4e01c5c668c012c7c836af54a8455d5fd8f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 378059c27af75225f43ee11e79b01a55547de9c53e41b8e6104897f56cddabee [INFO] running `Command { std: "docker" "start" "-a" "378059c27af75225f43ee11e79b01a55547de9c53e41b8e6104897f56cddabee", 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, Env>>, [INFO] [stderr] 111 | apple_sdk_root_cache: RwLock, Arc>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 112 | apple_versions_cache: RwLock, Arc>>, [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, [INFO] [stderr] | ^^^ [INFO] [stderr] 147 | use_plt: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 148 | static_crt: Option, [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.04s [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::codegen_type ... ok [INFO] [stdout] test flags::tests::all_rustc_flags ... ok [INFO] [stdout] test flags::tests::three_valid_prefixes ... ok [INFO] [stdout] test target::tests::cannot_parse_extra ... ok [INFO] [stdout] test flags::tests::two_valid_prefixes ... ok [INFO] [stdout] test target::llvm::tests::test_basic_llvm_triple_guessing ... ok [INFO] [stdout] test flags::tests::precedence ... 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] [stderr] Doc-tests fortranc [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/lib.rs - Build::host (line 659) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 18) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::includes (line 302) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 48) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::include (line 282) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::asm_flag (line 417) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::static_flag (line 508) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::define (line 331) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::extra_warnings (line 616) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::compile (line 2216) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::target (line 641) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::ar_flag (line 398) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::shared_flag (line 490) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::warnings (line 594) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::try_flags_from_environment (line 460) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::flag (line 366) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::flag_if_supported (line 433) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::warnings_into_errors (line 573) - 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.57s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "378059c27af75225f43ee11e79b01a55547de9c53e41b8e6104897f56cddabee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "378059c27af75225f43ee11e79b01a55547de9c53e41b8e6104897f56cddabee", kill_on_drop: false }` [INFO] [stdout] 378059c27af75225f43ee11e79b01a55547de9c53e41b8e6104897f56cddabee