[INFO] cloning repository https://github.com/secretshardul/solana-anchor-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/secretshardul/solana-anchor-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsecretshardul%2Fsolana-anchor-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsecretshardul%2Fsolana-anchor-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e298a41c8a3582ecaa457a7ff62756d833b84eaa [INFO] testing secretshardul/solana-anchor-tutorial 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%2Fsecretshardul%2Fsolana-anchor-tutorial" "/workspace/builds/worker-57/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-57/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/secretshardul/solana-anchor-tutorial 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/secretshardul/solana-anchor-tutorial [INFO] finished tweaking git repo https://github.com/secretshardul/solana-anchor-tutorial [INFO] tweaked toml for git repo https://github.com/secretshardul/solana-anchor-tutorial written to /workspace/builds/worker-57/source/Cargo.toml [INFO] crate git repo https://github.com/secretshardul/solana-anchor-tutorial 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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] b7176e01af18a6c37a67849fc084c3b0cd0c448cb9b287e4e288f46e771bc588 [INFO] running `Command { std: "docker" "start" "-a" "b7176e01af18a6c37a67849fc084c3b0cd0c448cb9b287e4e288f46e771bc588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7176e01af18a6c37a67849fc084c3b0cd0c448cb9b287e4e288f46e771bc588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7176e01af18a6c37a67849fc084c3b0cd0c448cb9b287e4e288f46e771bc588", kill_on_drop: false }` [INFO] [stdout] b7176e01af18a6c37a67849fc084c3b0cd0c448cb9b287e4e288f46e771bc588 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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] a7c5b9aa8428017b961ef8b76674514ea7a7af74bea1313e79090ba22191c4f6 [INFO] running `Command { std: "docker" "start" "-a" "a7c5b9aa8428017b961ef8b76674514ea7a7af74bea1313e79090ba22191c4f6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling cpufeatures v0.1.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.6.8 [INFO] [stderr] Compiling solana-frozen-abi v1.6.8 [INFO] [stderr] Compiling solana-program v1.6.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling curve25519-dalek v2.1.2 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling solana-logger v1.6.8 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.6.8 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bv v0.11.1 [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 proc-macro-crate v0.1.5 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling anchor-syn v0.5.0 [INFO] [stderr] Compiling borsh v0.8.2 [INFO] [stderr] Compiling anchor-attribute-interface v0.5.0 [INFO] [stderr] Compiling anchor-attribute-program v0.5.0 [INFO] [stderr] Compiling anchor-attribute-state v0.5.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.5.0 [INFO] [stderr] Compiling anchor-attribute-error v0.5.0 [INFO] [stderr] Compiling anchor-attribute-account v0.5.0 [INFO] [stderr] Compiling anchor-attribute-event v0.5.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.5.0 [INFO] [stderr] Compiling anchor-lang v0.5.0 [INFO] [stderr] Compiling t1_basics v0.1.0 (/opt/rustwide/workdir/programs/t1_basics) [INFO] [stderr] Compiling t2_accounts_and_args v0.1.0 (/opt/rustwide/workdir/programs/t2_accounts_and_args) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/t1_basics/src/lib.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn initialize(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 54.25s [INFO] running `Command { std: "docker" "inspect" "a7c5b9aa8428017b961ef8b76674514ea7a7af74bea1313e79090ba22191c4f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7c5b9aa8428017b961ef8b76674514ea7a7af74bea1313e79090ba22191c4f6", kill_on_drop: false }` [INFO] [stdout] a7c5b9aa8428017b961ef8b76674514ea7a7af74bea1313e79090ba22191c4f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f4c61506b16af78840a6109a133cb596b9a3d884c33072d9c8911151a5b2a61 [INFO] running `Command { std: "docker" "start" "-a" "8f4c61506b16af78840a6109a133cb596b9a3d884c33072d9c8911151a5b2a61", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling t1_basics v0.1.0 (/opt/rustwide/workdir/programs/t1_basics) [INFO] [stderr] Compiling t2_accounts_and_args v0.1.0 (/opt/rustwide/workdir/programs/t2_accounts_and_args) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/t1_basics/src/lib.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn initialize(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/t1_basics/src/lib.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn initialize(ctx: Context) -> ProgramResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.21s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/t1_basics-e67489a249a9db15) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/t2_accounts_and_args-a062b4e0e18db0fc) [INFO] running `Command { std: "docker" "inspect" "8f4c61506b16af78840a6109a133cb596b9a3d884c33072d9c8911151a5b2a61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f4c61506b16af78840a6109a133cb596b9a3d884c33072d9c8911151a5b2a61", kill_on_drop: false }` [INFO] [stdout] 8f4c61506b16af78840a6109a133cb596b9a3d884c33072d9c8911151a5b2a61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4881b3449c9451dce20b63c8960132df837b4861763c937be8101881ffb30d01 [INFO] running `Command { std: "docker" "start" "-a" "4881b3449c9451dce20b63c8960132df837b4861763c937be8101881ffb30d01", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> programs/t1_basics/src/lib.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn initialize(ctx: Context) -> ProgramResult { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `t1_basics` (lib) generated 1 warning [INFO] [stderr] warning: `t1_basics` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/t1_basics-e67489a249a9db15) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/t2_accounts_and_args-a062b4e0e18db0fc) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests t1_basics [INFO] [stderr] error[E0659]: `t1_basics` is ambiguous [INFO] [stderr] --> /opt/rustwide/workdir/programs/t1_basics/src/lib.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub mod t1_basics { [INFO] [stderr] | ^^^^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple potential import sources [INFO] [stderr] = note: `t1_basics` could refer to a crate passed with `--extern` [INFO] [stderr] = help: use `::t1_basics` to refer to this crate unambiguously [INFO] [stderr] note: `t1_basics` could also refer to the module defined here [INFO] [stderr] --> /opt/rustwide/workdir/programs/t1_basics/src/lib.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / pub mod t1_basics { [INFO] [stderr] 5 | | use super::*; [INFO] [stderr] 6 | | pub fn initialize(ctx: Context) -> ProgramResult { [INFO] [stderr] 7 | | Ok(()) [INFO] [stderr] 8 | | } [INFO] [stderr] 9 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = help: use `crate::t1_basics` to refer to this module unambiguously [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [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" "4881b3449c9451dce20b63c8960132df837b4861763c937be8101881ffb30d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4881b3449c9451dce20b63c8960132df837b4861763c937be8101881ffb30d01", kill_on_drop: false }` [INFO] [stdout] 4881b3449c9451dce20b63c8960132df837b4861763c937be8101881ffb30d01