[INFO] fetching crate plasma-amm-state 0.1.0... [INFO] building plasma-amm-state-0.1.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate plasma-amm-state 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate plasma-amm-state 0.1.0 [INFO] finished tweaking crates.io crate plasma-amm-state 0.1.0 [INFO] tweaked toml for crates.io crate plasma-amm-state 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate plasma-amm-state 0.1.0 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 crates.io crate plasma-amm-state 0.1.0 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] c26b14641af0d6896208ecf7388a16f49ab18aaddbe7317868f285cc4dafdf88 [INFO] running `Command { std: "docker" "start" "-a" "c26b14641af0d6896208ecf7388a16f49ab18aaddbe7317868f285cc4dafdf88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c26b14641af0d6896208ecf7388a16f49ab18aaddbe7317868f285cc4dafdf88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c26b14641af0d6896208ecf7388a16f49ab18aaddbe7317868f285cc4dafdf88", kill_on_drop: false }` [INFO] [stdout] c26b14641af0d6896208ecf7388a16f49ab18aaddbe7317868f285cc4dafdf88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 87caf85c795a34481bb205a1013542f9e0b2fab9bfa7ebe03b76deedb03b66b9 [INFO] running `Command { std: "docker" "start" "-a" "87caf85c795a34481bb205a1013542f9e0b2fab9bfa7ebe03b76deedb03b66b9", kill_on_drop: false }` [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling fixed v1.27.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling plasma-amm-state v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/amm.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / #[repr(C)] [INFO] [stdout] 55 | | pub struct Amm { [INFO] [stdout] 56 | | pub fee_in_bps: u32, [INFO] [stdout] 57 | | protocol_allocation_in_pct: u32, [INFO] [stdout] ... | [INFO] [stdout] 67 | | pub cumulative_quote_protocol_fees: u64, [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fixed.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / #[repr(C)] [INFO] [stdout] 14 | | #[derive(Clone, Copy, Zeroable, Pod)] [INFO] [stdout] 15 | | pub struct I80F48 { [INFO] [stdout] 16 | | inner: i128, [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fixed.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct I80F48 { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/lp.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / #[repr(C)] [INFO] [stdout] 9 | | pub struct PendingSharesToVest { [INFO] [stdout] 10 | | pub deposit_slot: SlotWindow, [INFO] [stdout] 11 | | pub lp_shares_to_vest: u64, [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lp.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PendingSharesToVest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/lp.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / #[repr(C)] [INFO] [stdout] 61 | | pub struct LpPosition { [INFO] [stdout] 62 | | reward_factor_snapshot: I80F48, [INFO] [stdout] 63 | | pub lp_shares: u64, [INFO] [stdout] ... | [INFO] [stdout] 67 | | pub pending_shares_to_vest: PendingSharesToVest, [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lp.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct LpPosition { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/amm.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Amm { [INFO] [stdout] | ^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.80s [INFO] running `Command { std: "docker" "inspect" "87caf85c795a34481bb205a1013542f9e0b2fab9bfa7ebe03b76deedb03b66b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87caf85c795a34481bb205a1013542f9e0b2fab9bfa7ebe03b76deedb03b66b9", kill_on_drop: false }` [INFO] [stdout] 87caf85c795a34481bb205a1013542f9e0b2fab9bfa7ebe03b76deedb03b66b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] af5af7eed4f9e2162d011d9894ddb2077e936d3484c863f52afb732336cf124f [INFO] running `Command { std: "docker" "start" "-a" "af5af7eed4f9e2162d011d9894ddb2077e936d3484c863f52afb732336cf124f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/amm.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / #[repr(C)] [INFO] [stdout] 55 | | pub struct Amm { [INFO] [stdout] 56 | | pub fee_in_bps: u32, [INFO] [stdout] 57 | | protocol_allocation_in_pct: u32, [INFO] [stdout] ... | [INFO] [stdout] 67 | | pub cumulative_quote_protocol_fees: u64, [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fixed.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / #[repr(C)] [INFO] [stdout] 14 | | #[derive(Clone, Copy, Zeroable, Pod)] [INFO] [stdout] 15 | | pub struct I80F48 { [INFO] [stdout] 16 | | inner: i128, [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fixed.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct I80F48 { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/lp.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / #[repr(C)] [INFO] [stdout] 9 | | pub struct PendingSharesToVest { [INFO] [stdout] 10 | | pub deposit_slot: SlotWindow, [INFO] [stdout] 11 | | pub lp_shares_to_vest: u64, [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lp.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PendingSharesToVest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/lp.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / #[repr(C)] [INFO] [stdout] 61 | | pub struct LpPosition { [INFO] [stdout] 62 | | reward_factor_snapshot: I80F48, [INFO] [stdout] 63 | | pub lp_shares: u64, [INFO] [stdout] ... | [INFO] [stdout] 67 | | pub pending_shares_to_vest: PendingSharesToVest, [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lp.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct LpPosition { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/amm.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Amm { [INFO] [stdout] | ^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling plasma-amm-state v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/amm.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / #[repr(C)] [INFO] [stdout] 55 | | pub struct Amm { [INFO] [stdout] 56 | | pub fee_in_bps: u32, [INFO] [stdout] 57 | | protocol_allocation_in_pct: u32, [INFO] [stdout] ... | [INFO] [stdout] 67 | | pub cumulative_quote_protocol_fees: u64, [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/lp.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / #[repr(C)] [INFO] [stdout] 9 | | pub struct PendingSharesToVest { [INFO] [stdout] 10 | | pub deposit_slot: SlotWindow, [INFO] [stdout] 11 | | pub lp_shares_to_vest: u64, [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lp.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PendingSharesToVest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/lp.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / #[repr(C)] [INFO] [stdout] 61 | | pub struct LpPosition { [INFO] [stdout] 62 | | reward_factor_snapshot: I80F48, [INFO] [stdout] 63 | | pub lp_shares: u64, [INFO] [stdout] ... | [INFO] [stdout] 67 | | pub pending_shares_to_vest: PendingSharesToVest, [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lp.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct LpPosition { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/amm.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Amm { [INFO] [stdout] | ^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/fixed.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / #[repr(C)] [INFO] [stdout] 14 | | #[derive(Clone, Copy, Zeroable, Pod)] [INFO] [stdout] 15 | | pub struct I80F48 { [INFO] [stdout] 16 | | inner: i128, [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/fixed.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct I80F48 { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.80s [INFO] running `Command { std: "docker" "inspect" "af5af7eed4f9e2162d011d9894ddb2077e936d3484c863f52afb732336cf124f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af5af7eed4f9e2162d011d9894ddb2077e936d3484c863f52afb732336cf124f", kill_on_drop: false }` [INFO] [stdout] af5af7eed4f9e2162d011d9894ddb2077e936d3484c863f52afb732336cf124f