[INFO] fetching crate lfest 0.5.6... [INFO] checking lfest-0.5.6 against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] extracting crate lfest 0.5.6 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate lfest 0.5.6 on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lfest 0.5.6 [INFO] finished tweaking crates.io crate lfest 0.5.6 [INFO] tweaked toml for crates.io crate lfest 0.5.6 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate lfest 0.5.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dyn-clone v1.0.4 [INFO] [stderr] Downloaded rust_decimal v1.8.1 [INFO] [stderr] Downloaded rulinalg v0.4.2 [INFO] [stderr] Downloaded sliding_features v0.5.1 [INFO] [stderr] Downloaded trade_aggregation v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6dc4df4a9edc9922491f47c574484707e69be2c9d28c1a1b0bac8248879dcc9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d6dc4df4a9edc9922491f47c574484707e69be2c9d28c1a1b0bac8248879dcc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6dc4df4a9edc9922491f47c574484707e69be2c9d28c1a1b0bac8248879dcc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6dc4df4a9edc9922491f47c574484707e69be2c9d28c1a1b0bac8248879dcc9", kill_on_drop: false }` [INFO] [stdout] d6dc4df4a9edc9922491f47c574484707e69be2c9d28c1a1b0bac8248879dcc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ec058f0fafd2aa6335beee07fe9a581547f9dcd4bbfcd5c2c404bbd8a147262c [INFO] running `Command { std: "docker" "start" "-a" "ec058f0fafd2aa6335beee07fe9a581547f9dcd4bbfcd5c2c404bbd8a147262c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking thread_local v1.0.1 [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] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking rulinalg v0.4.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking rust_decimal v1.8.1 [INFO] [stderr] Checking sliding_features v0.5.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking trade_aggregation v1.0.0 [INFO] [stderr] Checking lfest v0.5.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `missing_crate_level_docs` has been removed: use `rustdoc::missing_crate_level_docs` instead [INFO] [stdout] --> src/lib.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(missing_docs, missing_crate_level_docs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `missing_crate_level_docs` has been removed: use `rustdoc::missing_crate_level_docs` instead [INFO] [stdout] --> src/lib.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(missing_docs, missing_crate_level_docs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/exchange.rs:958:29 [INFO] [stdout] | [INFO] [stdout] 930 | let o: &Order = &self.active_limit_orders[order_idx]; [INFO] [stdout] | ------------------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 958 | self.execute_limit(o.side, o.limit_price, o.size); [INFO] [stdout] | ^^^^ ------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/exchange.rs:937:29 [INFO] [stdout] | [INFO] [stdout] 930 | let o: &Order = &self.active_limit_orders[order_idx]; [INFO] [stdout] | ------------------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 937 | self.execute_limit(o.side, o.limit_price, o.size); [INFO] [stdout] | ^^^^ ------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/exchange.rs:967:29 [INFO] [stdout] | [INFO] [stdout] 930 | let o: &Order = &self.active_limit_orders[order_idx]; [INFO] [stdout] | ------------------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 967 | self.execute_limit(o.side, o.limit_price, o.size); [INFO] [stdout] | ^^^^ ------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/exchange.rs:946:29 [INFO] [stdout] | [INFO] [stdout] 930 | let o: &Order = &self.active_limit_orders[order_idx]; [INFO] [stdout] | ------------------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 946 | self.execute_limit(o.side, o.limit_price, o.size); [INFO] [stdout] | ^^^^ ------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `log_limit_order_cancellation` [INFO] [stdout] --> src/acc_tracker.rs:244:19 [INFO] [stdout] | [INFO] [stdout] 244 | pub(crate) fn log_limit_order_cancellation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fee_taker` [INFO] [stdout] --> src/exchange.rs:2227:13 [INFO] [stdout] | [INFO] [stdout] 2227 | let fee_taker = config.fee_taker; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fee_taker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wb` [INFO] [stdout] --> src/exchange.rs:2290:13 [INFO] [stdout] | [INFO] [stdout] 2290 | let wb: f64 = 1.0 + fee_maker_0 + fee_maker_1 + 0.05; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fee_taker` [INFO] [stdout] --> src/exchange.rs:2306:13 [INFO] [stdout] | [INFO] [stdout] 2306 | let fee_taker = config.fee_taker; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fee_taker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fee_taker` [INFO] [stdout] --> src/exchange.rs:2340:13 [INFO] [stdout] | [INFO] [stdout] 2340 | let fee_taker = config.fee_taker; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fee_taker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/exchange.rs:958:29 [INFO] [stdout] | [INFO] [stdout] 930 | let o: &Order = &self.active_limit_orders[order_idx]; [INFO] [stdout] | ------------------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 958 | self.execute_limit(o.side, o.limit_price, o.size); [INFO] [stdout] | ^^^^ ------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/exchange.rs:937:29 [INFO] [stdout] | [INFO] [stdout] 930 | let o: &Order = &self.active_limit_orders[order_idx]; [INFO] [stdout] | ------------------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 937 | self.execute_limit(o.side, o.limit_price, o.size); [INFO] [stdout] | ^^^^ ------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/exchange.rs:967:29 [INFO] [stdout] | [INFO] [stdout] 930 | let o: &Order = &self.active_limit_orders[order_idx]; [INFO] [stdout] | ------------------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 967 | self.execute_limit(o.side, o.limit_price, o.size); [INFO] [stdout] | ^^^^ ------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*self` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/exchange.rs:946:29 [INFO] [stdout] | [INFO] [stdout] 930 | let o: &Order = &self.active_limit_orders[order_idx]; [INFO] [stdout] | ------------------------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 946 | self.execute_limit(o.side, o.limit_price, o.size); [INFO] [stdout] | ^^^^ ------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `log_limit_order_cancellation` [INFO] [stdout] --> src/acc_tracker.rs:244:19 [INFO] [stdout] | [INFO] [stdout] 244 | pub(crate) fn log_limit_order_cancellation(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> examples/load_trades.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> examples/load_trades.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.09s [INFO] running `Command { std: "docker" "inspect" "ec058f0fafd2aa6335beee07fe9a581547f9dcd4bbfcd5c2c404bbd8a147262c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec058f0fafd2aa6335beee07fe9a581547f9dcd4bbfcd5c2c404bbd8a147262c", kill_on_drop: false }` [INFO] [stdout] ec058f0fafd2aa6335beee07fe9a581547f9dcd4bbfcd5c2c404bbd8a147262c