[INFO] fetching crate sn_dbc 2.4.2... [INFO] checking sn_dbc-2.4.2 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate sn_dbc 2.4.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate sn_dbc 2.4.2 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sn_dbc 2.4.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate sn_dbc 2.4.2 [INFO] tweaked toml for crates.io crate sn_dbc 2.4.2 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate sn_dbc 2.4.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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 block-modes v0.8.1 [INFO] [stderr] Downloaded xor_name v2.0.0 [INFO] [stderr] Downloaded blsttc v2.4.0 [INFO] [stderr] Downloaded error-code v2.3.0 [INFO] [stderr] Downloaded clipboard-win v4.2.1 [INFO] [stderr] Downloaded rustyline v8.2.0 [INFO] [stderr] Downloaded nix v0.20.1 [INFO] [stderr] Downloaded blst v0.3.4 [INFO] [stderr] Downloaded bls_dkg v0.6.0 [INFO] [stderr] Downloaded bulletproofs v4.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d1ec74c2bbef0b1a362d36e505363c7280dcfb56e7c4b38c31d7d0e49627687 [INFO] running `Command { std: "docker" "start" "-a" "0d1ec74c2bbef0b1a362d36e505363c7280dcfb56e7c4b38c31d7d0e49627687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d1ec74c2bbef0b1a362d36e505363c7280dcfb56e7c4b38c31d7d0e49627687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d1ec74c2bbef0b1a362d36e505363c7280dcfb56e7c4b38c31d7d0e49627687", kill_on_drop: false }` [INFO] [stdout] 0d1ec74c2bbef0b1a362d36e505363c7280dcfb56e7c4b38c31d7d0e49627687 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35a3c6f5f95deab3bf6d10da98dcb88b424ba4fbbfa94192b1117d53a0f5997c [INFO] running `Command { std: "docker" "start" "-a" "35a3c6f5f95deab3bf6d10da98dcb88b424ba4fbbfa94192b1117d53a0f5997c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] itoa v0.4.7: default, std [INFO] [stderr] libc v0.2.99: extra_traits [INFO] [stderr] [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking subtle-ng v2.4.1 [INFO] [stderr] Checking hex_fmt v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling blst v0.3.4 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking nix v0.20.1 [INFO] [stderr] Checking fd-lock v2.0.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rayon v1.5.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Checking rustyline v8.2.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling ff_derive v0.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking ff v0.6.0 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking group v0.6.0 [INFO] [stderr] Checking pairing v0.16.0 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking curve25519-dalek-ng v4.0.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking blsttc v2.4.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking xor_name v1.3.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking bulletproofs v4.0.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Checking sn_dbc v2.4.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/mint-repl/mint-repl.rs from 2018 edition to 2021 [INFO] [stdout] error[E0432]: unresolved import `crate::DbcHelper` [INFO] [stdout] --> src/dbc.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | Amount, DbcHelper, KeyManager, Mint, ReissueRequest, SimpleKeyManager, SimpleSigner, [INFO] [stdout] | ^^^^^^^^^ no `DbcHelper` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::DbcHelper` [INFO] [stdout] --> src/mint.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | DbcHelper, SimpleKeyManager, SimpleSigner, [INFO] [stdout] | ^^^^^^^^^ no `DbcHelper` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bls_dkg` [INFO] [stdout] --> src/dbc.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | dbc_owner: &bls_dkg::outcome::Outcome, [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `bls_dkg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/dbc.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | crate::bls_dkg_id().public_key_set.public_key(), [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/dbc.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | let id = crate::bls_dkg_id(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/dbc.rs:163:36 [INFO] [stdout] | [INFO] [stdout] 163 | let genesis_owner = crate::bls_dkg_id(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/dbc.rs:188:34 [INFO] [stdout] | [INFO] [stdout] 188 | let input_owner = crate::bls_dkg_id(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/dbc.rs:233:31 [INFO] [stdout] | [INFO] [stdout] 233 | owner: crate::bls_dkg_id().public_key_set.public_key(), [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/dbc.rs:288:20 [INFO] [stdout] | [INFO] [stdout] 288 | crate::bls_dkg_id().public_key_set.public_key(), [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/dbc.rs:312:33 [INFO] [stdout] | [INFO] [stdout] 312 | let id = crate::bls_dkg_id(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/dbc.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | let id = crate::bls_dkg_id(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/mint.rs:365:36 [INFO] [stdout] | [INFO] [stdout] 365 | let genesis_owner = crate::bls_dkg_id(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/mint.rs:406:36 [INFO] [stdout] | [INFO] [stdout] 406 | let genesis_owner = crate::bls_dkg_id(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/mint.rs:429:35 [INFO] [stdout] | [INFO] [stdout] 429 | let output_owner = crate::bls_dkg_id(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/mint.rs:517:36 [INFO] [stdout] | [INFO] [stdout] 517 | let genesis_owner = crate::bls_dkg_id(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/mint.rs:540:35 [INFO] [stdout] | [INFO] [stdout] 540 | let output_owner = crate::bls_dkg_id(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/mint.rs:635:36 [INFO] [stdout] | [INFO] [stdout] 635 | let genesis_owner = crate::bls_dkg_id(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/mint.rs:666:32 [INFO] [stdout] | [INFO] [stdout] 666 | let owner = crate::bls_dkg_id(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/mint.rs:738:36 [INFO] [stdout] | [INFO] [stdout] 738 | let outputs_owner = crate::bls_dkg_id(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/mint.rs:783:43 [INFO] [stdout] | [INFO] [stdout] 783 | let random_owner = crate::bls_dkg_id(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/mint.rs:923:36 [INFO] [stdout] | [INFO] [stdout] 923 | let genesis_owner = crate::bls_dkg_id(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/mint.rs:930:34 [INFO] [stdout] | [INFO] [stdout] 930 | let input_owner = crate::bls_dkg_id(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/mint.rs:953:32 [INFO] [stdout] | [INFO] [stdout] 953 | crate::bls_dkg_id().public_key_set.public_key(), [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/mint.rs:991:36 [INFO] [stdout] | [INFO] [stdout] 991 | let genesis_owner = crate::bls_dkg_id(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bls_dkg_id` in the crate root [INFO] [stdout] --> src/mint.rs:1016:36 [INFO] [stdout] | [INFO] [stdout] 1016 | let outputs_owner = crate::bls_dkg_id(); [INFO] [stdout] | ^^^^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `secret_key_share` on type `&&_` [INFO] [stdout] --> src/mint.rs:772:39 [INFO] [stdout] | [INFO] [stdout] 772 | let sig_share = owner.secret_key_share.sign(&reissue_tx.blinded().hash()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sn_dbc` due to 27 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "35a3c6f5f95deab3bf6d10da98dcb88b424ba4fbbfa94192b1117d53a0f5997c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35a3c6f5f95deab3bf6d10da98dcb88b424ba4fbbfa94192b1117d53a0f5997c", kill_on_drop: false }` [INFO] [stdout] 35a3c6f5f95deab3bf6d10da98dcb88b424ba4fbbfa94192b1117d53a0f5997c