[INFO] updating cached repository https://github.com/Takashi949/nozzle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Takashi949/nozzle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Takashi949/nozzle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Takashi949/nozzle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Takashi949/nozzle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Takashi949/nozzle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Takashi949/nozzle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Takashi949/nozzle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Takashi949/nozzle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Takashi949/nozzle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Takashi949/nozzle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Takashi949/nozzle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Takashi949/nozzle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Takashi949/nozzle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/Takashi949/nozzle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6c101d2dc7b73fc8799bd9800b606436a4bbd0e [INFO] checking Takashi949/nozzle against master#ea6ab1bd845790fb31ba790d2c7aec898f89fe62 for pr-99880 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTakashi949%2Fnozzle" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Takashi949/nozzle on toolchain ea6ab1bd845790fb31ba790d2c7aec898f89fe62 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Takashi949/nozzle [INFO] finished tweaking git repo https://github.com/Takashi949/nozzle [INFO] tweaked toml for git repo https://github.com/Takashi949/nozzle written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/Takashi949/nozzle already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] aadf13234cf35797a698392f1e419ea9df72c02366568d232a9e941e7c22acc5 [INFO] running `Command { std: "docker" "start" "-a" "aadf13234cf35797a698392f1e419ea9df72c02366568d232a9e941e7c22acc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aadf13234cf35797a698392f1e419ea9df72c02366568d232a9e941e7c22acc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aadf13234cf35797a698392f1e419ea9df72c02366568d232a9e941e7c22acc5", kill_on_drop: false }` [INFO] [stdout] aadf13234cf35797a698392f1e419ea9df72c02366568d232a9e941e7c22acc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98c2890b831432856341157fe1b7d188ea6083725646b0daeb07d1b69712e048 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "98c2890b831432856341157fe1b7d188ea6083725646b0daeb07d1b69712e048", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling crc32fast v1.2.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling cmake v0.1.46 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking freetype v0.7.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling pathfinder_simd v0.5.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking font-kit v0.10.1 [INFO] [stderr] Checking plotters-bitmap v0.3.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking nozzle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `suehiro` should have an upper camel case name [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | suehiro, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Suehiro` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `deguti` should have an upper camel case name [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | deguti, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Deguti` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ka` should have an upper camel case name [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ka, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Ka` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `saiteki` should have an upper camel case name [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | saiteki, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Saiteki` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `husoku` should have an upper camel case name [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | husoku, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Husoku` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `humei` should have an upper camel case name [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | humei, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Humei` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quantity` should have an upper camel case name [INFO] [stdout] --> src/main.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct quantity{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `suehiro` should have an upper camel case name [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | suehiro, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Suehiro` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `deguti` should have an upper camel case name [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | deguti, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Deguti` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ka` should have an upper camel case name [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ka, [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Ka` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `saiteki` should have an upper camel case name [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | saiteki, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Saiteki` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `husoku` should have an upper camel case name [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | husoku, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Husoku` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `humei` should have an upper camel case name [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | humei, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Humei` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quantity` should have an upper camel case name [INFO] [stdout] --> src/main.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct quantity{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Quantity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | for n in 0 .. NEWTON_MAX { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pcP0` [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let pcP0 = calc_pcp0(κ); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pcP0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `Mx` is never read [INFO] [stdout] --> src/main.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | let mut Mx = 0.0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rx` is never read [INFO] [stdout] --> src/main.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let mut rx = 0.0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `i` is assigned to, but never used [INFO] [stdout] --> src/main.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_i` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quans` [INFO] [stdout] --> src/main.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 343 | let mut quans = calc_Mx(&nozzle, κ, PbP0, nagare); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_quans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | let mut nozzle = Nozzle::new_by_AeAc(4.0); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let mut quans = calc_Mx(&nozzle, κ, PbP0, nagare); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `Mx` and `rx` are never read [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct quantity{ [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 37 | x : f64, [INFO] [stdout] | ^ [INFO] [stdout] 38 | Mx : f64, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | rx :f64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `quantity` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_Pp` is never used [INFO] [stdout] --> src/main.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn calc_Pp(κ : f64, M : f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resultPng` is never used [INFO] [stdout] --> src/main.rs:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | fn resultPng(quans: Vec, path : String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn new(Di : f64, Dth:f64, xth : f64, De:f64, xe:f64) -> Nozzle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | for n in 0 .. NEWTON_MAX { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pcP0` [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let pcP0 = calc_pcp0(κ); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pcP0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `Mx` is never read [INFO] [stdout] --> src/main.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | let mut Mx = 0.0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rx` is never read [INFO] [stdout] --> src/main.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let mut rx = 0.0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `i` is assigned to, but never used [INFO] [stdout] --> src/main.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_i` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quans` [INFO] [stdout] --> src/main.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 343 | let mut quans = calc_Mx(&nozzle, κ, PbP0, nagare); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_quans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | let mut nozzle = Nozzle::new_by_AeAc(4.0); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let mut quans = calc_Mx(&nozzle, κ, PbP0, nagare); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `Mx` and `rx` are never read [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct quantity{ [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 37 | x : f64, [INFO] [stdout] | ^ [INFO] [stdout] 38 | Mx : f64, [INFO] [stdout] | ^^ [INFO] [stdout] 39 | rx :f64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `quantity` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_Pp` is never used [INFO] [stdout] --> src/main.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn calc_Pp(κ : f64, M : f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resultPng` is never used [INFO] [stdout] --> src/main.rs:290:4 [INFO] [stdout] | [INFO] [stdout] 290 | fn resultPng(quans: Vec, path : String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn new(Di : f64, Dth:f64, xth : f64, De:f64, xe:f64) -> Nozzle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.70s [INFO] running `Command { std: "docker" "inspect" "98c2890b831432856341157fe1b7d188ea6083725646b0daeb07d1b69712e048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98c2890b831432856341157fe1b7d188ea6083725646b0daeb07d1b69712e048", kill_on_drop: false }` [INFO] [stdout] 98c2890b831432856341157fe1b7d188ea6083725646b0daeb07d1b69712e048