[INFO] cloning repository https://github.com/meQlause/airdrop-babylon-gateway [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/meQlause/airdrop-babylon-gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmeQlause%2Fairdrop-babylon-gateway", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmeQlause%2Fairdrop-babylon-gateway'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75f94acb55eff2e008e7e33bf7cb31686a9c557b [INFO] testing meQlause/airdrop-babylon-gateway against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmeQlause%2Fairdrop-babylon-gateway" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/meQlause/airdrop-babylon-gateway on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/meQlause/airdrop-babylon-gateway [INFO] finished tweaking git repo https://github.com/meQlause/airdrop-babylon-gateway [INFO] tweaked toml for git repo https://github.com/meQlause/airdrop-babylon-gateway written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/meQlause/airdrop-babylon-gateway 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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust_decimal_macros v1.32.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 239fe4fbda6297f9427115f42b91df029a3d738550dce0f888fe03b61460cf95 [INFO] running `Command { std: "docker" "start" "-a" "239fe4fbda6297f9427115f42b91df029a3d738550dce0f888fe03b61460cf95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "239fe4fbda6297f9427115f42b91df029a3d738550dce0f888fe03b61460cf95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "239fe4fbda6297f9427115f42b91df029a3d738550dce0f888fe03b61460cf95", kill_on_drop: false }` [INFO] [stdout] 239fe4fbda6297f9427115f42b91df029a3d738550dce0f888fe03b61460cf95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65e61ac84820a08496fbbc07e3a1b04fc1c479143597cbe8e1d235863b4dac90 [INFO] running `Command { std: "docker" "start" "-a" "65e61ac84820a08496fbbc07e3a1b04fc1c479143597cbe8e1d235863b4dac90", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling rust_decimal v1.32.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling base64 v0.21.4 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling rust_decimal_macros v1.32.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling tokio-util v0.7.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling h2 v0.3.21 [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 airdrop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `proposer_round_timestamp` is never read [INFO] [stdout] --> src/utils/ledger_json.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 69 | pub proposer_round_timestamp: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` 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: field `ledger_state` is never read [INFO] [stdout] --> src/utils/ledger_json.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Ledger { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 73 | pub ledger_state: State, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ledger` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | let used = unsafe { mem::take(&mut USED_ADDRESS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 37 - let used = unsafe { mem::take(&mut USED_ADDRESS) }; [INFO] [stdout] 37 + let used = unsafe { mem::take(&raw mut USED_ADDRESS) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | let used = unsafe { mem::take(&mut USED_ADDRESS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 111 - let used = unsafe { mem::take(&mut USED_ADDRESS) }; [INFO] [stdout] 111 + let used = unsafe { mem::take(&raw mut USED_ADDRESS) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | USED_ADDRESS.push(account.address.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | USED_ADDRESS.push(account.address.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.87s [INFO] running `Command { std: "docker" "inspect" "65e61ac84820a08496fbbc07e3a1b04fc1c479143597cbe8e1d235863b4dac90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65e61ac84820a08496fbbc07e3a1b04fc1c479143597cbe8e1d235863b4dac90", kill_on_drop: false }` [INFO] [stdout] 65e61ac84820a08496fbbc07e3a1b04fc1c479143597cbe8e1d235863b4dac90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41dd418f2f98b41bfb89ac73a7d34dd36abc72c76ef2bfb5c7d90440af527c43 [INFO] running `Command { std: "docker" "start" "-a" "41dd418f2f98b41bfb89ac73a7d34dd36abc72c76ef2bfb5c7d90440af527c43", kill_on_drop: false }` [INFO] [stderr] Compiling airdrop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `proposer_round_timestamp` is never read [INFO] [stdout] --> src/utils/ledger_json.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 69 | pub proposer_round_timestamp: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` 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: field `ledger_state` is never read [INFO] [stdout] --> src/utils/ledger_json.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Ledger { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 73 | pub ledger_state: State, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ledger` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | let used = unsafe { mem::take(&mut USED_ADDRESS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 37 - let used = unsafe { mem::take(&mut USED_ADDRESS) }; [INFO] [stdout] 37 + let used = unsafe { mem::take(&raw mut USED_ADDRESS) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:111:35 [INFO] [stdout] | [INFO] [stdout] 111 | let used = unsafe { mem::take(&mut USED_ADDRESS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 111 - let used = unsafe { mem::take(&mut USED_ADDRESS) }; [INFO] [stdout] 111 + let used = unsafe { mem::take(&raw mut USED_ADDRESS) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | USED_ADDRESS.push(account.address.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | USED_ADDRESS.push(account.address.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "41dd418f2f98b41bfb89ac73a7d34dd36abc72c76ef2bfb5c7d90440af527c43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41dd418f2f98b41bfb89ac73a7d34dd36abc72c76ef2bfb5c7d90440af527c43", kill_on_drop: false }` [INFO] [stdout] 41dd418f2f98b41bfb89ac73a7d34dd36abc72c76ef2bfb5c7d90440af527c43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 01051e9a0466fc84c7c043c1ee7439523c0473edffc5fbadfd493abeb4c855ea [INFO] running `Command { std: "docker" "start" "-a" "01051e9a0466fc84c7c043c1ee7439523c0473edffc5fbadfd493abeb4c855ea", kill_on_drop: false }` [INFO] [stderr] warning: field `proposer_round_timestamp` is never read [INFO] [stderr] --> src/utils/ledger_json.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 68 | pub struct State { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 69 | pub proposer_round_timestamp: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `State` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `ledger_state` is never read [INFO] [stderr] --> src/utils/ledger_json.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 72 | pub struct Ledger { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] 73 | pub ledger_state: State, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Ledger` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/main.rs:37:35 [INFO] [stderr] | [INFO] [stderr] 37 | let used = unsafe { mem::take(&mut USED_ADDRESS) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 37 - let used = unsafe { mem::take(&mut USED_ADDRESS) }; [INFO] [stderr] 37 + let used = unsafe { mem::take(&raw mut USED_ADDRESS) }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/main.rs:111:35 [INFO] [stderr] | [INFO] [stderr] 111 | let used = unsafe { mem::take(&mut USED_ADDRESS) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 111 - let used = unsafe { mem::take(&mut USED_ADDRESS) }; [INFO] [stderr] 111 + let used = unsafe { mem::take(&raw mut USED_ADDRESS) }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/main.rs:147:17 [INFO] [stderr] | [INFO] [stderr] 147 | USED_ADDRESS.push(account.address.to_string()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/main.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | USED_ADDRESS.push(account.address.to_string()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: `airdrop` (bin "airdrop" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/airdrop-cc8b0b9bb76e46fd) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "01051e9a0466fc84c7c043c1ee7439523c0473edffc5fbadfd493abeb4c855ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01051e9a0466fc84c7c043c1ee7439523c0473edffc5fbadfd493abeb4c855ea", kill_on_drop: false }` [INFO] [stdout] 01051e9a0466fc84c7c043c1ee7439523c0473edffc5fbadfd493abeb4c855ea