[INFO] cloning repository https://github.com/raydiusr/stable-swap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raydiusr/stable-swap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraydiusr%2Fstable-swap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraydiusr%2Fstable-swap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8eb0a52ce1de12051fab0e8b66b6f30479b1962d [INFO] building raydiusr/stable-swap against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraydiusr%2Fstable-swap" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raydiusr/stable-swap on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/raydiusr/stable-swap [INFO] finished tweaking git repo https://github.com/raydiusr/stable-swap [INFO] tweaked toml for git repo https://github.com/raydiusr/stable-swap written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/raydiusr/stable-swap 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded solana-logger v1.5.1 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.5.1 [INFO] [stderr] Downloaded solana-crate-features v1.5.1 [INFO] [stderr] Downloaded cc v1.0.49 [INFO] [stderr] Downloaded solana-sdk-macro v1.5.1 [INFO] [stderr] Downloaded assert_matches v1.4.0 [INFO] [stderr] Downloaded solana-frozen-abi v1.5.1 [INFO] [stderr] Downloaded pin-project-lite v0.2.1 [INFO] [stderr] Downloaded ctor v0.1.17 [INFO] [stderr] Downloaded pyo3-derive-backend v0.12.4 [INFO] [stderr] Downloaded pyo3cls v0.12.4 [INFO] [stderr] Downloaded pin-project v1.0.3 [INFO] [stderr] Downloaded pin-project-internal v1.0.3 [INFO] [stderr] Downloaded solana-program v1.5.1 [INFO] [stderr] Downloaded solana-sdk v1.5.1 [INFO] [stderr] Downloaded spl-token v3.0.1 [INFO] [stderr] Downloaded pyo3 v0.12.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 059d26e79757498900ea992ab3cf6779e730948bd146121b749379e09145e738 [INFO] running `Command { std: "docker" "start" "-a" "059d26e79757498900ea992ab3cf6779e730948bd146121b749379e09145e738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "059d26e79757498900ea992ab3cf6779e730948bd146121b749379e09145e738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "059d26e79757498900ea992ab3cf6779e730948bd146121b749379e09145e738", kill_on_drop: false }` [INFO] [stdout] 059d26e79757498900ea992ab3cf6779e730948bd146121b749379e09145e738 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ed49b03c0d1c1a72222e6bb2df3e7330aba7e9c9e241de658b8c764d283fd92 [INFO] running `Command { std: "docker" "start" "-a" "6ed49b03c0d1c1a72222e6bb2df3e7330aba7e9c9e241de658b8c764d283fd92", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.5.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling solana-frozen-abi v1.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling solana-program v1.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling uint v0.8.5 [INFO] [stderr] Compiling solana-logger v1.5.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling solana-sdk-macro v1.5.1 [INFO] [stderr] Compiling derivative v2.1.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling spl-token v3.0.1 [INFO] [stderr] Compiling spl-token-swap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/entrypoint.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no-entrypoint` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> src/entrypoint.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no-entrypoint` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SwapError` [INFO] [stdout] 9 | pub enum SwapError { [INFO] [stdout] | --------- `SwapError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.01s [INFO] running `Command { std: "docker" "inspect" "6ed49b03c0d1c1a72222e6bb2df3e7330aba7e9c9e241de658b8c764d283fd92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ed49b03c0d1c1a72222e6bb2df3e7330aba7e9c9e241de658b8c764d283fd92", kill_on_drop: false }` [INFO] [stdout] 6ed49b03c0d1c1a72222e6bb2df3e7330aba7e9c9e241de658b8c764d283fd92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d6e28fc96398838d57ac7ae25c307fb5f453b24b15d0fe71307ef8e120a4701 [INFO] running `Command { std: "docker" "start" "-a" "5d6e28fc96398838d57ac7ae25c307fb5f453b24b15d0fe71307ef8e120a4701", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures v0.1.30 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling cc v1.0.49 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling pin-project-lite v0.2.1 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling signature v1.3.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling smallvec v1.6.0 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pyo3-derive-backend v0.12.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling remove_dir_all v0.5.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling pyo3 v0.12.4 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling solana-sdk v1.5.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling assert_matches v1.4.0 [INFO] [stderr] Compiling proptest v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling pin-project-internal v1.0.3 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling pin-project v1.0.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.5.1 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling solana-sdk-macro v1.5.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling ctor v0.1.17 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling derivative v2.1.3 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling indoc v0.3.6 [INFO] [stderr] Compiling pyo3cls v0.12.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling ed25519 v1.0.3 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling solana-frozen-abi v1.5.1 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling solana-program v1.5.1 [INFO] [stderr] Compiling sim v0.1.0 (/opt/rustwide/workdir/lib/sim) [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling spl-token v3.0.1 [INFO] [stderr] Compiling spl-token-swap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/entrypoint.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no-entrypoint` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> src/entrypoint.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no-entrypoint` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SwapError` [INFO] [stdout] 9 | pub enum SwapError { [INFO] [stdout] | --------- `SwapError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling solana-crate-features v1.5.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> src/entrypoint.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no-entrypoint` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> src/entrypoint.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `no-entrypoint` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [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] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SwapError` [INFO] [stdout] 9 | pub enum SwapError { [INFO] [stdout] | --------- `SwapError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/utils.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub mod test_utils { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/utils.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn clock_account(ts: i64) -> Account { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/utils.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn pubkey_rand() -> Pubkey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/utils.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct SwapAccountInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub nonce: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub authority_key: Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub initial_amp_factor: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub target_amp_factor: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub swap_key: Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub swap_account: Account, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub pool_mint_key: Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub pool_mint_account: Account, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub pool_token_key: Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub pool_token_account: Account, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub token_a_key: Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub token_a_account: Account, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub token_a_mint_key: Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub token_a_mint_account: Account, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub token_b_key: Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub token_b_account: Account, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub token_b_mint_key: Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub token_b_mint_account: Account, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub admin_key: Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub admin_account: Account, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub admin_fee_a_key: Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub admin_fee_a_account: Account, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub admin_fee_b_key: Pubkey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub admin_fee_b_account: Account, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/utils.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub fees: Fees, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/utils.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | / pub fn new( [INFO] [stdout] 98 | | user_key: &Pubkey, [INFO] [stdout] 99 | | amp_factor: u64, [INFO] [stdout] 100 | | token_a_amount: u64, [INFO] [stdout] 101 | | token_b_amount: u64, [INFO] [stdout] 102 | | fees: Fees, [INFO] [stdout] 103 | | ) -> Self { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/utils.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn initialize_swap(&mut self) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/utils.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | / pub fn setup_token_accounts( [INFO] [stdout] 230 | | &mut self, [INFO] [stdout] 231 | | mint_owner: &Pubkey, [INFO] [stdout] 232 | | account_owner: &Pubkey, [INFO] [stdout] ... | [INFO] [stdout] 235 | | pool_amount: u64, [INFO] [stdout] 236 | | ) -> (Pubkey, Account, Pubkey, Account, Pubkey, Account) { [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/utils.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | / pub fn swap( [INFO] [stdout] 321 | | &mut self, [INFO] [stdout] 322 | | user_key: &Pubkey, [INFO] [stdout] 323 | | user_source_key: &Pubkey, [INFO] [stdout] ... | [INFO] [stdout] 330 | | minimum_amount_out: u64, [INFO] [stdout] 331 | | ) -> ProgramResult { [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/utils.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | / pub fn deposit( [INFO] [stdout] 394 | | &mut self, [INFO] [stdout] 395 | | depositor_key: &Pubkey, [INFO] [stdout] 396 | | depositor_token_a_key: &Pubkey, [INFO] [stdout] ... | [INFO] [stdout] 404 | | min_mint_amount: u64, [INFO] [stdout] 405 | | ) -> ProgramResult { [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/utils.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | / pub fn withdraw( [INFO] [stdout] 476 | | &mut self, [INFO] [stdout] 477 | | user_key: &Pubkey, [INFO] [stdout] 478 | | pool_key: &Pubkey, [INFO] [stdout] ... | [INFO] [stdout] 486 | | minimum_b_amount: u64, [INFO] [stdout] 487 | | ) -> ProgramResult { [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/utils.rs:545:9 [INFO] [stdout] | [INFO] [stdout] 545 | / pub fn withdraw_one( [INFO] [stdout] 546 | | &mut self, [INFO] [stdout] 547 | | user_key: &Pubkey, [INFO] [stdout] 548 | | pool_key: &Pubkey, [INFO] [stdout] ... | [INFO] [stdout] 553 | | minimum_amount: u64, [INFO] [stdout] 554 | | ) -> ProgramResult { [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/utils.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | pub fn stop_ramp_a(&mut self, current_ts: i64) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/utils.rs:651:9 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn pause(&mut self) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/utils.rs:668:9 [INFO] [stdout] | [INFO] [stdout] 668 | pub fn unpause(&mut self) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/utils.rs:685:9 [INFO] [stdout] | [INFO] [stdout] 685 | / pub fn set_admin_fee_account( [INFO] [stdout] 686 | | &mut self, [INFO] [stdout] 687 | | new_admin_fee_key: &Pubkey, [INFO] [stdout] 688 | | new_admin_fee_account: &Account, [INFO] [stdout] 689 | | ) -> ProgramResult { [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/utils.rs:708:9 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn apply_new_admin(&mut self, current_ts: i64) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/utils.rs:726:9 [INFO] [stdout] | [INFO] [stdout] 726 | / pub fn commit_new_admin( [INFO] [stdout] 727 | | &mut self, [INFO] [stdout] 728 | | new_admin_key: &Pubkey, [INFO] [stdout] 729 | | current_ts: i64, [INFO] [stdout] 730 | | ) -> ProgramResult { [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/utils.rs:750:9 [INFO] [stdout] | [INFO] [stdout] 750 | pub fn set_new_fees(&mut self, new_fees: Fees) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/utils.rs:819:5 [INFO] [stdout] | [INFO] [stdout] 819 | / pub fn do_process_instruction( [INFO] [stdout] 820 | | instruction: Instruction, [INFO] [stdout] 821 | | accounts: Vec<&mut Account>, [INFO] [stdout] 822 | | ) -> ProgramResult { [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/utils.rs:874:5 [INFO] [stdout] | [INFO] [stdout] 874 | / pub fn mint_token( [INFO] [stdout] 875 | | program_id: &Pubkey, [INFO] [stdout] 876 | | mint_key: &Pubkey, [INFO] [stdout] 877 | | mut mint_account: &mut Account, [INFO] [stdout] ... | [INFO] [stdout] 880 | | amount: u64, [INFO] [stdout] 881 | | ) -> (Pubkey, Account) { [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/utils.rs:925:5 [INFO] [stdout] | [INFO] [stdout] 925 | / pub fn create_mint( [INFO] [stdout] 926 | | program_id: &Pubkey, [INFO] [stdout] 927 | | authority_key: &Pubkey, [INFO] [stdout] 928 | | decimals: u8, [INFO] [stdout] 929 | | freeze_authority: Option<&Pubkey>, [INFO] [stdout] 930 | | ) -> (Pubkey, Account) { [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: pyo3 v0.12.4, pyo3-derive-backend v0.12.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5d6e28fc96398838d57ac7ae25c307fb5f453b24b15d0fe71307ef8e120a4701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d6e28fc96398838d57ac7ae25c307fb5f453b24b15d0fe71307ef8e120a4701", kill_on_drop: false }` [INFO] [stdout] 5d6e28fc96398838d57ac7ae25c307fb5f453b24b15d0fe71307ef8e120a4701