[INFO] cloning repository https://github.com/huben/solana-dapp-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huben/solana-dapp-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuben%2Fsolana-dapp-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuben%2Fsolana-dapp-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48d2f69dd629de772ba238d823b111d5b564703a [INFO] checking huben/solana-dapp-template against try#38d217432297792fdf0e298115e9fe95b714ee8f for pr-109482-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuben%2Fsolana-dapp-template" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/huben/solana-dapp-template on toolchain 38d217432297792fdf0e298115e9fe95b714ee8f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38d217432297792fdf0e298115e9fe95b714ee8f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/huben/solana-dapp-template [INFO] finished tweaking git repo https://github.com/huben/solana-dapp-template [INFO] tweaked toml for git repo https://github.com/huben/solana-dapp-template written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/huben/solana-dapp-template 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" "+38d217432297792fdf0e298115e9fe95b714ee8f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-4-tc2/source/programs/solana-dapp-template/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:6ef671f6951f6f7b82eaf49ad0b3b99466e493f2d9d82dd96208252612681f61" "/opt/rustwide/cargo-home/bin/cargo" "+38d217432297792fdf0e298115e9fe95b714ee8f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa45c0c48cac8533f2d5a12e41f80c416228448241c7d4ef7d73008e3c1fddbb [INFO] running `Command { std: "docker" "start" "-a" "fa45c0c48cac8533f2d5a12e41f80c416228448241c7d4ef7d73008e3c1fddbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa45c0c48cac8533f2d5a12e41f80c416228448241c7d4ef7d73008e3c1fddbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa45c0c48cac8533f2d5a12e41f80c416228448241c7d4ef7d73008e3c1fddbb", kill_on_drop: false }` [INFO] [stdout] fa45c0c48cac8533f2d5a12e41f80c416228448241c7d4ef7d73008e3c1fddbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6ef671f6951f6f7b82eaf49ad0b3b99466e493f2d9d82dd96208252612681f61" "/opt/rustwide/cargo-home/bin/cargo" "+38d217432297792fdf0e298115e9fe95b714ee8f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 440cdd2cf7e28524e305d9d3904848451ca9efd3711eeb85a76bb1616b6b0ba5 [INFO] running `Command { std: "docker" "start" "-a" "440cdd2cf7e28524e305d9d3904848451ca9efd3711eeb85a76bb1616b6b0ba5", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/programs/solana-dapp-template/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking alloc-traits v0.1.1 [INFO] [stderr] Checking safe-transmute v0.11.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking without-alloc v0.2.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.9.22 [INFO] [stderr] Compiling solana-frozen-abi v1.9.22 [INFO] [stderr] Compiling solana-program v1.9.22 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.5.3 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ahash v0.7.6 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking solana-logger v1.9.22 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling field-offset v0.3.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling bytemuck_derive v1.1.0 [INFO] [stderr] Compiling solana-sdk-macro v1.9.22 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Checking enumflags2 v0.6.4 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking generic-array v0.14.5 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking serde_bytes v0.11.6 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Compiling anchor-syn v0.24.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Checking num_enum v0.5.7 [INFO] [stderr] Compiling anchor-attribute-account v0.24.2 [INFO] [stderr] Compiling anchor-attribute-state v0.24.2 [INFO] [stderr] Compiling anchor-attribute-error v0.24.2 [INFO] [stderr] Compiling anchor-attribute-interface v0.24.2 [INFO] [stderr] Compiling anchor-attribute-constant v0.24.2 [INFO] [stderr] Compiling anchor-attribute-access-control v0.24.2 [INFO] [stderr] Compiling anchor-derive-accounts v0.24.2 [INFO] [stderr] Compiling anchor-attribute-event v0.24.2 [INFO] [stderr] Compiling anchor-attribute-program v0.24.2 [INFO] [stderr] Checking spl-token v3.3.0 [INFO] [stderr] Checking anchor-lang v0.24.2 [INFO] [stderr] Checking spl-associated-token-account v1.0.5 [INFO] [stderr] Checking serum_dex v0.4.0 [INFO] [stderr] Checking serum_dex v0.5.4 [INFO] [stderr] Checking anchor-spl v0.24.2 [INFO] [stderr] Checking solana-dapp-template v0.1.0 (/opt/rustwide/workdir/programs/solana-dapp-template) [INFO] [stdout] warning: function `is_valid_swap_transitive` is never used [INFO] [stdout] --> programs/solana-dapp-template/src/token/processor.rs:357:4 [INFO] [stdout] | [INFO] [stdout] 357 | fn is_valid_swap_transitive(ctx: &Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `orderbook_from` is never used [INFO] [stdout] --> programs/solana-dapp-template/src/token/processor.rs:146:6 [INFO] [stdout] | [INFO] [stdout] 146 | fn orderbook_from(&self) -> OrderbookClient<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `orderbook_to` is never used [INFO] [stdout] --> programs/solana-dapp-template/src/token/processor.rs:156:6 [INFO] [stdout] | [INFO] [stdout] 156 | fn orderbook_to(&self) -> OrderbookClient<'info> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_swap_transitive` is never used [INFO] [stdout] --> programs/solana-dapp-template/src/token/processor.rs:357:4 [INFO] [stdout] | [INFO] [stdout] 357 | fn is_valid_swap_transitive(ctx: &Context) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `orderbook_from` is never used [INFO] [stdout] --> programs/solana-dapp-template/src/token/processor.rs:146:6 [INFO] [stdout] | [INFO] [stdout] 146 | fn orderbook_from(&self) -> OrderbookClient<'info> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `orderbook_to` is never used [INFO] [stdout] --> programs/solana-dapp-template/src/token/processor.rs:156:6 [INFO] [stdout] | [INFO] [stdout] 156 | fn orderbook_to(&self) -> OrderbookClient<'info> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.41s [INFO] running `Command { std: "docker" "inspect" "440cdd2cf7e28524e305d9d3904848451ca9efd3711eeb85a76bb1616b6b0ba5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "440cdd2cf7e28524e305d9d3904848451ca9efd3711eeb85a76bb1616b6b0ba5", kill_on_drop: false }` [INFO] [stdout] 440cdd2cf7e28524e305d9d3904848451ca9efd3711eeb85a76bb1616b6b0ba5