[INFO] cloning repository https://github.com/usk79/kalmanfilter_simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/usk79/kalmanfilter_simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fusk79%2Fkalmanfilter_simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fusk79%2Fkalmanfilter_simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bda29da2d64e7c6917a8d3ebbbacdbc70958dd6f [INFO] testing usk79/kalmanfilter_simulation against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fusk79%2Fkalmanfilter_simulation" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/usk79/kalmanfilter_simulation on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/usk79/kalmanfilter_simulation [INFO] finished tweaking git repo https://github.com/usk79/kalmanfilter_simulation [INFO] tweaked toml for git repo https://github.com/usk79/kalmanfilter_simulation written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/usk79/kalmanfilter_simulation 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" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8eb484dcb58b12bb04de088e538ad2fccfb45ef1e9b59b03bf1c9b40f02a0eb4 [INFO] running `Command { std: "docker" "start" "-a" "8eb484dcb58b12bb04de088e538ad2fccfb45ef1e9b59b03bf1c9b40f02a0eb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8eb484dcb58b12bb04de088e538ad2fccfb45ef1e9b59b03bf1c9b40f02a0eb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eb484dcb58b12bb04de088e538ad2fccfb45ef1e9b59b03bf1c9b40f02a0eb4", kill_on_drop: false }` [INFO] [stdout] 8eb484dcb58b12bb04de088e538ad2fccfb45ef1e9b59b03bf1c9b40f02a0eb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 722bfaafde4ae99e0fb87159d280b4ea56af9de90aae3bc45d42c31bbf7d8803 [INFO] running `Command { std: "docker" "start" "-a" "722bfaafde4ae99e0fb87159d280b4ea56af9de90aae3bc45d42c31bbf7d8803", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling wide v0.7.4 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling pathfinder_simd v0.5.1 [INFO] [stderr] Compiling freetype v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling servo-fontconfig v0.5.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling simba v0.7.1 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling font-kit v0.10.1 [INFO] [stderr] Compiling plotters-bitmap v0.3.1 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling kalmanfilt2d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Points`, `output_timeseries`, and `scatter` [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use plot::{Points, scatter, TimeSeries, timeplot, output_timeseries}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayStorage`, `Dynamic`, `Matrix`, `OMatrix`, `U2`, `U3`, and `VecStorage` [INFO] [stdout] --> src/modelestimator.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use na::{U2, U3, Dynamic, ArrayStorage, VecStorage, Matrix, OMatrix, DMatrix}; [INFO] [stdout] | ^^ ^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `datalist` [INFO] [stdout] --> src/plot.rs:255:26 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn output_timeseries(datalist: &Vec, filename: &String) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_datalist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputdist_spd` [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let inputdist_spd = Normal::::new(0.0, SIGMA2_SPD).unwrap(); // 入力の確率密度関数 [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputdist_spd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputdist_spd` [INFO] [stdout] --> src/main.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let inputdist_spd = Normal::::new(0.0, SIGMA2_SPD).unwrap(); // 入力の確率密度関数 [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputdist_spd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state_predict` [INFO] [stdout] --> src/main.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let state_predict = model_est.predict_nextstate(vec![accr]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_predict` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simulation1` is never used [INFO] [stdout] --> src/main.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn simulation1() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_model1` is never used [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn create_model1(sample_time: f64) -> Model { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plot.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(x: f64, y: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/plot.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Points { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 20 | pub data: Vec, // データ(時間と値のベクタ) いったんpub 本来はPrivateにしたい [INFO] [stdout] 21 | pub length: usize, // データ長 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Points` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plot.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Points { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(len: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `xmax`, `xmin`, `ymax`, and `ymin` are never used [INFO] [stdout] --> src/plot.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | trait Series { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 34 | fn xmax(&self) -> f64; [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | fn xmin(&self) -> f64; [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | fn ymax(&self) -> f64; [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | fn ymin(&self) -> f64; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `gettime_bystep` and `output_csv` are never used [INFO] [stdout] --> src/plot.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl TimeSeries { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn gettime_bystep(&self, step: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn output_csv(&self, filename: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scatter` is never used [INFO] [stdout] --> src/plot.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn scatter(series : &Points, filename : &str, caption : &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `output_timeseries` is never used [INFO] [stdout] --> src/plot.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn output_timeseries(datalist: &Vec, filename: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.34s [INFO] running `Command { std: "docker" "inspect" "722bfaafde4ae99e0fb87159d280b4ea56af9de90aae3bc45d42c31bbf7d8803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "722bfaafde4ae99e0fb87159d280b4ea56af9de90aae3bc45d42c31bbf7d8803", kill_on_drop: false }` [INFO] [stdout] 722bfaafde4ae99e0fb87159d280b4ea56af9de90aae3bc45d42c31bbf7d8803 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f86c87b3064ec163b302b68dfac4a02254f7dc282244cbb76d029146aaabc9a9 [INFO] running `Command { std: "docker" "start" "-a" "f86c87b3064ec163b302b68dfac4a02254f7dc282244cbb76d029146aaabc9a9", kill_on_drop: false }` [INFO] [stderr] Compiling kalmanfilt2d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Points`, `output_timeseries`, and `scatter` [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use plot::{Points, scatter, TimeSeries, timeplot, output_timeseries}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayStorage`, `Dynamic`, `Matrix`, `OMatrix`, `U2`, `U3`, and `VecStorage` [INFO] [stdout] --> src/modelestimator.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use na::{U2, U3, Dynamic, ArrayStorage, VecStorage, Matrix, OMatrix, DMatrix}; [INFO] [stdout] | ^^ ^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `datalist` [INFO] [stdout] --> src/plot.rs:255:26 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn output_timeseries(datalist: &Vec, filename: &String) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_datalist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputdist_spd` [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let inputdist_spd = Normal::::new(0.0, SIGMA2_SPD).unwrap(); // 入力の確率密度関数 [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputdist_spd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputdist_spd` [INFO] [stdout] --> src/main.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let inputdist_spd = Normal::::new(0.0, SIGMA2_SPD).unwrap(); // 入力の確率密度関数 [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputdist_spd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state_predict` [INFO] [stdout] --> src/main.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let state_predict = model_est.predict_nextstate(vec![accr]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_predict` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simulation1` is never used [INFO] [stdout] --> src/main.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn simulation1() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_model1` is never used [INFO] [stdout] --> src/main.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn create_model1(sample_time: f64) -> Model { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plot.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(x: f64, y: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/plot.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Points { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 20 | pub data: Vec, // データ(時間と値のベクタ) いったんpub 本来はPrivateにしたい [INFO] [stdout] 21 | pub length: usize, // データ長 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Points` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/plot.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Points { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(len: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `xmax`, `xmin`, `ymax`, and `ymin` are never used [INFO] [stdout] --> src/plot.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | trait Series { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 34 | fn xmax(&self) -> f64; [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | fn xmin(&self) -> f64; [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | fn ymax(&self) -> f64; [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | fn ymin(&self) -> f64; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `gettime_bystep` and `output_csv` are never used [INFO] [stdout] --> src/plot.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl TimeSeries { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn gettime_bystep(&self, step: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn output_csv(&self, filename: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scatter` is never used [INFO] [stdout] --> src/plot.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn scatter(series : &Points, filename : &str, caption : &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `output_timeseries` is never used [INFO] [stdout] --> src/plot.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn output_timeseries(datalist: &Vec, filename: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "f86c87b3064ec163b302b68dfac4a02254f7dc282244cbb76d029146aaabc9a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f86c87b3064ec163b302b68dfac4a02254f7dc282244cbb76d029146aaabc9a9", kill_on_drop: false }` [INFO] [stdout] f86c87b3064ec163b302b68dfac4a02254f7dc282244cbb76d029146aaabc9a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dbc88b2f10655563c1f6ed49edea0f30c270b7f43de5b53987667f1be44dbc89 [INFO] running `Command { std: "docker" "start" "-a" "dbc88b2f10655563c1f6ed49edea0f30c270b7f43de5b53987667f1be44dbc89", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Points`, `output_timeseries`, and `scatter` [INFO] [stderr] --> src/main.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | use plot::{Points, scatter, TimeSeries, timeplot, output_timeseries}; [INFO] [stderr] | ^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ArrayStorage`, `Dynamic`, `Matrix`, `OMatrix`, `U2`, `U3`, and `VecStorage` [INFO] [stderr] --> src/modelestimator.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | use na::{U2, U3, Dynamic, ArrayStorage, VecStorage, Matrix, OMatrix, DMatrix}; [INFO] [stderr] | ^^ ^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `datalist` [INFO] [stderr] --> src/plot.rs:255:26 [INFO] [stderr] | [INFO] [stderr] 255 | pub fn output_timeseries(datalist: &Vec, filename: &String) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_datalist` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inputdist_spd` [INFO] [stderr] --> src/main.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | let inputdist_spd = Normal::::new(0.0, SIGMA2_SPD).unwrap(); // 入力の確率密度関数 [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputdist_spd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inputdist_spd` [INFO] [stderr] --> src/main.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 122 | let inputdist_spd = Normal::::new(0.0, SIGMA2_SPD).unwrap(); // 入力の確率密度関数 [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputdist_spd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state_predict` [INFO] [stderr] --> src/main.rs:154:13 [INFO] [stderr] | [INFO] [stderr] 154 | let state_predict = model_est.predict_nextstate(vec![accr]); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_predict` [INFO] [stderr] [INFO] [stderr] warning: function `simulation1` is never used [INFO] [stderr] --> src/main.rs:17:4 [INFO] [stderr] | [INFO] [stderr] 17 | fn simulation1() { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `create_model1` is never used [INFO] [stderr] --> src/main.rs:87:4 [INFO] [stderr] | [INFO] [stderr] 87 | fn create_model1(sample_time: f64) -> Model { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/plot.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl Point { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 13 | pub fn new(x: f64, y: f64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `length` is never read [INFO] [stderr] --> src/plot.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct Points { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 20 | pub data: Vec, // データ(時間と値のベクタ) いったんpub 本来はPrivateにしたい [INFO] [stderr] 21 | pub length: usize, // データ長 [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Points` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/plot.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl Points { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 25 | pub fn new(len: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `xmax`, `xmin`, `ymax`, and `ymin` are never used [INFO] [stderr] --> src/plot.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 33 | trait Series { [INFO] [stderr] | ------ methods in this trait [INFO] [stderr] 34 | fn xmax(&self) -> f64; [INFO] [stderr] | ^^^^ [INFO] [stderr] 35 | fn xmin(&self) -> f64; [INFO] [stderr] | ^^^^ [INFO] [stderr] 36 | fn ymax(&self) -> f64; [INFO] [stderr] | ^^^^ [INFO] [stderr] 37 | fn ymin(&self) -> f64; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `gettime_bystep` and `output_csv` are never used [INFO] [stderr] --> src/plot.rs:128:12 [INFO] [stderr] | [INFO] [stderr] 97 | impl TimeSeries { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 128 | pub fn gettime_bystep(&self, step: usize) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 136 | pub fn output_csv(&self, filename: &str) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `scatter` is never used [INFO] [stderr] --> src/plot.rs:184:8 [INFO] [stderr] | [INFO] [stderr] 184 | pub fn scatter(series : &Points, filename : &str, caption : &str) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `output_timeseries` is never used [INFO] [stderr] --> src/plot.rs:255:8 [INFO] [stderr] | [INFO] [stderr] 255 | pub fn output_timeseries(datalist: &Vec, filename: &String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `kalmanfilt2d` (bin "kalmanfilt2d" test) generated 15 warnings (run `cargo fix --bin "kalmanfilt2d" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kalmanfilt2d-f59733b031fd0ae4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dbc88b2f10655563c1f6ed49edea0f30c270b7f43de5b53987667f1be44dbc89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbc88b2f10655563c1f6ed49edea0f30c270b7f43de5b53987667f1be44dbc89", kill_on_drop: false }` [INFO] [stdout] dbc88b2f10655563c1f6ed49edea0f30c270b7f43de5b53987667f1be44dbc89