[INFO] cloning repository https://github.com/grooviegermanikus/hft-simple-units [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grooviegermanikus/hft-simple-units" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrooviegermanikus%2Fhft-simple-units", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrooviegermanikus%2Fhft-simple-units'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a63c50f19a937488f83486984c6bbaa67d33f865 [INFO] checking grooviegermanikus/hft-simple-units against master#30840c53f414b753cb08f14620906572f88dda4b for pr-123531 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrooviegermanikus%2Fhft-simple-units" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/grooviegermanikus/hft-simple-units on toolchain 30840c53f414b753cb08f14620906572f88dda4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30840c53f414b753cb08f14620906572f88dda4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/grooviegermanikus/hft-simple-units [INFO] finished tweaking git repo https://github.com/grooviegermanikus/hft-simple-units [INFO] tweaked toml for git repo https://github.com/grooviegermanikus/hft-simple-units written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/grooviegermanikus/hft-simple-units 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" "+30840c53f414b753cb08f14620906572f88dda4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking grooviegermanikus/hft-simple-units against try#18fb860b8a8e7ca508746882328061d0fe352543 for pr-123531 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrooviegermanikus%2Fhft-simple-units" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/grooviegermanikus/hft-simple-units on toolchain 18fb860b8a8e7ca508746882328061d0fe352543 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/grooviegermanikus/hft-simple-units [INFO] finished tweaking git repo https://github.com/grooviegermanikus/hft-simple-units [INFO] tweaked toml for git repo https://github.com/grooviegermanikus/hft-simple-units written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/grooviegermanikus/hft-simple-units 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" "+18fb860b8a8e7ca508746882328061d0fe352543" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking grooviegermanikus/hft-simple-units against try#18fb860b8a8e7ca508746882328061d0fe352543 for pr-123531 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrooviegermanikus%2Fhft-simple-units" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/grooviegermanikus/hft-simple-units on toolchain 18fb860b8a8e7ca508746882328061d0fe352543 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/grooviegermanikus/hft-simple-units [INFO] finished tweaking git repo https://github.com/grooviegermanikus/hft-simple-units [INFO] tweaked toml for git repo https://github.com/grooviegermanikus/hft-simple-units written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/grooviegermanikus/hft-simple-units 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" "+18fb860b8a8e7ca508746882328061d0fe352543" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f5a13ec473901467800351222da75250bedd9588b0ca592608ced44e591abf5 [INFO] running `Command { std: "docker" "start" "-a" "0f5a13ec473901467800351222da75250bedd9588b0ca592608ced44e591abf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f5a13ec473901467800351222da75250bedd9588b0ca592608ced44e591abf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f5a13ec473901467800351222da75250bedd9588b0ca592608ced44e591abf5", kill_on_drop: false }` [INFO] [stdout] 0f5a13ec473901467800351222da75250bedd9588b0ca592608ced44e591abf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+18fb860b8a8e7ca508746882328061d0fe352543" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b954ba5ea2852a67e0613818c1480fd6ee6644f6da2d0fb041e26c200449198 [INFO] running `Command { std: "docker" "start" "-a" "9b954ba5ea2852a67e0613818c1480fd6ee6644f6da2d0fb041e26c200449198", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking hft-simple-units v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::ops::*` [INFO] [stdout] --> src/hft_units/price.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::ops::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `commutative_mul`, `mul_unit` [INFO] [stdout] --> src/hft_units/native_size.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{commutative_mul, mul_unit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Add` [INFO] [stdout] --> src/hft_units/native_size.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Sub` [INFO] [stdout] --> src/hft_units/native_size.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Mul` [INFO] [stdout] --> src/hft_units/native_size.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use core::ops::Mul; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Div` [INFO] [stdout] --> src/hft_units/native_size.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use core::ops::Div; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mul_unit` [INFO] [stdout] --> src/hft_units/notional.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{commutative_mul, mul_unit}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `commutative_mul` is imported redundantly [INFO] [stdout] --> src/hft_units/notional.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{commutative_mul, mul_unit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hft_units/hft_macros.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_export] macro_rules! commutative_mul { [INFO] [stdout] | _________________- [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | ($unit1:ident, $unit2:ident, $unit3:ident) => { [INFO] [stdout] 7 | | impl core::ops::Mul<$unit2> for $unit1 { [INFO] [stdout] ... | [INFO] [stdout] 14 | | [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- the item `commutative_mul` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Add` [INFO] [stdout] --> src/hft_units/notional.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Sub` [INFO] [stdout] --> src/hft_units/notional.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Div` [INFO] [stdout] --> src/hft_units/notional.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use core::ops::Div; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `commutative_mul`, `mul_unit` [INFO] [stdout] --> src/hft_units/lots.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{commutative_mul, mul_unit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Add` [INFO] [stdout] --> src/hft_units/lots.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Sub` [INFO] [stdout] --> src/hft_units/lots.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Mul` [INFO] [stdout] --> src/hft_units/lots.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::ops::Mul; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Div` [INFO] [stdout] --> src/hft_units/lots.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use core::ops::Div; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/hft_units/derived.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Add` [INFO] [stdout] --> src/hft_units/derived.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Sub` [INFO] [stdout] --> src/hft_units/derived.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Mul` [INFO] [stdout] --> src/hft_units/derived.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::ops::Mul; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Div` [INFO] [stdout] --> src/hft_units/derived.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core::ops::Div; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::*` [INFO] [stdout] --> src/hft_units/price.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::ops::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `commutative_mul`, `mul_unit` [INFO] [stdout] --> src/hft_units/native_size.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{commutative_mul, mul_unit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Add` [INFO] [stdout] --> src/hft_units/native_size.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Sub` [INFO] [stdout] --> src/hft_units/native_size.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Mul` [INFO] [stdout] --> src/hft_units/native_size.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use core::ops::Mul; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Div` [INFO] [stdout] --> src/hft_units/native_size.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use core::ops::Div; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mul_unit` [INFO] [stdout] --> src/hft_units/notional.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{commutative_mul, mul_unit}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `commutative_mul` is imported redundantly [INFO] [stdout] --> src/hft_units/notional.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{commutative_mul, mul_unit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hft_units/hft_macros.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_export] macro_rules! commutative_mul { [INFO] [stdout] | _________________- [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | ($unit1:ident, $unit2:ident, $unit3:ident) => { [INFO] [stdout] 7 | | impl core::ops::Mul<$unit2> for $unit1 { [INFO] [stdout] ... | [INFO] [stdout] 14 | | [INFO] [stdout] 15 | | } [INFO] [stdout] | |_- the item `commutative_mul` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Add` [INFO] [stdout] --> src/hft_units/notional.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Sub` [INFO] [stdout] --> src/hft_units/notional.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Div` [INFO] [stdout] --> src/hft_units/notional.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use core::ops::Div; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `commutative_mul`, `mul_unit` [INFO] [stdout] --> src/hft_units/lots.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{commutative_mul, mul_unit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Add` [INFO] [stdout] --> src/hft_units/lots.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use core::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Sub` [INFO] [stdout] --> src/hft_units/lots.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use core::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Mul` [INFO] [stdout] --> src/hft_units/lots.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::ops::Mul; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Div` [INFO] [stdout] --> src/hft_units/lots.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use core::ops::Div; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/hft_units/derived.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Add` [INFO] [stdout] --> src/hft_units/derived.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use core::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Sub` [INFO] [stdout] --> src/hft_units/derived.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use core::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Mul` [INFO] [stdout] --> src/hft_units/derived.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use core::ops::Mul; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Div` [INFO] [stdout] --> src/hft_units/derived.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core::ops::Div; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Mul` [INFO] [stdout] --> src/hft_units/notional.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use core::ops::Mul; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![no_std] [INFO] [stdout] 2 | | #![allow(non_snake_case)] [INFO] [stdout] 3 | | #![warn(missing_docs)] [INFO] [stdout] ... | [INFO] [stdout] 8 | | #[macro_use] [INFO] [stdout] 9 | | extern crate std; // import std lib only in test mode [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod hft_units; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> src/hft_units/hft_macros.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_export] macro_rules! commutative_mul { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a macro [INFO] [stdout] --> src/hft_units/hft_macros.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | #[macro_export] macro_rules! mul_unit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/hft_units/price.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn unit_symbol() -> &'static str { "pc" } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/hft_units/price.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn unit_name() -> &'static str { "price units" } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/hft_units/price.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn from(value: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/hft_units/native_size.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn unit_symbol() -> &'static str { "nsz" } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/hft_units/native_size.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn unit_name() -> &'static str { "native size" } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/hft_units/native_size.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn from(amount: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/hft_units/notional.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn unit_symbol() -> &'static str { "notional" } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/hft_units/notional.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn unit_name() -> &'static str { "notional value" } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/hft_units/lots.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn unit_symbol() -> &'static str { "lots" } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/hft_units/lots.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn unit_name() -> &'static str { "number of lots" } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/hft_units/lots.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn from(amount: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/hft_units/derived.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct NativeSizePerLot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/hft_units/derived.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub native_per_lot: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/hft_units/derived.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn unit_symbol() -> &'static str { "nsz/lot" } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/hft_units/derived.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn unit_name() -> &'static str { "native size per lot" } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/hft_units/derived.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn from_native_per_lots(native_per_lot: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops::Mul` [INFO] [stdout] --> src/hft_units/notional.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use core::ops::Mul; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::CheckedMul` [INFO] [stdout] --> tests/hft.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::CheckedMul; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_native` [INFO] [stdout] --> tests/hft.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let base_native = NativeSize::from(1_000_000_000); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_native` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_lot_size` [INFO] [stdout] --> tests/hft.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let base_lot_size = NativeSizePerLot::from_native_per_lots(10_000_000); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_lot_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_lots` [INFO] [stdout] --> tests/hft.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let base_lots = Lots::from(100); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_lots` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sol_native` [INFO] [stdout] --> tests/hft.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let sol_native: NativeSize = 1_000_000_000.into(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sol_native` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "9b954ba5ea2852a67e0613818c1480fd6ee6644f6da2d0fb041e26c200449198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b954ba5ea2852a67e0613818c1480fd6ee6644f6da2d0fb041e26c200449198", kill_on_drop: false }` [INFO] [stdout] 9b954ba5ea2852a67e0613818c1480fd6ee6644f6da2d0fb041e26c200449198