[INFO] cloning repository https://github.com/Axel-Jacobsen/mmm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Axel-Jacobsen/mmm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAxel-Jacobsen%2Fmmm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAxel-Jacobsen%2Fmmm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b04cb0f8aba58a2cf8d0a7de79beedf97b8261c [INFO] testing Axel-Jacobsen/mmm against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAxel-Jacobsen%2Fmmm" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Axel-Jacobsen/mmm [INFO] finished tweaking git repo https://github.com/Axel-Jacobsen/mmm [INFO] tweaked toml for git repo https://github.com/Axel-Jacobsen/mmm written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Axel-Jacobsen/mmm on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Axel-Jacobsen/mmm 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d840ccfb0e0904ba52301ad139c6e5d217806e8aac8a46599f2da89a7911758e [INFO] running `Command { std: "docker" "start" "-a" "d840ccfb0e0904ba52301ad139c6e5d217806e8aac8a46599f2da89a7911758e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d840ccfb0e0904ba52301ad139c6e5d217806e8aac8a46599f2da89a7911758e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d840ccfb0e0904ba52301ad139c6e5d217806e8aac8a46599f2da89a7911758e", kill_on_drop: false }` [INFO] [stdout] d840ccfb0e0904ba52301ad139c6e5d217806e8aac8a46599f2da89a7911758e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4987fd808d47193ce80d6bff1fe7f3f6e33f05267ccdf1e1d9cf47abcd8f5d77 [INFO] running `Command { std: "docker" "start" "-a" "4987fd808d47193ce80d6bff1fe7f3f6e33f05267ccdf1e1d9cf47abcd8f5d77", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling anstream v0.6.5 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling clap_builder v4.4.11 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling clap v4.4.11 [INFO] [stderr] Compiling queues v1.1.0 [INFO] [stderr] Compiling env_logger v0.10.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling mmm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `ContractMetric` is never constructed [INFO] [stdout] --> src/manifold_types.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | pub struct ContractMetric { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/bots/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Bot { [INFO] [stdout] | --- method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn close(&self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PeriodMetric` is never constructed [INFO] [stdout] --> src/manifold_types.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 365 | pub struct PeriodMetric { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `side` is never read [INFO] [stdout] --> src/manifold_types.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 382 | pub struct BotBet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 400 | pub side: Side, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotBet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NumericBet` is never constructed [INFO] [stdout] --> src/manifold_types.rs:527:12 [INFO] [stdout] | [INFO] [stdout] 527 | pub struct NumericBet { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LimitBet` is never constructed [INFO] [stdout] --> src/manifold_types.rs:539:12 [INFO] [stdout] | [INFO] [stdout] 539 | pub struct LimitBet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "4987fd808d47193ce80d6bff1fe7f3f6e33f05267ccdf1e1d9cf47abcd8f5d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4987fd808d47193ce80d6bff1fe7f3f6e33f05267ccdf1e1d9cf47abcd8f5d77", kill_on_drop: false }` [INFO] [stdout] 4987fd808d47193ce80d6bff1fe7f3f6e33f05267ccdf1e1d9cf47abcd8f5d77 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1aad3079f1d0080fa5940458b2890e3878808b30692475ceea0feac82fd13180 [INFO] running `Command { std: "docker" "start" "-a" "1aad3079f1d0080fa5940458b2890e3878808b30692475ceea0feac82fd13180", kill_on_drop: false }` [INFO] [stderr] Compiling mmm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `ContractMetric` is never constructed [INFO] [stdout] --> src/manifold_types.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | pub struct ContractMetric { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PeriodMetric` is never constructed [INFO] [stdout] --> src/manifold_types.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 365 | pub struct PeriodMetric { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `side` is never read [INFO] [stdout] --> src/manifold_types.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 382 | pub struct BotBet { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 400 | pub side: Side, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotBet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NumericBet` is never constructed [INFO] [stdout] --> src/manifold_types.rs:527:12 [INFO] [stdout] | [INFO] [stdout] 527 | pub struct NumericBet { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LimitBet` is never constructed [INFO] [stdout] --> src/manifold_types.rs:539:12 [INFO] [stdout] | [INFO] [stdout] 539 | pub struct LimitBet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/bots/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Bot { [INFO] [stdout] | --- method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn close(&self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.53s [INFO] running `Command { std: "docker" "inspect" "1aad3079f1d0080fa5940458b2890e3878808b30692475ceea0feac82fd13180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1aad3079f1d0080fa5940458b2890e3878808b30692475ceea0feac82fd13180", kill_on_drop: false }` [INFO] [stdout] 1aad3079f1d0080fa5940458b2890e3878808b30692475ceea0feac82fd13180 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6011df67fafa87f1faf5582ee7eea0292f0495c8346463c1c6c9a806624f6183 [INFO] running `Command { std: "docker" "start" "-a" "6011df67fafa87f1faf5582ee7eea0292f0495c8346463c1c6c9a806624f6183", kill_on_drop: false }` [INFO] [stderr] warning: struct `ContractMetric` is never constructed [INFO] [stderr] --> src/manifold_types.rs:300:12 [INFO] [stderr] | [INFO] [stderr] 300 | pub struct ContractMetric { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `PeriodMetric` is never constructed [INFO] [stderr] --> src/manifold_types.rs:365:12 [INFO] [stderr] | [INFO] [stderr] 365 | pub struct PeriodMetric { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `side` is never read [INFO] [stderr] --> src/manifold_types.rs:400:9 [INFO] [stderr] | [INFO] [stderr] 382 | pub struct BotBet { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 400 | pub side: Side, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BotBet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `NumericBet` is never constructed [INFO] [stderr] --> src/manifold_types.rs:527:12 [INFO] [stderr] | [INFO] [stderr] 527 | pub struct NumericBet { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `LimitBet` is never constructed [INFO] [stderr] --> src/manifold_types.rs:539:12 [INFO] [stderr] | [INFO] [stderr] 539 | pub struct LimitBet { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `close` is never used [INFO] [stderr] --> src/bots/mod.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub trait Bot { [INFO] [stderr] | --- method in this trait [INFO] [stderr] ... [INFO] [stderr] 11 | fn close(&self); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mmm` (bin "mmm" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mmm-c54241d813c44634) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test rate_limiter::tests::test_rate_limiter_2 ... ok [INFO] [stdout] test rate_limiter::tests::test_rate_limiter_5 ... ok [INFO] [stdout] test rate_limiter::tests::test_rate_limiter_4 ... ok [INFO] [stdout] test rate_limiter::tests::test_rate_limiter_3 ... ok [INFO] [stdout] test rate_limiter::tests::test_rate_limiter_6 ... ok [INFO] [stdout] test rate_limiter::tests::test_rate_limiter_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6011df67fafa87f1faf5582ee7eea0292f0495c8346463c1c6c9a806624f6183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6011df67fafa87f1faf5582ee7eea0292f0495c8346463c1c6c9a806624f6183", kill_on_drop: false }` [INFO] [stdout] 6011df67fafa87f1faf5582ee7eea0292f0495c8346463c1c6c9a806624f6183