[INFO] cloning repository https://github.com/kseniaChugunova/testContract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kseniaChugunova/testContract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkseniaChugunova%2FtestContract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkseniaChugunova%2FtestContract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0021cf4b57582f26cf2110a9f9b63a2e52845cdc [INFO] testing kseniaChugunova/testContract against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FkseniaChugunova%2FtestContract" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kseniaChugunova/testContract on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kseniaChugunova/testContract [INFO] finished tweaking git repo https://github.com/kseniaChugunova/testContract [INFO] tweaked toml for git repo https://github.com/kseniaChugunova/testContract written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/kseniaChugunova/testContract already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29e733e52df1b1d1f54972b668776ca7e1ea8960702ba98395eb5e74ee36f98f [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" "29e733e52df1b1d1f54972b668776ca7e1ea8960702ba98395eb5e74ee36f98f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29e733e52df1b1d1f54972b668776ca7e1ea8960702ba98395eb5e74ee36f98f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29e733e52df1b1d1f54972b668776ca7e1ea8960702ba98395eb5e74ee36f98f", kill_on_drop: false }` [INFO] [stdout] 29e733e52df1b1d1f54972b668776ca7e1ea8960702ba98395eb5e74ee36f98f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", 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] f9e7ae2fd51b6d8c7fa59316f21b5532bd26bbb6bd48222bc0bc05d94b08be4f [INFO] running `Command { std: "docker" "start" "-a" "f9e7ae2fd51b6d8c7fa59316f21b5532bd26bbb6bd48222bc0bc05d94b08be4f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling anyhow v1.0.45 [INFO] [stderr] Compiling serde_json v1.0.70 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling itoa v0.4.8 [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 autocfg v1.0.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.8.3 [INFO] [stderr] Compiling solana-frozen-abi v1.8.3 [INFO] [stderr] Compiling solana-program v1.8.3 [INFO] [stderr] Compiling blake3 v0.3.8 [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 solana-logger v1.8.3 [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 curve25519-dalek v2.1.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-schema-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.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling thiserror v1.0.30 [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 libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sha3 v0.9.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.2 [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-attribute-error v0.18.2 [INFO] [stderr] Compiling anchor-attribute-account v0.18.2 [INFO] [stderr] Compiling anchor-attribute-state v0.18.2 [INFO] [stderr] Compiling anchor-attribute-program 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-access-control v0.18.2 [INFO] [stderr] Compiling anchor-derive-accounts v0.18.2 [INFO] [stderr] Compiling anchor-lang v0.18.2 [INFO] [stderr] Compiling spl-token v3.2.0 [INFO] [stderr] Compiling spl-associated-token-account v1.0.3 [INFO] [stderr] Compiling anchor-spl v0.18.2 [INFO] [stderr] Compiling test_ctr v0.1.0 (/opt/rustwide/workdir/programs/test_ctr) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `Command { std: "docker" "inspect" "f9e7ae2fd51b6d8c7fa59316f21b5532bd26bbb6bd48222bc0bc05d94b08be4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9e7ae2fd51b6d8c7fa59316f21b5532bd26bbb6bd48222bc0bc05d94b08be4f", kill_on_drop: false }` [INFO] [stdout] f9e7ae2fd51b6d8c7fa59316f21b5532bd26bbb6bd48222bc0bc05d94b08be4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5ec9aec2abc5ddc43997d09b1be1a278c64a3f4d5f2fa5f873adbd5fa6b31f5 [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" "b5ec9aec2abc5ddc43997d09b1be1a278c64a3f4d5f2fa5f873adbd5fa6b31f5", kill_on_drop: false }` [INFO] [stderr] Compiling test_ctr v0.1.0 (/opt/rustwide/workdir/programs/test_ctr) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.15s [INFO] running `Command { std: "docker" "inspect" "b5ec9aec2abc5ddc43997d09b1be1a278c64a3f4d5f2fa5f873adbd5fa6b31f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5ec9aec2abc5ddc43997d09b1be1a278c64a3f4d5f2fa5f873adbd5fa6b31f5", kill_on_drop: false }` [INFO] [stdout] b5ec9aec2abc5ddc43997d09b1be1a278c64a3f4d5f2fa5f873adbd5fa6b31f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 154a65d552fbb04672ec2e2b86c9f9a02e27ab24645bf2dfd20be5b58dc07b14 [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" "154a65d552fbb04672ec2e2b86c9f9a02e27ab24645bf2dfd20be5b58dc07b14", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/test_ctr-c1f2e13204b7e9a2) [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests test_ctr [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] error[E0659]: `test_ctr` is ambiguous [INFO] [stderr] --> /opt/rustwide/workdir/programs/test_ctr/src/lib.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub mod test_ctr{ [INFO] [stderr] | ^^^^^^^^ ambiguous name [INFO] [stderr] | [INFO] [stderr] = note: ambiguous because of multiple potential import sources [INFO] [stderr] = note: `test_ctr` could refer to a crate passed with `--extern` [INFO] [stderr] = help: use `::test_ctr` to refer to this crate unambiguously [INFO] [stderr] note: `test_ctr` could also refer to the module defined here [INFO] [stderr] --> /opt/rustwide/workdir/programs/test_ctr/src/lib.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / pub mod test_ctr{ [INFO] [stderr] 10 | | use super::*; [INFO] [stderr] 11 | | [INFO] [stderr] 12 | | pub fn convert(ctx: Context, token_amount_a: u64) -> ProgramResult { [INFO] [stderr] ... | [INFO] [stderr] 47 | | } [INFO] [stderr] 48 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = help: use `crate::test_ctr` 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" "154a65d552fbb04672ec2e2b86c9f9a02e27ab24645bf2dfd20be5b58dc07b14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "154a65d552fbb04672ec2e2b86c9f9a02e27ab24645bf2dfd20be5b58dc07b14", kill_on_drop: false }` [INFO] [stdout] 154a65d552fbb04672ec2e2b86c9f9a02e27ab24645bf2dfd20be5b58dc07b14