[INFO] cloning repository https://github.com/Plutonium-Network/plutonium-program [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Plutonium-Network/plutonium-program" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlutonium-Network%2Fplutonium-program", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlutonium-Network%2Fplutonium-program'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d0814c018dd803a3d67fb0bba868723277f719e [INFO] testing Plutonium-Network/plutonium-program against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlutonium-Network%2Fplutonium-program" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Plutonium-Network/plutonium-program on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Plutonium-Network/plutonium-program [INFO] finished tweaking git repo https://github.com/Plutonium-Network/plutonium-program [INFO] tweaked toml for git repo https://github.com/Plutonium-Network/plutonium-program written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Plutonium-Network/plutonium-program already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b363f7e8ae922d754eefd74e7e4d4e8aa475da9037ce03204c3a2faf5c99dfc [INFO] running `Command { std: "docker" "start" "-a" "7b363f7e8ae922d754eefd74e7e4d4e8aa475da9037ce03204c3a2faf5c99dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b363f7e8ae922d754eefd74e7e4d4e8aa475da9037ce03204c3a2faf5c99dfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b363f7e8ae922d754eefd74e7e4d4e8aa475da9037ce03204c3a2faf5c99dfc", kill_on_drop: false }` [INFO] [stdout] 7b363f7e8ae922d754eefd74e7e4d4e8aa475da9037ce03204c3a2faf5c99dfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f26a0d17cbae05731cd105384459bff476d4efc2010bbaf0c6c6c1429b7ed26 [INFO] running `Command { std: "docker" "start" "-a" "2f26a0d17cbae05731cd105384459bff476d4efc2010bbaf0c6c6c1429b7ed26", 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.1.5 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.3 [INFO] [stderr] Compiling solana-frozen-abi v1.7.3 [INFO] [stderr] Compiling solana-program v1.7.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling solana-logger v1.7.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling solana-sdk-macro v1.7.3 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling borsh v0.8.2 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling spl-token v3.1.1 [INFO] [stderr] Compiling plutonium v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `num_traits` [INFO] [stdout] --> src/processor.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `num_traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bytemuck` [INFO] [stdout] --> src/pyth.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytemuck::{ [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `bytemuck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arrayref` [INFO] [stdout] --> src/state/lending_market.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use arrayref::{array_mut_ref, array_ref, array_refs, mut_array_refs}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `arrayref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arrayref` [INFO] [stdout] --> src/state/obligation.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use arrayref::{array_mut_ref, array_ref, array_refs, mut_array_refs}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `arrayref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `arrayref` [INFO] [stdout] --> src/state/reserve.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use arrayref::{array_mut_ref, array_ref, array_refs, mut_array_refs}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `arrayref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `num_derive` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num_derive::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `num_derive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> src/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `uint` [INFO] [stdout] --> src/math/decimal.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use uint::construct_uint; [INFO] [stdout] | ^^^^ use of undeclared crate or module `uint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `uint` [INFO] [stdout] --> src/math/rate.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use uint::construct_uint; [INFO] [stdout] | ^^^^ use of undeclared crate or module `uint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Error` [INFO] [stdout] --> src/error.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug, Eq, Error, FromPrimitive, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `FromPrimitive` [INFO] [stdout] --> src/error.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Clone, Debug, Eq, Error, FromPrimitive, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[error("Failed to unpack instruction data")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[error("Account is already initialized")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[error("Lamport balance below rent-exempt threshold")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[error("Market authority is invalid")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[error("Market owner is invalid")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[error("Input account owner is not the program address")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[error("Input token account is not owned by the correct token program id")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[error("Input token account is not valid")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[error("Input token mint account is not valid")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[error("Input token program account is not valid")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[error("Input amount is invalid")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[error("Input config value is invalid")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[error("Input account must be a signer")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[error("Invalid account input")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[error("Math operation overflow")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[error("Token initialize mint failed")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[error("Token initialize account failed")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[error("Token transfer failed")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[error("Token mint to failed")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | #[error("Token burn failed")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | #[error("Insufficient liquidity available")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | #[error("Input reserve has collateral disabled")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[error("Reserve state needs to be refreshed")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 89 | #[error("Withdraw amount too small")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:92:7 [INFO] [stdout] | [INFO] [stdout] 92 | #[error("Withdraw amount too large")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | #[error("Borrow amount too small to receive liquidity after fees")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | #[error("Borrow amount too large for deposited collateral")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | #[error("Repay amount too small to transfer liquidity")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | #[error("Liquidation amount too small to receive collateral")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | #[error("Cannot liquidate healthy obligations")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | #[error("Obligation state needs to be refreshed")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:117:7 [INFO] [stdout] | [INFO] [stdout] 117 | #[error("Obligation reserve limit exceeded")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | #[error("Obligation owner is invalid")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | #[error("Obligation deposits are empty")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:126:7 [INFO] [stdout] | [INFO] [stdout] 126 | #[error("Obligation borrows are empty")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | #[error("Obligation deposits have zero value")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[error("Obligation borrows have zero value")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:137:7 [INFO] [stdout] | [INFO] [stdout] 137 | #[error("Invalid obligation collateral")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | #[error("Invalid obligation liquidity")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:143:7 [INFO] [stdout] | [INFO] [stdout] 143 | #[error("Obligation collateral is empty")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:148:7 [INFO] [stdout] | [INFO] [stdout] 148 | #[error("Obligation liquidity is empty")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | #[error("Interest rate is negative")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | #[error("Input oracle config is invalid")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:157:7 [INFO] [stdout] | [INFO] [stdout] 157 | #[error("Input flash loan receiver program account is not valid")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:160:7 [INFO] [stdout] | [INFO] [stdout] 160 | #[error("Not enough liquidity after flash loan")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `construct_uint` [INFO] [stdout] --> src/math/decimal.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | construct_uint! { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `construct_uint` [INFO] [stdout] --> src/math/rate.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | construct_uint! { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `array_mut_ref` [INFO] [stdout] --> src/state/lending_market.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | let output = array_mut_ref![output, 0, LENDING_MARKET_LEN]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `mut_array_refs` [INFO] [stdout] --> src/state/lending_market.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | ) = mut_array_refs![ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `array_ref` [INFO] [stdout] --> src/state/lending_market.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | let input = array_ref![input, 0, LENDING_MARKET_LEN]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `array_refs` [INFO] [stdout] --> src/state/lending_market.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | ) = array_refs![ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `array_mut_ref` [INFO] [stdout] --> src/state/obligation.rs:335:22 [INFO] [stdout] | [INFO] [stdout] 335 | let output = array_mut_ref![dst, 0, OBLIGATION_LEN]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `mut_array_refs` [INFO] [stdout] --> src/state/obligation.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | ) = mut_array_refs![ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `array_mut_ref` [INFO] [stdout] --> src/state/obligation.rs:383:33 [INFO] [stdout] | [INFO] [stdout] 383 | let deposits_flat = array_mut_ref![data_flat, offset, OBLIGATION_COLLATERAL_LEN]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `mut_array_refs` [INFO] [stdout] --> src/state/obligation.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | mut_array_refs![deposits_flat, PUBKEY_BYTES, 8, 16]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `array_mut_ref` [INFO] [stdout] --> src/state/obligation.rs:395:32 [INFO] [stdout] | [INFO] [stdout] 395 | let borrows_flat = array_mut_ref![data_flat, offset, OBLIGATION_LIQUIDITY_LEN]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `mut_array_refs` [INFO] [stdout] --> src/state/obligation.rs:398:17 [INFO] [stdout] | [INFO] [stdout] 398 | mut_array_refs![borrows_flat, PUBKEY_BYTES, 16, 16, 16]; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `array_ref` [INFO] [stdout] --> src/state/obligation.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | let input = array_ref![src, 0, OBLIGATION_LEN]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `array_refs` [INFO] [stdout] --> src/state/obligation.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | ) = array_refs![ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `array_ref` [INFO] [stdout] --> src/state/obligation.rs:456:33 [INFO] [stdout] | [INFO] [stdout] 456 | let deposits_flat = array_ref![data_flat, offset, OBLIGATION_COLLATERAL_LEN]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `array_refs` [INFO] [stdout] --> src/state/obligation.rs:459:17 [INFO] [stdout] | [INFO] [stdout] 459 | array_refs![deposits_flat, PUBKEY_BYTES, 8, 16]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `array_ref` [INFO] [stdout] --> src/state/obligation.rs:468:32 [INFO] [stdout] | [INFO] [stdout] 468 | let borrows_flat = array_ref![data_flat, offset, OBLIGATION_LIQUIDITY_LEN]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `array_refs` [INFO] [stdout] --> src/state/obligation.rs:471:17 [INFO] [stdout] | [INFO] [stdout] 471 | array_refs![borrows_flat, PUBKEY_BYTES, 16, 16, 16]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `array_mut_ref` [INFO] [stdout] --> src/state/reserve.rs:721:22 [INFO] [stdout] | [INFO] [stdout] 721 | let output = array_mut_ref![output, 0, RESERVE_LEN]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `mut_array_refs` [INFO] [stdout] --> src/state/reserve.rs:751:13 [INFO] [stdout] | [INFO] [stdout] 751 | ) = mut_array_refs![ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `array_ref` [INFO] [stdout] --> src/state/reserve.rs:825:21 [INFO] [stdout] | [INFO] [stdout] 825 | let input = array_ref![input, 0, RESERVE_LEN]; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `array_refs` [INFO] [stdout] --> src/state/reserve.rs:855:13 [INFO] [stdout] | [INFO] [stdout] 855 | ) = array_refs![ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U192` [INFO] [stdout] --> src/math/decimal.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | Self(U192::zero()) [INFO] [stdout] | ^^^^ use of undeclared type `U192` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U192` [INFO] [stdout] --> src/math/decimal.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | U192::from(WAD) [INFO] [stdout] | ^^^^ use of undeclared type `U192` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U192` [INFO] [stdout] --> src/math/decimal.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | U192::from(HALF_WAD) [INFO] [stdout] | ^^^^ use of undeclared type `U192` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U192` [INFO] [stdout] --> src/math/decimal.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | Self(U192::from(percent as u64 * PERCENT_SCALER)) [INFO] [stdout] | ^^^^ use of undeclared type `U192` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U192` [INFO] [stdout] --> src/math/decimal.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | Self(U192::from(scaled_val)) [INFO] [stdout] | ^^^^ use of undeclared type `U192` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U192` [INFO] [stdout] --> src/math/decimal.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | .checked_sub(U192::from(1u64)) [INFO] [stdout] | ^^^^ use of undeclared type `U192` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U192` [INFO] [stdout] --> src/math/decimal.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | Self(Self::wad() * U192::from(val)) [INFO] [stdout] | ^^^^ use of undeclared type `U192` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U192` [INFO] [stdout] --> src/math/decimal.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 122 | Self(Self::wad() * U192::from(val)) [INFO] [stdout] | ^^^^ use of undeclared type `U192` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U192` [INFO] [stdout] --> src/math/decimal.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | Self(U192::from(val.to_scaled_val())) [INFO] [stdout] | ^^^^ use of undeclared type `U192` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U192` [INFO] [stdout] --> src/math/decimal.rs:156:30 [INFO] [stdout] | [INFO] [stdout] 156 | .checked_div(U192::from(rhs)) [INFO] [stdout] | ^^^^ use of undeclared type `U192` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U192` [INFO] [stdout] --> src/math/decimal.rs:184:30 [INFO] [stdout] | [INFO] [stdout] 184 | .checked_mul(U192::from(rhs)) [INFO] [stdout] | ^^^^ use of undeclared type `U192` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U128` [INFO] [stdout] --> src/math/rate.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | Self(U128::from(0)) [INFO] [stdout] | ^^^^ use of undeclared type `U128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U128` [INFO] [stdout] --> src/math/rate.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | U128::from(WAD) [INFO] [stdout] | ^^^^ use of undeclared type `U128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U128` [INFO] [stdout] --> src/math/rate.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | U128::from(HALF_WAD) [INFO] [stdout] | ^^^^ use of undeclared type `U128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U128` [INFO] [stdout] --> src/math/rate.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | Self(U128::from(percent as u64 * PERCENT_SCALER)) [INFO] [stdout] | ^^^^ use of undeclared type `U128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U128` [INFO] [stdout] --> src/math/rate.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | Self(U128::from(scaled_val)) [INFO] [stdout] | ^^^^ use of undeclared type `U128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U128` [INFO] [stdout] --> src/math/rate.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | Ok(Self(U128::from(decimal.to_scaled_val()?))) [INFO] [stdout] | ^^^^ use of undeclared type `U128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U128` [INFO] [stdout] --> src/math/rate.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 151 | .checked_div(U128::from(rhs)) [INFO] [stdout] | ^^^^ use of undeclared type `U128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U128` [INFO] [stdout] --> src/math/rate.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 173 | .checked_mul(U128::from(rhs)) [INFO] [stdout] | ^^^^ use of undeclared type `U128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U192` in this scope [INFO] [stdout] --> src/math/decimal.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Decimal(pub U192); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U192` in this scope [INFO] [stdout] --> src/math/decimal.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Decimal(pub U192); [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U192` in this scope [INFO] [stdout] --> src/math/decimal.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Decimal(pub U192); [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U192` in this scope [INFO] [stdout] --> src/math/decimal.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | fn wad() -> U192 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U192` in this scope [INFO] [stdout] --> src/math/decimal.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | fn half_wad() -> U192 { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U128` in this scope [INFO] [stdout] --> src/math/rate.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Rate(pub U128); [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists (notice the capitalization): `u128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U128` in this scope [INFO] [stdout] --> src/math/rate.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Rate(pub U128); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Rate(pub u128); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Rate(pub U128); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U128` in this scope [INFO] [stdout] --> src/math/rate.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Rate(pub U128); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Rate(pub u128); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Rate(pub U128); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U128` in this scope [INFO] [stdout] --> src/math/rate.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | fn wad() -> U128 { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists (notice the capitalization): `u128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `U128` in this scope [INFO] [stdout] --> src/math/rate.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | fn half_wad() -> U128 { [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists (notice the capitalization): `u128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PUBKEY_BYTES` [INFO] [stdout] --> src/state/lending_market.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | pubkey::{Pubkey, PUBKEY_BYTES}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PUBKEY_BYTES` [INFO] [stdout] --> src/state/obligation.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pubkey::{Pubkey, PUBKEY_BYTES}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PUBKEY_BYTES` [INFO] [stdout] --> src/state/reserve.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pubkey::{Pubkey, PUBKEY_BYTES}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 107 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `plutonium` due to 108 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2f26a0d17cbae05731cd105384459bff476d4efc2010bbaf0c6c6c1429b7ed26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f26a0d17cbae05731cd105384459bff476d4efc2010bbaf0c6c6c1429b7ed26", kill_on_drop: false }` [INFO] [stdout] 2f26a0d17cbae05731cd105384459bff476d4efc2010bbaf0c6c6c1429b7ed26