[INFO] fetching crate fortranc 0.1.0... [INFO] testing fortranc-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-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 b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e9a271bf2a2bdf406dd54828173f0fc4047891d4407deaeeb0f346a6e8ae5ef [INFO] running `Command { std: "docker" "start" "-a" "9e9a271bf2a2bdf406dd54828173f0fc4047891d4407deaeeb0f346a6e8ae5ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e9a271bf2a2bdf406dd54828173f0fc4047891d4407deaeeb0f346a6e8ae5ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e9a271bf2a2bdf406dd54828173f0fc4047891d4407deaeeb0f346a6e8ae5ef", kill_on_drop: false }` [INFO] [stdout] 9e9a271bf2a2bdf406dd54828173f0fc4047891d4407deaeeb0f346a6e8ae5ef [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 129817f7c597835ae93f4a9f313473ead02fc879a26a83b1f0336ec8392f21e6 [INFO] running `Command { std: "docker" "start" "-a" "129817f7c597835ae93f4a9f313473ead02fc879a26a83b1f0336ec8392f21e6", 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)]` 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.41s [INFO] running `Command { std: "docker" "inspect" "129817f7c597835ae93f4a9f313473ead02fc879a26a83b1f0336ec8392f21e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "129817f7c597835ae93f4a9f313473ead02fc879a26a83b1f0336ec8392f21e6", kill_on_drop: false }` [INFO] [stdout] 129817f7c597835ae93f4a9f313473ead02fc879a26a83b1f0336ec8392f21e6 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c32e542c951c12e37bae8a79b5decc743490734e95a277a894976341bf293d8b [INFO] running `Command { std: "docker" "start" "-a" "c32e542c951c12e37bae8a79b5decc743490734e95a277a894976341bf293d8b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling getrandom v0.3.1 [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)]` 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)]` 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.27s [INFO] running `Command { std: "docker" "inspect" "c32e542c951c12e37bae8a79b5decc743490734e95a277a894976341bf293d8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c32e542c951c12e37bae8a79b5decc743490734e95a277a894976341bf293d8b", kill_on_drop: false }` [INFO] [stdout] c32e542c951c12e37bae8a79b5decc743490734e95a277a894976341bf293d8b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a6c8b17367bfdc21b63028e766c5e8bcd6baffda456d86acbac8cfff447c8515 [INFO] running `Command { std: "docker" "start" "-a" "a6c8b17367bfdc21b63028e766c5e8bcd6baffda456d86acbac8cfff447c8515", 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)]` 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::precedence ... ok [INFO] [stdout] test flags::tests::codegen_type ... ok [INFO] [stdout] test flags::tests::all_rustc_flags ... 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 target::tests::cannot_parse_extra ... ok [INFO] [stdout] test target::tests::tier1 ... ok [INFO] [stdout] test flags::tests::three_valid_prefixes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests fortranc [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/lib.rs - Build::asm_flag (line 417) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::target (line 641) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::include (line 282) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::ar_flag (line 398) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::define (line 331) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::compile (line 2216) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::includes (line 302) - 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 - (line 18) - 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 - (line 48) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::static_flag (line 508) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::flag (line 366) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::try_flags_from_environment (line 460) - compile ... ok [INFO] [stdout] test src/lib.rs - Build::extra_warnings (line 616) - 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.37s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a6c8b17367bfdc21b63028e766c5e8bcd6baffda456d86acbac8cfff447c8515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6c8b17367bfdc21b63028e766c5e8bcd6baffda456d86acbac8cfff447c8515", kill_on_drop: false }` [INFO] [stdout] a6c8b17367bfdc21b63028e766c5e8bcd6baffda456d86acbac8cfff447c8515