[INFO] cloning repository https://github.com/ndphu/blockchain-coding-challenge-001 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ndphu/blockchain-coding-challenge-001" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fndphu%2Fblockchain-coding-challenge-001", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fndphu%2Fblockchain-coding-challenge-001'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67f8beb2e5d1ee1e90c2c0a093cfd8133129b23e [INFO] testing ndphu/blockchain-coding-challenge-001 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%2Fndphu%2Fblockchain-coding-challenge-001" "/workspace/builds/worker-78/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-78/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ndphu/blockchain-coding-challenge-001 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/ndphu/blockchain-coding-challenge-001 [INFO] finished tweaking git repo https://github.com/ndphu/blockchain-coding-challenge-001 [INFO] tweaked toml for git repo https://github.com/ndphu/blockchain-coding-challenge-001 written to /workspace/builds/worker-78/source/Cargo.toml [INFO] crate git repo https://github.com/ndphu/blockchain-coding-challenge-001 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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] 948d08094775d720fda7d1e1bfa750a2b2f1b6a250dbca951353b37fee61122e [INFO] running `Command { std: "docker" "start" "-a" "948d08094775d720fda7d1e1bfa750a2b2f1b6a250dbca951353b37fee61122e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "948d08094775d720fda7d1e1bfa750a2b2f1b6a250dbca951353b37fee61122e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "948d08094775d720fda7d1e1bfa750a2b2f1b6a250dbca951353b37fee61122e", kill_on_drop: false }` [INFO] [stdout] 948d08094775d720fda7d1e1bfa750a2b2f1b6a250dbca951353b37fee61122e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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] 0ffaaf5aaeb36e7acab959faf2d2b895854477d67bc8bb211904a78769814572 [INFO] running `Command { std: "docker" "start" "-a" "0ffaaf5aaeb36e7acab959faf2d2b895854477d67bc8bb211904a78769814572", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.8.6 [INFO] [stderr] Compiling solana-frozen-abi v1.8.6 [INFO] [stderr] Compiling solana-program v1.8.6 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling blake3 v0.3.8 [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 generic-array v0.12.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling regex v1.5.4 [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 env_logger v0.8.4 [INFO] [stderr] Compiling solana-logger v1.8.6 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.8.6 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling anchor-syn v0.18.2 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Compiling borsh v0.9.1 [INFO] [stderr] Compiling anchor-attribute-event v0.18.2 [INFO] [stderr] Compiling anchor-attribute-access-control v0.18.2 [INFO] [stderr] Compiling anchor-derive-accounts v0.18.2 [INFO] [stderr] Compiling anchor-attribute-program v0.18.2 [INFO] [stderr] Compiling anchor-attribute-error v0.18.2 [INFO] [stderr] Compiling anchor-attribute-account v0.18.2 [INFO] [stderr] Compiling anchor-attribute-interface v0.18.2 [INFO] [stderr] Compiling anchor-attribute-state v0.18.2 [INFO] [stderr] Compiling anchor-lang v0.18.2 [INFO] [stderr] Compiling challenge-001 v0.1.0 (/opt/rustwide/workdir/programs/challenge-001) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "0ffaaf5aaeb36e7acab959faf2d2b895854477d67bc8bb211904a78769814572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ffaaf5aaeb36e7acab959faf2d2b895854477d67bc8bb211904a78769814572", kill_on_drop: false }` [INFO] [stdout] 0ffaaf5aaeb36e7acab959faf2d2b895854477d67bc8bb211904a78769814572 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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] 7093f27ed4cfe2188f260a730482b467c41a4cad79ef088e7d6b75f27c6e6259 [INFO] running `Command { std: "docker" "start" "-a" "7093f27ed4cfe2188f260a730482b467c41a4cad79ef088e7d6b75f27c6e6259", kill_on_drop: false }` [INFO] [stderr] Compiling challenge-001 v0.1.0 (/opt/rustwide/workdir/programs/challenge-001) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.07s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/challenge_001-6c89bb5f6167f547) [INFO] running `Command { std: "docker" "inspect" "7093f27ed4cfe2188f260a730482b467c41a4cad79ef088e7d6b75f27c6e6259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7093f27ed4cfe2188f260a730482b467c41a4cad79ef088e7d6b75f27c6e6259", kill_on_drop: false }` [INFO] [stdout] 7093f27ed4cfe2188f260a730482b467c41a4cad79ef088e7d6b75f27c6e6259 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-78/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] fd630b281b8356dd72adc510f2997f935b05c8382e38cfc8e2cb4255bb7e8a9c [INFO] running `Command { std: "docker" "start" "-a" "fd630b281b8356dd72adc510f2997f935b05c8382e38cfc8e2cb4255bb7e8a9c", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/challenge_001-6c89bb5f6167f547) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests challenge_001 [INFO] [stderr] error[E0659]: `challenge_001` is ambiguous [INFO] [stderr] --> /opt/rustwide/workdir/programs/challenge-001/src/lib.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub mod challenge_001 { [INFO] [stderr] | ^^^^^^^^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple potential import sources [INFO] [stderr] = note: `challenge_001` could refer to a crate passed with `--extern` [INFO] [stderr] = help: use `::challenge_001` to refer to this crate unambiguously [INFO] [stderr] note: `challenge_001` could also refer to the module defined here [INFO] [stderr] --> /opt/rustwide/workdir/programs/challenge-001/src/lib.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / pub mod challenge_001 { [INFO] [stderr] 7 | | use super::*; [INFO] [stderr] 8 | | pub fn create_article(ctx: Context, title: String, content: String) -> ProgramResult { [INFO] [stderr] 9 | | let article = &mut ctx.accounts.article; [INFO] [stderr] ... | [INFO] [stderr] 28 | | } [INFO] [stderr] 29 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = help: use `crate::challenge_001` 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" "fd630b281b8356dd72adc510f2997f935b05c8382e38cfc8e2cb4255bb7e8a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd630b281b8356dd72adc510f2997f935b05c8382e38cfc8e2cb4255bb7e8a9c", kill_on_drop: false }` [INFO] [stdout] fd630b281b8356dd72adc510f2997f935b05c8382e38cfc8e2cb4255bb7e8a9c