[INFO] cloning repository https://github.com/quattervals/dl_instrument [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quattervals/dl_instrument" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquattervals%2Fdl_instrument", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquattervals%2Fdl_instrument'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dcc22e6b11affc1163a79f753b99543956eed65a [INFO] checking quattervals/dl_instrument against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquattervals%2Fdl_instrument" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/quattervals/dl_instrument [INFO] finished tweaking git repo https://github.com/quattervals/dl_instrument [INFO] tweaked toml for git repo https://github.com/quattervals/dl_instrument written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/quattervals/dl_instrument on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/quattervals/dl_instrument 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7ac3d4ef5ce31e812d56797b586d6f426de20b2ec98974e0e89e058fdb5517f [INFO] running `Command { std: "docker" "start" "-a" "d7ac3d4ef5ce31e812d56797b586d6f426de20b2ec98974e0e89e058fdb5517f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7ac3d4ef5ce31e812d56797b586d6f426de20b2ec98974e0e89e058fdb5517f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7ac3d4ef5ce31e812d56797b586d6f426de20b2ec98974e0e89e058fdb5517f", kill_on_drop: false }` [INFO] [stdout] d7ac3d4ef5ce31e812d56797b586d6f426de20b2ec98974e0e89e058fdb5517f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69023ed20bee06bea16653c8c965ee7567389555544bfc6ef1990cd1cae12a74 [INFO] running `Command { std: "docker" "start" "-a" "69023ed20bee06bea16653c8c965ee7567389555544bfc6ef1990cd1cae12a74", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking serde_with v3.12.0 [INFO] [stderr] Checking instrument_stats v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | /// the hand made algorithm is 15 times slower than with serde [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | Ok(()) [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | /// the hand made algorithm is 15 times slower than with serde [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | Ok(()) [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Instrument { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 32 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 34 | priceChange: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 36 | priceChangePercent: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 38 | lastPrice: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 40 | lastQty: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 41 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 42 | open: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 44 | high: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 46 | low: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 47 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 48 | volume: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 50 | amount: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | askPrice: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | openTime: u64, // could use a newtype to wrap the time nicely. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | closeTime: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 57 | firstTradeId: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 58 | tradeCount: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 59 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 60 | strikePrice: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 61 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 62 | exercisePrice: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instrument` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_from_reader` is never used [INFO] [stdout] --> src/main.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn deserialize_from_reader(filename: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Instrument { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 32 | symbol: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 34 | priceChange: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 36 | priceChangePercent: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 38 | lastPrice: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 40 | lastQty: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 41 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 42 | open: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 44 | high: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 46 | low: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 47 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 48 | volume: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 49 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 50 | amount: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | askPrice: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | openTime: u64, // could use a newtype to wrap the time nicely. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | closeTime: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 57 | firstTradeId: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 58 | tradeCount: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 59 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 60 | strikePrice: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 61 | #[serde_as(as = "DisplayFromStr")] [INFO] [stdout] 62 | exercisePrice: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instrument` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deserialize_from_reader` is never used [INFO] [stdout] --> src/main.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn deserialize_from_reader(filename: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.35s [INFO] running `Command { std: "docker" "inspect" "69023ed20bee06bea16653c8c965ee7567389555544bfc6ef1990cd1cae12a74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69023ed20bee06bea16653c8c965ee7567389555544bfc6ef1990cd1cae12a74", kill_on_drop: false }` [INFO] [stdout] 69023ed20bee06bea16653c8c965ee7567389555544bfc6ef1990cd1cae12a74