[INFO] cloning repository https://github.com/rohithkumar0369/spltoken [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rohithkumar0369/spltoken" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohithkumar0369%2Fspltoken", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohithkumar0369%2Fspltoken'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4dea750a00fd6a99bcadc32e7a7bd2dcb7513f2 [INFO] testing rohithkumar0369/spltoken against master#404c8471aba60c2d837fa728e7c729a0f52d5830 for pr-87041-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohithkumar0369%2Fspltoken" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rohithkumar0369/spltoken on toolchain 404c8471aba60c2d837fa728e7c729a0f52d5830 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rohithkumar0369/spltoken [INFO] finished tweaking git repo https://github.com/rohithkumar0369/spltoken [INFO] tweaked toml for git repo https://github.com/rohithkumar0369/spltoken written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/rohithkumar0369/spltoken already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--no-deps" "--format-version=1", 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] 2cda40241160227a29262e44fa598c0398de1fcd29cff3f4a626b4db7f0214cc [INFO] running `Command { std: "docker" "start" "-a" "2cda40241160227a29262e44fa598c0398de1fcd29cff3f4a626b4db7f0214cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cda40241160227a29262e44fa598c0398de1fcd29cff3f4a626b4db7f0214cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cda40241160227a29262e44fa598c0398de1fcd29cff3f4a626b4db7f0214cc", kill_on_drop: false }` [INFO] [stdout] 2cda40241160227a29262e44fa598c0398de1fcd29cff3f4a626b4db7f0214cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95f59d68651c8d3f38e1ce8e68562aefa4eb2978ac8e8823a0cc770461c1d6c4 [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" "95f59d68651c8d3f38e1ce8e68562aefa4eb2978ac8e8823a0cc770461c1d6c4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling zeroize v1.4.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.8.2 [INFO] [stderr] Compiling solana-frozen-abi v1.8.2 [INFO] [stderr] Compiling solana-program v1.8.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling field-offset v0.3.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling solana-logger v1.8.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling solana-sdk-macro v1.8.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling enumflags2 v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.3 [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.8 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling anchor-syn v0.18.0 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Compiling borsh v0.9.1 [INFO] [stderr] Compiling num_enum v0.5.4 [INFO] [stderr] Compiling anchor-derive-accounts v0.18.0 [INFO] [stderr] Compiling anchor-attribute-state v0.18.0 [INFO] [stderr] Compiling anchor-attribute-program v0.18.0 [INFO] [stderr] Compiling anchor-attribute-account v0.18.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.18.0 [INFO] [stderr] Compiling anchor-attribute-event v0.18.0 [INFO] [stderr] Compiling anchor-attribute-interface v0.18.0 [INFO] [stderr] Compiling anchor-attribute-error v0.18.0 [INFO] [stderr] Compiling anchor-lang v0.18.0 [INFO] [stderr] Compiling spl-token v3.2.0 [INFO] [stderr] Compiling serum_dex v0.4.0 [INFO] [stderr] Compiling spl-associated-token-account v1.0.3 [INFO] [stderr] Compiling anchor-spl v0.18.0 [INFO] [stderr] Compiling tokens v0.1.0 (/opt/rustwide/workdir/programs/tokens) [INFO] [stdout] warning: unused imports: `CloseAccount`, `SetAuthority`, `Transfer` [INFO] [stdout] --> programs/tokens/src/lib.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | token::{Mint, Token, TokenAccount , Transfer , CloseAccount,SetAuthority}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AuthorityType` [INFO] [stdout] --> programs/tokens/src/lib.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use spl_token::instruction::{AuthorityType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mintToken` should have an upper camel case name [INFO] [stdout] --> programs/tokens/src/lib.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct mintToken<'info>{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `MintToken` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `approve` should have an upper camel case name [INFO] [stdout] --> programs/tokens/src/lib.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct approve<'info>{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Approve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 05s [INFO] running `Command { std: "docker" "inspect" "95f59d68651c8d3f38e1ce8e68562aefa4eb2978ac8e8823a0cc770461c1d6c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95f59d68651c8d3f38e1ce8e68562aefa4eb2978ac8e8823a0cc770461c1d6c4", kill_on_drop: false }` [INFO] [stdout] 95f59d68651c8d3f38e1ce8e68562aefa4eb2978ac8e8823a0cc770461c1d6c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17dbaf1bbe8684dbc562ce2033e50644bd03498b4459922c319c8c8bdf6eb1db [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" "17dbaf1bbe8684dbc562ce2033e50644bd03498b4459922c319c8c8bdf6eb1db", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `CloseAccount`, `SetAuthority`, `Transfer` [INFO] [stdout] --> programs/tokens/src/lib.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | token::{Mint, Token, TokenAccount , Transfer , CloseAccount,SetAuthority}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AuthorityType` [INFO] [stdout] --> programs/tokens/src/lib.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use spl_token::instruction::{AuthorityType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mintToken` should have an upper camel case name [INFO] [stdout] --> programs/tokens/src/lib.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct mintToken<'info>{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `MintToken` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `approve` should have an upper camel case name [INFO] [stdout] --> programs/tokens/src/lib.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct approve<'info>{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Approve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokens v0.1.0 (/opt/rustwide/workdir/programs/tokens) [INFO] [stdout] warning: unused imports: `CloseAccount`, `SetAuthority`, `Transfer` [INFO] [stdout] --> programs/tokens/src/lib.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | token::{Mint, Token, TokenAccount , Transfer , CloseAccount,SetAuthority}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AuthorityType` [INFO] [stdout] --> programs/tokens/src/lib.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use spl_token::instruction::{AuthorityType}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mintToken` should have an upper camel case name [INFO] [stdout] --> programs/tokens/src/lib.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct mintToken<'info>{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `MintToken` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `approve` should have an upper camel case name [INFO] [stdout] --> programs/tokens/src/lib.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct approve<'info>{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Approve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.52s [INFO] running `Command { std: "docker" "inspect" "17dbaf1bbe8684dbc562ce2033e50644bd03498b4459922c319c8c8bdf6eb1db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17dbaf1bbe8684dbc562ce2033e50644bd03498b4459922c319c8c8bdf6eb1db", kill_on_drop: false }` [INFO] [stdout] 17dbaf1bbe8684dbc562ce2033e50644bd03498b4459922c319c8c8bdf6eb1db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dff079d8ad3c30b1cd10e31e6a939a7f930f3a11a99f482a80d862ceb40a9807 [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" "dff079d8ad3c30b1cd10e31e6a939a7f930f3a11a99f482a80d862ceb40a9807", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `CloseAccount`, `SetAuthority`, `Transfer` [INFO] [stderr] --> programs/tokens/src/lib.rs:5:41 [INFO] [stderr] | [INFO] [stderr] 5 | token::{Mint, Token, TokenAccount , Transfer , CloseAccount,SetAuthority}, [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `AuthorityType` [INFO] [stderr] --> programs/tokens/src/lib.rs:8:30 [INFO] [stderr] | [INFO] [stderr] 8 | use spl_token::instruction::{AuthorityType}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `mintToken` should have an upper camel case name [INFO] [stderr] --> programs/tokens/src/lib.rs:119:12 [INFO] [stderr] | [INFO] [stderr] 119 | pub struct mintToken<'info>{ [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `MintToken` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `approve` should have an upper camel case name [INFO] [stderr] --> programs/tokens/src/lib.rs:180:12 [INFO] [stderr] | [INFO] [stderr] 180 | pub struct approve<'info>{ [INFO] [stdout] [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `Approve` [INFO] [stdout] running 1 test [INFO] [stderr] [INFO] [stdout] test test_id ... ok [INFO] [stderr] warning: `tokens` (lib) generated 4 warnings [INFO] [stdout] [INFO] [stderr] warning: `tokens` (lib test) generated 4 warnings (4 duplicates) [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.61s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tokens-fd8c9ff027bfae0e) [INFO] [stderr] Doc-tests tokens [INFO] [stderr] error[E0659]: `tokens` is ambiguous [INFO] [stderr] --> /opt/rustwide/workdir/programs/tokens/src/lib.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub mod tokens { [INFO] [stderr] | ^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple potential import sources [INFO] [stderr] = note: `tokens` could refer to a crate passed with `--extern` [INFO] [stderr] = help: use `::tokens` to refer to this crate unambiguously [INFO] [stderr] note: `tokens` could also refer to the module defined here [INFO] [stderr] --> /opt/rustwide/workdir/programs/tokens/src/lib.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / pub mod tokens { [INFO] [stderr] 13 | | use super::*; [INFO] [stderr] 14 | | pub fn initialize(_ctx: Context,_mint_dump:u8) -> ProgramResult { [INFO] [stderr] 15 | | Ok(()) [INFO] [stderr] ... | [INFO] [stderr] 89 | | } [INFO] [stderr] 90 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = help: use `crate::tokens` to refer to this module unambiguously [INFO] [stderr] [INFO] [stderr] warning: type `mintToken` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/programs/tokens/src/lib.rs:119:12 [INFO] [stderr] | [INFO] [stderr] 119 | pub struct mintToken<'info>{ [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `MintToken` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `approve` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/programs/tokens/src/lib.rs:180:12 [INFO] [stderr] | [INFO] [stderr] 180 | pub struct approve<'info>{ [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `Approve` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0659`. [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "dff079d8ad3c30b1cd10e31e6a939a7f930f3a11a99f482a80d862ceb40a9807", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dff079d8ad3c30b1cd10e31e6a939a7f930f3a11a99f482a80d862ceb40a9807", kill_on_drop: false }` [INFO] [stdout] dff079d8ad3c30b1cd10e31e6a939a7f930f3a11a99f482a80d862ceb40a9807