[INFO] fetching crate aigc_pool 5.1.2... [INFO] testing aigc_pool-5.1.2 against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] extracting crate aigc_pool 5.1.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate aigc_pool 5.1.2 on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate aigc_pool 5.1.2 [INFO] finished tweaking crates.io crate aigc_pool 5.1.2 [INFO] tweaked toml for crates.io crate aigc_pool 5.1.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 191 packages to latest compatible versions [INFO] [stderr] Adding rand v0.6.5 (available: v0.8.5) [INFO] [stderr] Adding subtle v2.4.1 (available: v2.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ad6d70573dc921de939660cf5d429ad21351de04207772aaa61ee66b846304e [INFO] running `Command { std: "docker" "start" "-a" "6ad6d70573dc921de939660cf5d429ad21351de04207772aaa61ee66b846304e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ad6d70573dc921de939660cf5d429ad21351de04207772aaa61ee66b846304e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ad6d70573dc921de939660cf5d429ad21351de04207772aaa61ee66b846304e", kill_on_drop: false }` [INFO] [stdout] 6ad6d70573dc921de939660cf5d429ad21351de04207772aaa61ee66b846304e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4720b979d4a45630ec8f71a20fe55591a35df26da95f472b85e68987f5bd351 [INFO] running `Command { std: "docker" "start" "-a" "f4720b979d4a45630ec8f71a20fe55591a35df26da95f472b85e68987f5bd351", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.7.3 [INFO] [stderr] Compiling aigc_secp256k1zkp v0.7.12 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling odds v0.2.26 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling arrayvec v0.3.25 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling password-hash v0.2.3 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling serde-value v0.6.0 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling log4rs v0.12.0 [INFO] [stderr] Compiling aigc_util v5.1.2 [INFO] [stderr] Compiling aigc_keychain v5.1.2 [INFO] [stderr] Compiling croaring-sys v0.4.6 [INFO] [stderr] Compiling croaring v0.4.6 [INFO] [stderr] Compiling aigc_core v5.1.2 [INFO] [stderr] Compiling aigc_pool v5.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_PoolError` [INFO] [stdout] 209 | pub enum PoolError { [INFO] [stdout] | --------- `PoolError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_PoolError` [INFO] [stdout] 209 | pub enum PoolError { [INFO] [stdout] | --------- `PoolError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: aigc_secp256k1zkp v0.7.12, traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f4720b979d4a45630ec8f71a20fe55591a35df26da95f472b85e68987f5bd351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4720b979d4a45630ec8f71a20fe55591a35df26da95f472b85e68987f5bd351", kill_on_drop: false }` [INFO] [stdout] f4720b979d4a45630ec8f71a20fe55591a35df26da95f472b85e68987f5bd351 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 222ed7b72658531db80cf1fc8da2931036a5f056ef8d1ee0b4613a0150f5fc27 [INFO] running `Command { std: "docker" "start" "-a" "222ed7b72658531db80cf1fc8da2931036a5f056ef8d1ee0b4613a0150f5fc27", kill_on_drop: false }` [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling supercow v0.1.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling liblmdb-sys v0.2.2 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling lmdb-zero v0.4.4 [INFO] [stderr] Compiling croaring-sys v0.4.6 [INFO] [stderr] Compiling croaring v0.4.6 [INFO] [stderr] Compiling aigc_core v5.1.2 [INFO] [stderr] Compiling aigc_store v5.1.2 [INFO] [stderr] Compiling aigc_pool v5.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_PoolError` [INFO] [stdout] 209 | pub enum PoolError { [INFO] [stdout] | --------- `PoolError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_PoolError` [INFO] [stdout] 209 | pub enum PoolError { [INFO] [stdout] | --------- `PoolError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aigc_chain v5.1.2 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_PoolError` [INFO] [stdout] 209 | pub enum PoolError { [INFO] [stdout] | --------- `PoolError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/types.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_PoolError` [INFO] [stdout] 209 | pub enum PoolError { [INFO] [stdout] | --------- `PoolError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 35.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: aigc_secp256k1zkp v0.7.12, traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "222ed7b72658531db80cf1fc8da2931036a5f056ef8d1ee0b4613a0150f5fc27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "222ed7b72658531db80cf1fc8da2931036a5f056ef8d1ee0b4613a0150f5fc27", kill_on_drop: false }` [INFO] [stdout] 222ed7b72658531db80cf1fc8da2931036a5f056ef8d1ee0b4613a0150f5fc27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6cc85b3d26fbc39fdcf02bcfe1a556e219fe0ccf9c919d13f8c5c73705f83553 [INFO] running `Command { std: "docker" "start" "-a" "6cc85b3d26fbc39fdcf02bcfe1a556e219fe0ccf9c919d13f8c5c73705f83553", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types.rs:208:17 [INFO] [stderr] | [INFO] [stderr] 208 | #[derive(Debug, Fail, PartialEq)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_PoolError` [INFO] [stderr] 209 | pub enum PoolError { [INFO] [stderr] | --------- `PoolError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/types.rs:208:17 [INFO] [stderr] | [INFO] [stderr] 208 | #[derive(Debug, Fail, PartialEq)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_PoolError` [INFO] [stderr] 209 | pub enum PoolError { [INFO] [stderr] | --------- `PoolError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `aigc_pool` (lib) generated 2 warnings [INFO] [stderr] warning: `aigc_pool` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: aigc_secp256k1zkp v0.7.12, traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aigc_pool-a9e58de896083863) [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 tests/block_building.rs (/opt/rustwide/target/debug/deps/block_building-44f3276c4690d705) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] 2024-12-20T04:59:33.829902055+00:00 INFO aigc_util::logger - log4rs is initialized, stdout level: Debug, min. level: Debug [INFO] [stdout] cleaning output dir failed - Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stderr] thread 'test_transaction_pool_block_building' panicked at library/core/src/panicking.rs:218:5: [INFO] [stderr] unsafe precondition(s) violated: slice::get_unchecked_mut requires that the index is within the slice [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x578eb5ded8ea - std::backtrace_rs::backtrace::libunwind::trace::h3dab7ffe210583a3 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stderr] 1: 0x578eb5ded8ea - std::backtrace_rs::backtrace::trace_unsynchronized::h85ec3139dd4f9047 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x578eb5ded8ea - std::sys::backtrace::_print_fmt::h3447259688950eab [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x578eb5ded8ea - ::fmt::ha8d24a0f27cc401d [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x578eb5e16683 - core::fmt::rt::Argument::fmt::h650b92642f481125 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/fmt/rt.rs:177:76 [INFO] [stderr] 5: 0x578eb5e16683 - core::fmt::write::h5becf96591c394eb [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/fmt/mod.rs:1437:21 [INFO] [stderr] 6: 0x578eb5de9de3 - std::io::Write::write_fmt::h29c491e9f261d923 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/io/mod.rs:1887:15 [INFO] [stderr] 7: 0x578eb5ded732 - std::sys::backtrace::BacktraceLock::print::hae1dc20f39b0ae80 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 8: 0x578eb5deed6e - std::panicking::default_hook::{{closure}}::hb3023fc9edf847a9 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:284:22 [INFO] [stderr] 9: 0x578eb5deebb3 - std::panicking::default_hook::h271aee2d85880663 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:311:9 [INFO] [stderr] 10: 0x578eb59fb548 - as core::ops::function::Fn>::call::hbfe4f2a7834d388d [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/alloc/src/boxed.rs:1984:9 [INFO] [stderr] 11: 0x578eb59fb548 - test::test_main::{{closure}}::hbb7d4fde4185abc5 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:134:21 [INFO] [stderr] 12: 0x578eb5def588 - as core::ops::function::Fn>::call::hd4cbe0a9e8955cde [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/alloc/src/boxed.rs:1984:9 [INFO] [stderr] 13: 0x578eb5def588 - std::panicking::rust_panic_with_hook::he05f4a167c1908ac [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:825:13 [INFO] [stderr] 14: 0x578eb5def206 - std::panicking::begin_panic_handler::{{closure}}::h79780775730ab9df [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:683:13 [INFO] [stderr] 15: 0x578eb5deddb9 - std::sys::backtrace::__rust_end_short_backtrace::h753217146a30d8a2 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 16: 0x578eb5deeecd - rust_begin_unwind [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:681:5 [INFO] [stderr] 17: 0x578eb5e1449d - core::panicking::panic_nounwind_fmt::runtime::h4549f1221a838d3c [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/panicking.rs:117:22 [INFO] [stderr] 18: 0x578eb5e1449d - core::panicking::panic_nounwind_fmt::hee746ede064b4c8e [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/intrinsics/mod.rs:3840:9 [INFO] [stderr] 19: 0x578eb5e14532 - core::panicking::panic_nounwind::h636d323a073e8fbc [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/panicking.rs:218:5 [INFO] [stderr] 20: 0x578eb5b62178 - >::get_unchecked_mut::precondition_check::h81aad1d622eda723 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/ub_checks.rs:68:21 [INFO] [stderr] 21: 0x578eb5b62131 - >::get_unchecked_mut::h8ceb26776f09f4e3 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/ub_checks.rs:75:17 [INFO] [stderr] 22: 0x578eb5b69b39 - core::slice::::get_unchecked_mut::h87029a4e4ab0fdc0 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/slice/mod.rs:707:24 [INFO] [stderr] 23: 0x578eb5b6248b - arrayvec::ArrayVec::pop::hfdad5a1fc946d48a [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arrayvec-0.3.25/src/lib.rs:256:28 [INFO] [stderr] 24: 0x578eb5b624c7 - arrayvec::ArrayVec::clear::hf8a5e7104a6efbc8 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arrayvec-0.3.25/src/lib.rs:309:29 [INFO] [stderr] 25: 0x578eb5b61e5b - as core::ops::drop::Drop>::drop::h1b4e882c564f833e [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arrayvec-0.3.25/src/lib.rs:93:9 [INFO] [stderr] 26: 0x578eb5b5f047 - core::ptr::drop_in_place>::h09becf2a25a1d3a3 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/ptr/mod.rs:522:1 [INFO] [stderr] 27: 0x578eb5992936 - aigc_core::libtx::proof::ProofBuilder::new::h1c388f6483b31eb0 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/aigc_core-5.1.2/src/libtx/proof.rs:157:2 [INFO] [stderr] 28: 0x578eb59934ee - block_building::common::genesis_block::hdada71da5dc9529a [INFO] [stderr] at /opt/rustwide/workdir/tests/common.rs:46:41 [INFO] [stderr] 29: 0x578eb59a8f71 - block_building::test_transaction_pool_block_building::hed97e7a29134f2d4 [INFO] [stderr] at /opt/rustwide/workdir/tests/block_building.rs:38:16 [INFO] [stderr] 30: 0x578eb59a8d5d - block_building::test_transaction_pool_block_building::{{closure}}::h988f3e11f982d599 [INFO] [stderr] at /opt/rustwide/workdir/tests/block_building.rs:29:46 [INFO] [stderr] 31: 0x578eb599b166 - core::ops::function::FnOnce::call_once::h08d33ba795b5f593 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 32: 0x578eb5a0018b - core::ops::function::FnOnce::call_once::h651e3187cb632f8b [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 33: 0x578eb5a0018b - test::__rust_begin_short_backtrace::hf087c08482082584 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:632:18 [INFO] [stderr] 34: 0x578eb59ffa99 - test::run_test_in_process::{{closure}}::h028b11125eb38b18 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:655:60 [INFO] [stderr] 35: 0x578eb59ffa99 - as core::ops::function::FnOnce<()>>::call_once::h8a69fc59e5c0ffcd [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 36: 0x578eb59ffa99 - std::panicking::try::do_call::h53d2549af1773521 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:573:40 [INFO] [stderr] 37: 0x578eb59ffa99 - std::panicking::try::h327579c208c8ae37 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:536:19 [INFO] [stderr] 38: 0x578eb59ffa99 - std::panic::catch_unwind::hae7e4a4da155a27e [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panic.rs:358:14 [INFO] [stderr] 39: 0x578eb59ffa99 - test::run_test_in_process::hef0a7b0ac1ee3437 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:655:27 [INFO] [stderr] 40: 0x578eb59ffa99 - test::run_test::{{closure}}::h007633ec4ae045b1 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:576:43 [INFO] [stderr] 41: 0x578eb59c280a - test::run_test::{{closure}}::hf3a8c9852b545b46 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/test/src/lib.rs:606:41 [INFO] [stderr] 42: 0x578eb59c280a - std::sys::backtrace::__rust_begin_short_backtrace::ha442d5d7942f6ee9 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/backtrace.rs:152:18 [INFO] [stderr] 43: 0x578eb59c6276 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc8fd461cdc84b676 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/thread/mod.rs:561:17 [INFO] [stderr] 44: 0x578eb59c6276 - as core::ops::function::FnOnce<()>>::call_once::h5a459cc955f063ed [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 45: 0x578eb59c6276 - std::panicking::try::do_call::hc249aed3a6c9c972 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:573:40 [INFO] [stderr] 46: 0x578eb59c6276 - std::panicking::try::h649add41232b7ab3 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panicking.rs:536:19 [INFO] [stderr] 47: 0x578eb59c6276 - std::panic::catch_unwind::h2fd522623ccd57b0 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/panic.rs:358:14 [INFO] [stderr] 48: 0x578eb59c6276 - std::thread::Builder::spawn_unchecked_::{{closure}}::h685de412d0d20b6b [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/thread/mod.rs:559:30 [INFO] [stderr] 49: 0x578eb59c6276 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hf3391e711cf5434d [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 50: 0x578eb5df427b - as core::ops::function::FnOnce>::call_once::hc98bb0f9729b604d [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/alloc/src/boxed.rs:1970:9 [INFO] [stderr] 51: 0x578eb5df427b - as core::ops::function::FnOnce>::call_once::h3b479d8e9f1fef9f [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/alloc/src/boxed.rs:1970:9 [INFO] [stderr] 52: 0x578eb5df427b - std::sys::pal::unix::thread::Thread::new::thread_start::he3d5da9652362070 [INFO] [stderr] at /rustc/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stderr] 53: 0x7224b131eac3 - [INFO] [stderr] 54: 0x7224b13afa04 - clone [INFO] [stderr] 55: 0x0 - [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] error: test failed, to rerun pass `--test block_building` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/block_building-44f3276c4690d705` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "6cc85b3d26fbc39fdcf02bcfe1a556e219fe0ccf9c919d13f8c5c73705f83553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cc85b3d26fbc39fdcf02bcfe1a556e219fe0ccf9c919d13f8c5c73705f83553", kill_on_drop: false }` [INFO] [stdout] 6cc85b3d26fbc39fdcf02bcfe1a556e219fe0ccf9c919d13f8c5c73705f83553