[INFO] cloning repository https://github.com/larry-a4/secret_consumer_loan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/larry-a4/secret_consumer_loan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flarry-a4%2Fsecret_consumer_loan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flarry-a4%2Fsecret_consumer_loan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35bb79a7f0aecc1b97151ad6d4e5217d7456e081 [INFO] testing larry-a4/secret_consumer_loan against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flarry-a4%2Fsecret_consumer_loan" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/larry-a4/secret_consumer_loan on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/.cargo/config [INFO] started tweaking git repo https://github.com/larry-a4/secret_consumer_loan [INFO] finished tweaking git repo https://github.com/larry-a4/secret_consumer_loan [INFO] tweaked toml for git repo https://github.com/larry-a4/secret_consumer_loan written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/larry-a4/secret_consumer_loan already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a033d07a059c2bb1dc45835fc53f13c1178b755a76d044b866b93479e2d0acc [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" "1a033d07a059c2bb1dc45835fc53f13c1178b755a76d044b866b93479e2d0acc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a033d07a059c2bb1dc45835fc53f13c1178b755a76d044b866b93479e2d0acc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a033d07a059c2bb1dc45835fc53f13c1178b755a76d044b866b93479e2d0acc", kill_on_drop: false }` [INFO] [stdout] 1a033d07a059c2bb1dc45835fc53f13c1178b755a76d044b866b93479e2d0acc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--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] f9068121717eab0641e2d432fb17a1405c0b6a792f855d61dc7baa87337512c1 [INFO] running `Command { std: "docker" "start" "-a" "f9068121717eab0641e2d432fb17a1405c0b6a792f855d61dc7baa87337512c1", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde-json-wasm v0.2.3 [INFO] [stderr] Compiling bincode2 v2.0.1 [INFO] [stderr] Compiling cosmwasm-std v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92) [INFO] [stderr] Compiling cosmwasm-schema v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92) [INFO] [stderr] Compiling secret-toolkit-utils v0.1.0 (https://github.com/enigmampc/secret-toolkit#1faf60a4) [INFO] [stderr] Compiling cosmwasm-storage v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92) [INFO] [stderr] Compiling secret-toolkit-serialization v0.1.0 (https://github.com/enigmampc/secret-toolkit#1faf60a4) [INFO] [stderr] Compiling secret-toolkit-crypto v0.1.0 (https://github.com/enigmampc/secret-toolkit#1faf60a4) [INFO] [stderr] Compiling secret-toolkit-snip20 v0.1.0 (https://github.com/enigmampc/secret-toolkit#1faf60a4) [INFO] [stderr] Compiling secret-toolkit-storage v0.1.0 (https://github.com/enigmampc/secret-toolkit#1faf60a4) [INFO] [stderr] Compiling secret-toolkit v0.1.0 (https://github.com/enigmampc/secret-toolkit#1faf60a4) [INFO] [stderr] Compiling secret-consumer-loan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `bytes_to_u128` [INFO] [stdout] --> src/state.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn bytes_to_u128(data: &[u8]) -> StdResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_supply_rate` [INFO] [stdout] --> src/interest_model.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_supply_rate(cash: u128, borrows: u128, reserves: u128, reserve_factor: u128) -> u128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `multiplier_per_block` should have an upper case name [INFO] [stdout] --> src/interest_model.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | pub static multiplier_per_block: u128 = 23; // 0.000000237823 * 10^8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `MULTIPLIER_PER_BLOCK` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `base_rate_per_block` should have an upper case name [INFO] [stdout] --> src/interest_model.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub static base_rate_per_block: u128 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BASE_RATE_PER_BLOCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `jump_multiplier_per_block` should have an upper case name [INFO] [stdout] --> src/interest_model.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub static jump_multiplier_per_block: u128 = 51; // 0.000000518455 * 10^8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `JUMP_MULTIPLIER_PER_BLOCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `kink` should have an upper case name [INFO] [stdout] --> src/interest_model.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub static kink: u128 = 80_000_000; // 0.8 * 10^8 [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `KINK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `scale` should have an upper case name [INFO] [stdout] --> src/exponential.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub static scale: u128 = 100_000_000; // 10^8 [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `SCALE` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 23s [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f9068121717eab0641e2d432fb17a1405c0b6a792f855d61dc7baa87337512c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9068121717eab0641e2d432fb17a1405c0b6a792f855d61dc7baa87337512c1", kill_on_drop: false }` [INFO] [stdout] f9068121717eab0641e2d432fb17a1405c0b6a792f855d61dc7baa87337512c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 548fcccd5357f86c99d2f486cf725e42965c919097d9376447efd1dc2f2f79ed [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" "548fcccd5357f86c99d2f486cf725e42965c919097d9376447efd1dc2f2f79ed", kill_on_drop: false }` [INFO] [stderr] error: failed to create directory `/opt/rustwide/target/debug/tmp` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] File exists (os error 17) [INFO] running `Command { std: "docker" "inspect" "548fcccd5357f86c99d2f486cf725e42965c919097d9376447efd1dc2f2f79ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "548fcccd5357f86c99d2f486cf725e42965c919097d9376447efd1dc2f2f79ed", kill_on_drop: false }` [INFO] [stdout] 548fcccd5357f86c99d2f486cf725e42965c919097d9376447efd1dc2f2f79ed