[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 master#8c32e313cccf7df531e2d49ffb8227bb92304aee 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/quattervals/dl_instrument on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bumpalo v3.18.1 [INFO] [stderr] Downloaded cc v1.2.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b3daf82ab98d0b32b1820dfc916b9b384aa7848ace3259b52935b8eb0c1d5da [INFO] running `Command { std: "docker" "start" "-a" "1b3daf82ab98d0b32b1820dfc916b9b384aa7848ace3259b52935b8eb0c1d5da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b3daf82ab98d0b32b1820dfc916b9b384aa7848ace3259b52935b8eb0c1d5da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b3daf82ab98d0b32b1820dfc916b9b384aa7848ace3259b52935b8eb0c1d5da", kill_on_drop: false }` [INFO] [stdout] 1b3daf82ab98d0b32b1820dfc916b9b384aa7848ace3259b52935b8eb0c1d5da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6525a7e51cb1d2e82d242f19869504cedd0d271f939c2d84762ad637b0ae64ee [INFO] running `Command { std: "docker" "start" "-a" "6525a7e51cb1d2e82d242f19869504cedd0d271f939c2d84762ad637b0ae64ee", 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 20.81s [INFO] running `Command { std: "docker" "inspect" "6525a7e51cb1d2e82d242f19869504cedd0d271f939c2d84762ad637b0ae64ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6525a7e51cb1d2e82d242f19869504cedd0d271f939c2d84762ad637b0ae64ee", kill_on_drop: false }` [INFO] [stdout] 6525a7e51cb1d2e82d242f19869504cedd0d271f939c2d84762ad637b0ae64ee