[INFO] fetching crate gsw 0.0.9... [INFO] testing gsw-0.0.9 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate gsw 0.0.9 into /workspace/builds/worker-23/source [INFO] validating manifest of crates.io crate gsw 0.0.9 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gsw 0.0.9 [INFO] finished tweaking crates.io crate gsw 0.0.9 [INFO] tweaked toml for crates.io crate gsw 0.0.9 written to /workspace/builds/worker-23/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21e3bdb59c31b2d9bf70fa2a23168b76550618cc5f1fc54f7ac05ff464fc7c19 [INFO] running `Command { std: "docker" "start" "-a" "21e3bdb59c31b2d9bf70fa2a23168b76550618cc5f1fc54f7ac05ff464fc7c19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21e3bdb59c31b2d9bf70fa2a23168b76550618cc5f1fc54f7ac05ff464fc7c19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21e3bdb59c31b2d9bf70fa2a23168b76550618cc5f1fc54f7ac05ff464fc7c19", kill_on_drop: false }` [INFO] [stdout] 21e3bdb59c31b2d9bf70fa2a23168b76550618cc5f1fc54f7ac05ff464fc7c19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34a4c6859712566391672c17bc9081ac044d71e79cbba773b1504785758219cb [INFO] running `Command { std: "docker" "start" "-a" "34a4c6859712566391672c17bc9081ac044d71e79cbba773b1504785758219cb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling gsw v0.0.9 (/opt/rustwide/workdir) [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stdout] warning: unused variable: `xs` [INFO] [stdout] --> src/volume.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | let xs: f64 = non_dimensional_sa(sa)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ys` [INFO] [stdout] --> src/volume.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | let ys: f64 = ct / GSW_CTU; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/volume.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let z: f64 = non_dimensional_p(p); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sa_ref` [INFO] [stdout] --> src/volume.rs:257:43 [INFO] [stdout] | [INFO] [stdout] 257 | fn specvol_anom(sa: f64, ct: f64, p: f64, sa_ref: Option, ct_ref: Option) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sa_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ct_ref` [INFO] [stdout] --> src/volume.rs:257:64 [INFO] [stdout] | [INFO] [stdout] 257 | fn specvol_anom(sa: f64, ct: f64, p: f64, sa_ref: Option, ct_ref: Option) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ct_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sa` [INFO] [stdout] --> src/volume.rs:461:20 [INFO] [stdout] | [INFO] [stdout] 461 | fn internal_energy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ct` [INFO] [stdout] --> src/volume.rs:461:29 [INFO] [stdout] | [INFO] [stdout] 461 | fn internal_energy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/volume.rs:461:38 [INFO] [stdout] | [INFO] [stdout] 461 | fn internal_energy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sa` [INFO] [stdout] --> src/volume.rs:484:18 [INFO] [stdout] | [INFO] [stdout] 484 | fn enthalpy_diff(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ct` [INFO] [stdout] --> src/volume.rs:484:27 [INFO] [stdout] | [INFO] [stdout] 484 | fn enthalpy_diff(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/volume.rs:484:36 [INFO] [stdout] | [INFO] [stdout] 484 | fn enthalpy_diff(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `specvol_anom` [INFO] [stdout] --> src/volume.rs:257:4 [INFO] [stdout] | [INFO] [stdout] 257 | fn specvol_anom(sa: f64, ct: f64, p: f64, sa_ref: Option, ct_ref: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `internal_energy` [INFO] [stdout] --> src/volume.rs:461:4 [INFO] [stdout] | [INFO] [stdout] 461 | fn internal_energy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `enthalpy` [INFO] [stdout] --> src/volume.rs:473:4 [INFO] [stdout] | [INFO] [stdout] 473 | fn enthalpy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `enthalpy_diff` [INFO] [stdout] --> src/volume.rs:484:4 [INFO] [stdout] | [INFO] [stdout] 484 | fn enthalpy_diff(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ct_from_rho` [INFO] [stdout] --> src/volume.rs:646:4 [INFO] [stdout] | [INFO] [stdout] 646 | fn ct_from_rho() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ct_maxdensity` [INFO] [stdout] --> src/volume.rs:650:4 [INFO] [stdout] | [INFO] [stdout] 650 | fn ct_maxdensity() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `Command { std: "docker" "inspect" "34a4c6859712566391672c17bc9081ac044d71e79cbba773b1504785758219cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34a4c6859712566391672c17bc9081ac044d71e79cbba773b1504785758219cb", kill_on_drop: false }` [INFO] [stdout] 34a4c6859712566391672c17bc9081ac044d71e79cbba773b1504785758219cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46b6cf281542af04b6174dd0ca8ddd3e0e6767739942fac6258f7761b252474a [INFO] running `Command { std: "docker" "start" "-a" "46b6cf281542af04b6174dd0ca8ddd3e0e6767739942fac6258f7761b252474a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling target-lexicon v0.11.2 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling heapless v0.7.10 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling postcard-cobs v0.1.5-pre [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling gsw v0.0.9 (/opt/rustwide/workdir) [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stdout] warning: unused variable: `xs` [INFO] [stdout] --> src/volume.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | let xs: f64 = non_dimensional_sa(sa)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ys` [INFO] [stdout] --> src/volume.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | let ys: f64 = ct / GSW_CTU; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/volume.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let z: f64 = non_dimensional_p(p); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sa_ref` [INFO] [stdout] --> src/volume.rs:257:43 [INFO] [stdout] | [INFO] [stdout] 257 | fn specvol_anom(sa: f64, ct: f64, p: f64, sa_ref: Option, ct_ref: Option) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sa_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ct_ref` [INFO] [stdout] --> src/volume.rs:257:64 [INFO] [stdout] | [INFO] [stdout] 257 | fn specvol_anom(sa: f64, ct: f64, p: f64, sa_ref: Option, ct_ref: Option) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ct_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sa` [INFO] [stdout] --> src/volume.rs:461:20 [INFO] [stdout] | [INFO] [stdout] 461 | fn internal_energy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ct` [INFO] [stdout] --> src/volume.rs:461:29 [INFO] [stdout] | [INFO] [stdout] 461 | fn internal_energy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/volume.rs:461:38 [INFO] [stdout] | [INFO] [stdout] 461 | fn internal_energy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sa` [INFO] [stdout] --> src/volume.rs:484:18 [INFO] [stdout] | [INFO] [stdout] 484 | fn enthalpy_diff(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ct` [INFO] [stdout] --> src/volume.rs:484:27 [INFO] [stdout] | [INFO] [stdout] 484 | fn enthalpy_diff(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/volume.rs:484:36 [INFO] [stdout] | [INFO] [stdout] 484 | fn enthalpy_diff(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `specvol_anom` [INFO] [stdout] --> src/volume.rs:257:4 [INFO] [stdout] | [INFO] [stdout] 257 | fn specvol_anom(sa: f64, ct: f64, p: f64, sa_ref: Option, ct_ref: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `internal_energy` [INFO] [stdout] --> src/volume.rs:461:4 [INFO] [stdout] | [INFO] [stdout] 461 | fn internal_energy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `enthalpy` [INFO] [stdout] --> src/volume.rs:473:4 [INFO] [stdout] | [INFO] [stdout] 473 | fn enthalpy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `enthalpy_diff` [INFO] [stdout] --> src/volume.rs:484:4 [INFO] [stdout] | [INFO] [stdout] 484 | fn enthalpy_diff(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ct_from_rho` [INFO] [stdout] --> src/volume.rs:646:4 [INFO] [stdout] | [INFO] [stdout] 646 | fn ct_from_rho() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ct_maxdensity` [INFO] [stdout] --> src/volume.rs:650:4 [INFO] [stdout] | [INFO] [stdout] 650 | fn ct_maxdensity() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling predicates v2.1.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling assert_cmd v1.0.8 [INFO] [stderr] Compiling inline-c-macro v0.1.5 [INFO] [stderr] Compiling inline-c v0.1.6 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling postcard v0.7.3 [INFO] [stdout] warning: unused variable: `xs` [INFO] [stdout] --> src/volume.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | let xs: f64 = non_dimensional_sa(sa)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ys` [INFO] [stdout] --> src/volume.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | let ys: f64 = ct / GSW_CTU; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/volume.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | let z: f64 = non_dimensional_p(p); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sa_ref` [INFO] [stdout] --> src/volume.rs:257:43 [INFO] [stdout] | [INFO] [stdout] 257 | fn specvol_anom(sa: f64, ct: f64, p: f64, sa_ref: Option, ct_ref: Option) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sa_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ct_ref` [INFO] [stdout] --> src/volume.rs:257:64 [INFO] [stdout] | [INFO] [stdout] 257 | fn specvol_anom(sa: f64, ct: f64, p: f64, sa_ref: Option, ct_ref: Option) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ct_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sa` [INFO] [stdout] --> src/volume.rs:461:20 [INFO] [stdout] | [INFO] [stdout] 461 | fn internal_energy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ct` [INFO] [stdout] --> src/volume.rs:461:29 [INFO] [stdout] | [INFO] [stdout] 461 | fn internal_energy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/volume.rs:461:38 [INFO] [stdout] | [INFO] [stdout] 461 | fn internal_energy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sa` [INFO] [stdout] --> src/volume.rs:484:18 [INFO] [stdout] | [INFO] [stdout] 484 | fn enthalpy_diff(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ct` [INFO] [stdout] --> src/volume.rs:484:27 [INFO] [stdout] | [INFO] [stdout] 484 | fn enthalpy_diff(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/volume.rs:484:36 [INFO] [stdout] | [INFO] [stdout] 484 | fn enthalpy_diff(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `specvol_anom` [INFO] [stdout] --> src/volume.rs:257:4 [INFO] [stdout] | [INFO] [stdout] 257 | fn specvol_anom(sa: f64, ct: f64, p: f64, sa_ref: Option, ct_ref: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `internal_energy` [INFO] [stdout] --> src/volume.rs:461:4 [INFO] [stdout] | [INFO] [stdout] 461 | fn internal_energy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `enthalpy` [INFO] [stdout] --> src/volume.rs:473:4 [INFO] [stdout] | [INFO] [stdout] 473 | fn enthalpy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `enthalpy_diff` [INFO] [stdout] --> src/volume.rs:484:4 [INFO] [stdout] | [INFO] [stdout] 484 | fn enthalpy_diff(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ct_from_rho` [INFO] [stdout] --> src/volume.rs:646:4 [INFO] [stdout] | [INFO] [stdout] 646 | fn ct_from_rho() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ct_maxdensity` [INFO] [stdout] --> src/volume.rs:650:4 [INFO] [stdout] | [INFO] [stdout] 650 | fn ct_maxdensity() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.44s [INFO] running `Command { std: "docker" "inspect" "46b6cf281542af04b6174dd0ca8ddd3e0e6767739942fac6258f7761b252474a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46b6cf281542af04b6174dd0ca8ddd3e0e6767739942fac6258f7761b252474a", kill_on_drop: false }` [INFO] [stdout] 46b6cf281542af04b6174dd0ca8ddd3e0e6767739942fac6258f7761b252474a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] baa40bd0fc4ff39a0bb668aae34aa23d4bf3a6b6e467ecd519232bf3df3ec249 [INFO] running `Command { std: "docker" "start" "-a" "baa40bd0fc4ff39a0bb668aae34aa23d4bf3a6b6e467ecd519232bf3df3ec249", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `xs` [INFO] [stderr] --> src/volume.rs:258:9 [INFO] [stderr] | [INFO] [stderr] 258 | let xs: f64 = non_dimensional_sa(sa)?; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_xs` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ys` [INFO] [stderr] --> src/volume.rs:259:9 [INFO] [stderr] | [INFO] [stderr] 259 | let ys: f64 = ct / GSW_CTU; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ys` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `z` [INFO] [stderr] --> src/volume.rs:260:9 [INFO] [stderr] | [INFO] [stderr] 260 | let z: f64 = non_dimensional_p(p); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sa_ref` [INFO] [stderr] --> src/volume.rs:257:43 [INFO] [stderr] | [INFO] [stderr] 257 | fn specvol_anom(sa: f64, ct: f64, p: f64, sa_ref: Option, ct_ref: Option) -> Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sa_ref` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ct_ref` [INFO] [stderr] --> src/volume.rs:257:64 [INFO] [stderr] | [INFO] [stderr] 257 | fn specvol_anom(sa: f64, ct: f64, p: f64, sa_ref: Option, ct_ref: Option) -> Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ct_ref` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sa` [INFO] [stderr] --> src/volume.rs:461:20 [INFO] [stderr] | [INFO] [stderr] 461 | fn internal_energy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_sa` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ct` [INFO] [stderr] --> src/volume.rs:461:29 [INFO] [stderr] | [INFO] [stderr] 461 | fn internal_energy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ct` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/volume.rs:461:38 [INFO] [stderr] | [INFO] [stderr] 461 | fn internal_energy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sa` [INFO] [stderr] --> src/volume.rs:484:18 [INFO] [stderr] | [INFO] [stderr] 484 | fn enthalpy_diff(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_sa` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ct` [INFO] [stderr] --> src/volume.rs:484:27 [INFO] [stderr] | [INFO] [stderr] 484 | fn enthalpy_diff(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ct` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/volume.rs:484:36 [INFO] [stderr] | [INFO] [stderr] 484 | fn enthalpy_diff(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `specvol_anom` [INFO] [stderr] --> src/volume.rs:257:4 [INFO] [stderr] | [INFO] [stderr] 257 | fn specvol_anom(sa: f64, ct: f64, p: f64, sa_ref: Option, ct_ref: Option) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `internal_energy` [INFO] [stderr] --> src/volume.rs:461:4 [INFO] [stderr] | [INFO] [stderr] 461 | fn internal_energy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `enthalpy` [INFO] [stderr] --> src/volume.rs:473:4 [INFO] [stderr] | [INFO] [stderr] 473 | fn enthalpy(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `enthalpy_diff` [INFO] [stderr] --> src/volume.rs:484:4 [INFO] [stderr] | [INFO] [stderr] 484 | fn enthalpy_diff(sa: f64, ct: f64, p: f64) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ct_from_rho` [INFO] [stderr] --> src/volume.rs:646:4 [INFO] [stderr] | [INFO] [stderr] 646 | fn ct_from_rho() { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ct_maxdensity` [INFO] [stderr] --> src/volume.rs:650:4 [INFO] [stderr] | [INFO] [stderr] 650 | fn ct_maxdensity() { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gsw` (lib) generated 17 warnings [INFO] [stderr] warning: `gsw` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gsw-3a5d6789b4d869bf) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test conversions::tests::test_t90_from_t68 ... ok [INFO] [stdout] test conversions::tests::test_z_from_p ... ok [INFO] [stdout] test earth::test_coriollis_parameter::poles ... ok [INFO] [stdout] test earth::test_coriollis_parameter::equator ... ok [INFO] [stdout] test earth::test_distance::distance_depth_effect ... ok [INFO] [stdout] test earth::test_distance::distance_along_equator ... ok [INFO] [stdout] test earth::test_distance::distance_high_latitude ... ok [INFO] [stdout] test earth::test_distance::distance_on_depth ... ok [INFO] [stdout] test earth::test_distance::distance_with_depth ... ok [INFO] [stdout] test gsw_internal_funcs::test_hill_ratio_at_sp2::example_values ... ok [INFO] [stdout] test gsw_internal_funcs::test_specvol_sso_0::specvol_vs_specvol_sso_0 ... ok [INFO] [stdout] test practical_salinity::test_c_from_sp::negative_sp ... ok [INFO] [stderr] Running tests/earth.rs (/opt/rustwide/target/debug/deps/earth-664968782e9c9b24) [INFO] [stdout] test practical_salinity::test_c_from_sp::overlimit_sp ... ok [INFO] [stdout] test practical_salinity::test_c_from_sp::zero_sp ... ok [INFO] [stdout] test practical_salinity::test_r_from_sp::nan ... ok [INFO] [stdout] test practical_salinity::test_sp_from_c::nan ... ok [INFO] [stdout] test practical_salinity::test_sp_from_c::negative_cndc ... ok [INFO] [stdout] test practical_salinity::test_sp_from_c::zero_cndc ... ok [INFO] [stdout] test practical_salinity::test_sp_from_r::nan ... ok [INFO] [stdout] test practical_salinity::test_sp_salinometer::nan ... ok [INFO] [stdout] test practical_salinity::test_sp_salinometer::negative_rt ... ok [INFO] [stdout] test practical_salinity::test_sp_salinometer::ratio_one ... ok [INFO] [stdout] test volume::test_dynamic_enthalpy::nan ... ok [INFO] [stdout] test volume::test_dynamic_enthalpy::negative_sa ... ok [INFO] [stdout] test volume::test_specvol::nan ... ok [INFO] [stdout] test volume::test_specvol::roquet2015 ... ok [INFO] [stdout] test volume::test_specvol::test_specvol ... ok [INFO] [stdout] test volume::tests::test_negative_sa ... ok [INFO] [stdout] test volume::tests::test_specvol_anom_standard_at_standard ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test gravity ... ok [INFO] [stdout] test coriolis_parameter ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/volume.rs (/opt/rustwide/target/debug/deps/volume-d757a087b2294f84) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test alpha ... ok [INFO] [stdout] test specvol ... ok [INFO] [stdout] test sound_speed ... ok [INFO] [stdout] test beta ... ok [INFO] [stdout] test dynamic_enthalpy ... ok [INFO] [stdout] test rho ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests gsw [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/gsw_internal_funcs.rs - gsw_internal_funcs::non_dimensional_p (line 48) ... ok [INFO] [stdout] test src/earth.rs - earth::gravity (line 52) ... ok [INFO] [stdout] test src/conversions.rs - conversions::z_from_p (line 81) ... ok [INFO] [stdout] test src/volume.rs - volume::dynamic_enthalpy (line 507) ... ok [INFO] [stdout] test src/practical_salinity.rs - practical_salinity::r_from_sp (line 248) ... ok [INFO] [stdout] test src/earth.rs - earth::distance (line 94) ... ok [INFO] [stdout] test src/practical_salinity.rs - practical_salinity::sp_from_c (line 22) ... ok [INFO] [stdout] test src/practical_salinity.rs - practical_salinity::c_from_sp (line 101) ... ok [INFO] [stdout] test src/practical_salinity.rs - practical_salinity::sp_from_r (line 160) ... ok [INFO] [stdout] test src/earth.rs - earth::coriollis_parameter (line 10) ... ok [INFO] [stdout] test src/conversions.rs - conversions::t90_from_t68 (line 48) ... ok [INFO] [stdout] test src/practical_salinity.rs - practical_salinity::sp_salinometer (line 451) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "baa40bd0fc4ff39a0bb668aae34aa23d4bf3a6b6e467ecd519232bf3df3ec249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baa40bd0fc4ff39a0bb668aae34aa23d4bf3a6b6e467ecd519232bf3df3ec249", kill_on_drop: false }` [INFO] [stdout] baa40bd0fc4ff39a0bb668aae34aa23d4bf3a6b6e467ecd519232bf3df3ec249