[INFO] fetching crate hapi-near-connector 0.3.0...
[INFO] testing hapi-near-connector-0.3.0 against beta-2023-10-04 for beta-1.74-1
[INFO] extracting crate hapi-near-connector 0.3.0 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate hapi-near-connector 0.3.0 on toolchain beta-2023-10-04
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate hapi-near-connector 0.3.0
[INFO] finished tweaking crates.io crate hapi-near-connector 0.3.0
[INFO] tweaked toml for crates.io crate hapi-near-connector 0.3.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 405dc10172d4306ea40d205699e94531968a6409b476c01f94fa04ef786edd16
[INFO] running `Command { std: "docker" "start" "-a" "405dc10172d4306ea40d205699e94531968a6409b476c01f94fa04ef786edd16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "405dc10172d4306ea40d205699e94531968a6409b476c01f94fa04ef786edd16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "405dc10172d4306ea40d205699e94531968a6409b476c01f94fa04ef786edd16", kill_on_drop: false }`
[INFO] [stdout] 405dc10172d4306ea40d205699e94531968a6409b476c01f94fa04ef786edd16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 62e266f55cccb781e09f3a04e905d83e6ae6b39b386d96cbebacbd19623d1e98
[INFO] running `Command { std: "docker" "start" "-a" "62e266f55cccb781e09f3a04e905d83e6ae6b39b386d96cbebacbd19623d1e98", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling toml_datetime v0.6.3
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling radium v0.6.2
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling funty v1.1.0
[INFO] [stderr]    Compiling cpufeatures v0.2.9
[INFO] [stderr]    Compiling wyz v0.2.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]    Compiling rustc-hex v2.1.0
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling byte-slice-cast v1.2.2
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling signature v1.6.4
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling uint v0.9.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling ed25519 v1.5.3
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling bitvec v0.20.4
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling reed-solomon-erasure v4.0.2
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling schemars v0.8.15
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling semver v1.0.19
[INFO] [stderr]    Compiling wee_alloc v0.4.5
[INFO] [stderr]    Compiling bytesize v1.3.0
[INFO] [stderr]    Compiling keccak v0.1.4
[INFO] [stderr]    Compiling easy-ext v0.2.9
[INFO] [stderr]    Compiling fixed-hash v0.7.0
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling memory_units v0.4.0
[INFO] [stderr]    Compiling near-sys v0.2.0
[INFO] [stderr]    Compiling parity-secp256k1 v0.7.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling cipher v0.2.5
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling blake2 v0.9.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling c2-chacha v0.3.3
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling ripemd v0.1.3
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.49
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.3
[INFO] [stderr]    Compiling serde_derive_internals v0.26.0
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]    Compiling parity-scale-codec-derive v2.3.1
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling schemars_derive v0.8.15
[INFO] [stderr]    Compiling smart-default v0.6.0
[INFO] [stderr]    Compiling near-sdk-macros v4.1.1
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling thiserror v1.0.49
[INFO] [stderr]    Compiling strum v0.24.1
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling near-rpc-error-core v0.14.0
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]    Compiling parity-scale-codec v2.3.1
[INFO] [stderr]    Compiling ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling near-rpc-error-macro v0.14.0
[INFO] [stderr]    Compiling impl-codec v0.5.1
[INFO] [stderr]    Compiling primitive-types v0.10.1
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling borsh-derive v0.9.3
[INFO] [stderr]    Compiling borsh v0.9.3
[INFO] [stderr]    Compiling near-account-id v0.14.0
[INFO] [stderr]    Compiling zeropool-bn v0.5.11
[INFO] [stderr]    Compiling near-abi v0.3.0
[INFO] [stderr]    Compiling near-crypto v0.14.0
[INFO] [stderr]    Compiling near-primitives-core v0.14.0
[INFO] [stderr]    Compiling near-vm-errors v0.14.0
[INFO] [stderr]    Compiling near-primitives v0.14.0
[INFO] [stderr]    Compiling near-vm-logic v0.14.0
[INFO] [stderr]    Compiling near-sdk v4.1.1
[INFO] [stderr]    Compiling near-contract-standards v4.1.1
[INFO] [stderr]    Compiling hapi-near-connector v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 20.37s
[INFO] running `Command { std: "docker" "inspect" "62e266f55cccb781e09f3a04e905d83e6ae6b39b386d96cbebacbd19623d1e98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62e266f55cccb781e09f3a04e905d83e6ae6b39b386d96cbebacbd19623d1e98", kill_on_drop: false }`
[INFO] [stdout] 62e266f55cccb781e09f3a04e905d83e6ae6b39b386d96cbebacbd19623d1e98
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7fdf8fdc9d9eaf85bd1fdf7c75954ba7f88a314e51c29a015b2ce71830c0f17a
[INFO] running `Command { std: "docker" "start" "-a" "7fdf8fdc9d9eaf85bd1fdf7c75954ba7f88a314e51c29a015b2ce71830c0f17a", kill_on_drop: false }`
[INFO] [stderr]    Compiling hapi-near-connector v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.09s
[INFO] running `Command { std: "docker" "inspect" "7fdf8fdc9d9eaf85bd1fdf7c75954ba7f88a314e51c29a015b2ce71830c0f17a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7fdf8fdc9d9eaf85bd1fdf7c75954ba7f88a314e51c29a015b2ce71830c0f17a", kill_on_drop: false }`
[INFO] [stdout] 7fdf8fdc9d9eaf85bd1fdf7c75954ba7f88a314e51c29a015b2ce71830c0f17a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f8a92254c06e8f56b9e02d19e78df1ecca2f0e529875720e9861408eebfc7eb4
[INFO] running `Command { std: "docker" "start" "-a" "f8a92254c06e8f56b9e02d19e78df1ecca2f0e529875720e9861408eebfc7eb4", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hapi_near_connector-86e8aed16eea754f)
[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 hapi-near-connector
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/aml/aml_registrar.rs - aml::aml_registrar::AML::remove_category (line 171) ... FAILED
[INFO] [stdout] test src/aml/aml_registrar.rs - aml::aml_registrar::AML::update_category (line 146) ... FAILED
[INFO] [stdout] test src/aml/aml_registrar.rs - aml::aml_registrar::AML::update_account_id (line 124) ... FAILED
[INFO] [stdout] test src/aml/aml_registrar.rs - aml::aml_registrar::AML::get_aml_conditions (line 107) ... ok
[INFO] [stdout] test src/aml/aml_registrar.rs - aml::aml_registrar::AML::get_aml (line 84) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/aml/aml_registrar.rs - aml::aml_registrar::AML::remove_category (line 171) stdout ----
[INFO] [stdout] error[E0596]: cannot borrow `aml` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/aml/aml_registrar.rs:178:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | let aml: AML = AML::new(aml_account, MAX_RISK_LEVEL / 2);
[INFO] [stdout]    |     ^^^ not mutable
[INFO] [stdout] 11 |
[INFO] [stdout] 12 | aml.update_category(Category::Scam, 6);
[INFO] [stdout]    | --- cannot borrow as mutable
[INFO] [stdout] 13 | aml.remove_category(Category::Scam);
[INFO] [stdout]    | --- cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 | let mut aml: AML = AML::new(aml_account, MAX_RISK_LEVEL / 2);
[INFO] [stdout]    |     +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/aml/aml_registrar.rs - aml::aml_registrar::AML::update_category (line 146) stdout ----
[INFO] [stdout] error[E0596]: cannot borrow `aml` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/aml/aml_registrar.rs:155:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | aml.update_category(Category::Scam, 6);
[INFO] [stdout]    | ^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 | let mut aml: AML = AML::new(aml_account, MAX_RISK_LEVEL / 2);
[INFO] [stdout]    |     +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/aml/aml_registrar.rs - aml::aml_registrar::AML::update_account_id (line 124) stdout ----
[INFO] [stdout] error[E0596]: cannot borrow `aml` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> src/aml/aml_registrar.rs:134:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | aml.update_account_id(new_aml_account.clone());
[INFO] [stdout]    | ^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 10 | let mut aml: AML = AML::new(aml_account, MAX_RISK_LEVEL / 2);
[INFO] [stdout]    |     +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/aml/aml_registrar.rs - aml::aml_registrar::AML::remove_category (line 171)
[INFO] [stdout]     src/aml/aml_registrar.rs - aml::aml_registrar::AML::update_account_id (line 124)
[INFO] [stdout]     src/aml/aml_registrar.rs - aml::aml_registrar::AML::update_category (line 146)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.38s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "f8a92254c06e8f56b9e02d19e78df1ecca2f0e529875720e9861408eebfc7eb4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8a92254c06e8f56b9e02d19e78df1ecca2f0e529875720e9861408eebfc7eb4", kill_on_drop: false }`
[INFO] [stdout] f8a92254c06e8f56b9e02d19e78df1ecca2f0e529875720e9861408eebfc7eb4
