[INFO] cloning repository https://github.com/N9199/market_sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/N9199/market_sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN9199%2Fmarket_sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN9199%2Fmarket_sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5fa5c84de957b0f1d0bf50c960d4f720f66e297e [INFO] testing N9199/market_sim against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN9199%2Fmarket_sim" "/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/N9199/market_sim on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/N9199/market_sim [INFO] finished tweaking git repo https://github.com/N9199/market_sim [INFO] tweaked toml for git repo https://github.com/N9199/market_sim written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/N9199/market_sim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/rusqlite/rusqlite` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sum_type v0.2.0 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80b9233376186e7931af853c39867760ef49e84ffdd0346e166a56f2071972b8 [INFO] running `Command { std: "docker" "start" "-a" "80b9233376186e7931af853c39867760ef49e84ffdd0346e166a56f2071972b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80b9233376186e7931af853c39867760ef49e84ffdd0346e166a56f2071972b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80b9233376186e7931af853c39867760ef49e84ffdd0346e166a56f2071972b8", kill_on_drop: false }` [INFO] [stdout] 80b9233376186e7931af853c39867760ef49e84ffdd0346e166a56f2071972b8 [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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 222df9311f06e8c27e4fcc3d31b0a7321118f1d5416127befcf9a0bd0201c4fb [INFO] running `Command { std: "docker" "start" "-a" "222df9311f06e8c27e4fcc3d31b0a7321118f1d5416127befcf9a0bd0201c4fb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling sum_type v0.2.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling libsqlite3-sys v0.21.0 (https://github.com/rusqlite/rusqlite#bd96f61e) [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling rusqlite v0.24.2 (https://github.com/rusqlite/rusqlite#bd96f61e) [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling market_sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `io` should have an upper camel case name [INFO] [stdout] --> src/io/sql.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct io { [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Io` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `io` should have an upper camel case name [INFO] [stdout] --> src/io/stdio.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct io {} [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `sql` should have an upper camel case name [INFO] [stdout] --> src/io.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | sql(rusqlite::Error), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `io` should have an upper camel case name [INFO] [stdout] --> src/io.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | io(std::io::Error), [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `empty` should have an upper camel case name [INFO] [stdout] --> src/io.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct empty {} [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/simulation/sim.rs:87:60 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn sim(companies: &mut Vec, runs: u32, out: T) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/io.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | fn write(&mut self, info: &Vec<(usize, f64)>) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `companies` [INFO] [stdout] --> src/io.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | fn save(&mut self, companies: &Vec) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_companies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/io.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | fn load(&mut self, file: &str) -> Result, Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `price` [INFO] [stdout] --> src/io/sql.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | for (id, price) in info { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/io/sql.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let time: usize = temp.last().unwrap_or(Ok(0))?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `companies` [INFO] [stdout] --> src/io/sql.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | fn save(&mut self, companies: &Vec) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_companies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/io/stdio.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | fn write(&mut self, info: &Vec<(usize, f64)>) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `companies` [INFO] [stdout] --> src/io/stdio.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | fn save(&mut self, companies: &Vec) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_companies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/io/stdio.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let info = fs::read_to_string(file)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sim` [INFO] [stdout] --> src/simulation/sim.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn sim(companies: &mut Vec, runs: u32, out: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.20s [INFO] running `Command { std: "docker" "inspect" "222df9311f06e8c27e4fcc3d31b0a7321118f1d5416127befcf9a0bd0201c4fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "222df9311f06e8c27e4fcc3d31b0a7321118f1d5416127befcf9a0bd0201c4fb", kill_on_drop: false }` [INFO] [stdout] 222df9311f06e8c27e4fcc3d31b0a7321118f1d5416127befcf9a0bd0201c4fb [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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bbb30f00462c4712499c1315f9dbb9e383508f53f3b0832df755ac917a148c8 [INFO] running `Command { std: "docker" "start" "-a" "8bbb30f00462c4712499c1315f9dbb9e383508f53f3b0832df755ac917a148c8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling market_sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `io` should have an upper camel case name [INFO] [stdout] --> src/io/sql.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct io { [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Io` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `io` should have an upper camel case name [INFO] [stdout] --> src/io/stdio.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct io {} [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `sql` should have an upper camel case name [INFO] [stdout] --> src/io.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | sql(rusqlite::Error), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `io` should have an upper camel case name [INFO] [stdout] --> src/io.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | io(std::io::Error), [INFO] [stdout] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `empty` should have an upper camel case name [INFO] [stdout] --> src/io.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct empty {} [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/simulation/sim.rs:87:60 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn sim(companies: &mut Vec, runs: u32, out: T) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/io.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | fn write(&mut self, info: &Vec<(usize, f64)>) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `companies` [INFO] [stdout] --> src/io.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | fn save(&mut self, companies: &Vec) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_companies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/io.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | fn load(&mut self, file: &str) -> Result, Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `price` [INFO] [stdout] --> src/io/sql.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | for (id, price) in info { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/io/sql.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | let time: usize = temp.last().unwrap_or(Ok(0))?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `companies` [INFO] [stdout] --> src/io/sql.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | fn save(&mut self, companies: &Vec) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_companies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/io/stdio.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | fn write(&mut self, info: &Vec<(usize, f64)>) -> Result<(), Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `companies` [INFO] [stdout] --> src/io/stdio.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | fn save(&mut self, companies: &Vec) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_companies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/io/stdio.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let info = fs::read_to_string(file)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sim` [INFO] [stdout] --> src/simulation/sim.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn sim(companies: &mut Vec, runs: u32, out: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "8bbb30f00462c4712499c1315f9dbb9e383508f53f3b0832df755ac917a148c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bbb30f00462c4712499c1315f9dbb9e383508f53f3b0832df755ac917a148c8", kill_on_drop: false }` [INFO] [stdout] 8bbb30f00462c4712499c1315f9dbb9e383508f53f3b0832df755ac917a148c8 [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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aa7275f692814d332a0f11a4737c7c669b632aa024375059446f2622f5601322 [INFO] running `Command { std: "docker" "start" "-a" "aa7275f692814d332a0f11a4737c7c669b632aa024375059446f2622f5601322", kill_on_drop: false }` [INFO] [stderr] warning: type `io` should have an upper camel case name [INFO] [stderr] --> src/io/sql.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct io { [INFO] [stderr] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Io` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `io` should have an upper camel case name [INFO] [stderr] --> src/io/stdio.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct io {} [INFO] [stderr] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Io` [INFO] [stderr] [INFO] [stderr] warning: variant `sql` should have an upper camel case name [INFO] [stderr] --> src/io.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | sql(rusqlite::Error), [INFO] [stderr] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Sql` [INFO] [stderr] [INFO] [stderr] warning: variant `io` should have an upper camel case name [INFO] [stderr] --> src/io.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | io(std::io::Error), [INFO] [stderr] | ^^ help: convert the identifier to upper camel case (notice the capitalization): `Io` [INFO] [stderr] [INFO] [stderr] warning: type `empty` should have an upper camel case name [INFO] [stderr] --> src/io.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct empty {} [INFO] [stderr] | ^^^^^ help: convert the identifier to upper camel case: `Empty` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `out` [INFO] [stderr] --> src/simulation/sim.rs:87:60 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn sim(companies: &mut Vec, runs: u32, out: T) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/io.rs:20:25 [INFO] [stderr] | [INFO] [stderr] 20 | fn write(&mut self, info: &Vec<(usize, f64)>) -> Result<(), Error> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `companies` [INFO] [stderr] --> src/io.rs:23:24 [INFO] [stderr] | [INFO] [stderr] 23 | fn save(&mut self, companies: &Vec) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_companies` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file` [INFO] [stderr] --> src/io.rs:26:24 [INFO] [stderr] | [INFO] [stderr] 26 | fn load(&mut self, file: &str) -> Result, Error> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `price` [INFO] [stderr] --> src/io/sql.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 12 | for (id, price) in info { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_price` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time` [INFO] [stderr] --> src/io/sql.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | let time: usize = temp.last().unwrap_or(Ok(0))?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `companies` [INFO] [stderr] --> src/io/sql.rs:22:24 [INFO] [stderr] | [INFO] [stderr] 22 | fn save(&mut self, companies: &Vec) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_companies` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/io/stdio.rs:9:25 [INFO] [stderr] | [INFO] [stderr] 9 | fn write(&mut self, info: &Vec<(usize, f64)>) -> Result<(), Error> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `companies` [INFO] [stderr] --> src/io/stdio.rs:12:24 [INFO] [stderr] | [INFO] [stderr] 12 | fn save(&mut self, companies: &Vec) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_companies` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/io/stdio.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | let info = fs::read_to_string(file)?; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sim` [INFO] [stderr] --> src/simulation/sim.rs:87:8 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn sim(companies: &mut Vec, runs: u32, out: T) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 16 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/market_sim-3256e39087244ed8) [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" "aa7275f692814d332a0f11a4737c7c669b632aa024375059446f2622f5601322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa7275f692814d332a0f11a4737c7c669b632aa024375059446f2622f5601322", kill_on_drop: false }` [INFO] [stdout] aa7275f692814d332a0f11a4737c7c669b632aa024375059446f2622f5601322