[INFO] cloning repository https://github.com/webdev522/anchor-error [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/webdev522/anchor-error" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebdev522%2Fanchor-error", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebdev522%2Fanchor-error'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3612d072f8f30e6601b127cd9087c1060751f618 [INFO] testing webdev522/anchor-error against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwebdev522%2Fanchor-error" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/webdev522/anchor-error on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/webdev522/anchor-error [INFO] finished tweaking git repo https://github.com/webdev522/anchor-error [INFO] tweaked toml for git repo https://github.com/webdev522/anchor-error written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/webdev522/anchor-error already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.50 [INFO] [stderr] Downloaded ryu v1.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9973d75d45fba22261b70038265f8c6afbe9a8eabc278f25f623d118d1301fe [INFO] running `Command { std: "docker" "start" "-a" "c9973d75d45fba22261b70038265f8c6afbe9a8eabc278f25f623d118d1301fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9973d75d45fba22261b70038265f8c6afbe9a8eabc278f25f623d118d1301fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9973d75d45fba22261b70038265f8c6afbe9a8eabc278f25f623d118d1301fe", kill_on_drop: false }` [INFO] [stdout] c9973d75d45fba22261b70038265f8c6afbe9a8eabc278f25f623d118d1301fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 008167425c54fc099d703c8d5d75ca601b1efae4f193ba1048d9accd065896dc [INFO] running `Command { std: "docker" "start" "-a" "008167425c54fc099d703c8d5d75ca601b1efae4f193ba1048d9accd065896dc", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling anyhow v1.0.50 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.8.5 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling solana-frozen-abi v1.8.5 [INFO] [stderr] Compiling solana-program v1.8.5 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling solana-logger v1.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [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.5 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling serde v1.0.130 [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 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 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-state v0.18.2 [INFO] [stderr] Compiling anchor-attribute-error v0.18.2 [INFO] [stderr] Compiling anchor-derive-accounts v0.18.2 [INFO] [stderr] Compiling anchor-attribute-event v0.18.2 [INFO] [stderr] Compiling anchor-attribute-interface v0.18.2 [INFO] [stderr] Compiling anchor-attribute-account v0.18.2 [INFO] [stderr] Compiling anchor-attribute-program v0.18.2 [INFO] [stderr] Compiling anchor-attribute-access-control v0.18.2 [INFO] [stderr] Compiling anchor-lang v0.18.2 [INFO] [stderr] Compiling error v0.1.0 (/opt/rustwide/workdir/programs/error) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/error/src/lib.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn hello(ctx: Context) -> Result<()> { [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 24.09s [INFO] running `Command { std: "docker" "inspect" "008167425c54fc099d703c8d5d75ca601b1efae4f193ba1048d9accd065896dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "008167425c54fc099d703c8d5d75ca601b1efae4f193ba1048d9accd065896dc", kill_on_drop: false }` [INFO] [stdout] 008167425c54fc099d703c8d5d75ca601b1efae4f193ba1048d9accd065896dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7edb25eb5670dca0b8ed7403fe9bd159b96df7c848855a96b0188d4d74b42ce7 [INFO] running `Command { std: "docker" "start" "-a" "7edb25eb5670dca0b8ed7403fe9bd159b96df7c848855a96b0188d4d74b42ce7", kill_on_drop: false }` [INFO] [stderr] Compiling error v0.1.0 (/opt/rustwide/workdir/programs/error) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> programs/error/src/lib.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn hello(ctx: Context) -> Result<()> { [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/error/src/lib.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn hello(ctx: Context) -> Result<()> { [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 1.22s [INFO] running `Command { std: "docker" "inspect" "7edb25eb5670dca0b8ed7403fe9bd159b96df7c848855a96b0188d4d74b42ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7edb25eb5670dca0b8ed7403fe9bd159b96df7c848855a96b0188d4d74b42ce7", kill_on_drop: false }` [INFO] [stdout] 7edb25eb5670dca0b8ed7403fe9bd159b96df7c848855a96b0188d4d74b42ce7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 09420eb4119d6a53957c5e3afb2debf4c5040a6a277757e1f2f0a43ef85df875 [INFO] running `Command { std: "docker" "start" "-a" "09420eb4119d6a53957c5e3afb2debf4c5040a6a277757e1f2f0a43ef85df875", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> programs/error/src/lib.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn hello(ctx: Context) -> Result<()> { [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: `error` (lib) generated 1 warning [INFO] [stderr] warning: `error` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/error-dc8e89bcf4cb017c) [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 error [INFO] [stderr] error[E0659]: `error` is ambiguous [INFO] [stderr] --> /opt/rustwide/workdir/programs/error/src/lib.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub mod error { [INFO] [stderr] | ^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple potential import sources [INFO] [stderr] = note: `error` could refer to a crate passed with `--extern` [INFO] [stderr] = help: use `::error` to refer to this crate unambiguously [INFO] [stderr] note: `error` could also refer to the module defined here [INFO] [stderr] --> /opt/rustwide/workdir/programs/error/src/lib.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | / pub mod error { [INFO] [stderr] 7 | | use super::*; [INFO] [stderr] 8 | | pub fn hello(ctx: Context) -> Result<()> { [INFO] [stderr] 9 | | Err(ErrorCode::Hello.into()) [INFO] [stderr] 10 | | } [INFO] [stderr] 11 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = help: use `crate::error` 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" "09420eb4119d6a53957c5e3afb2debf4c5040a6a277757e1f2f0a43ef85df875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09420eb4119d6a53957c5e3afb2debf4c5040a6a277757e1f2f0a43ef85df875", kill_on_drop: false }` [INFO] [stdout] 09420eb4119d6a53957c5e3afb2debf4c5040a6a277757e1f2f0a43ef85df875