[INFO] cloning repository https://github.com/matterinc/Edcon2019_material [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matterinc/Edcon2019_material" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatterinc%2FEdcon2019_material", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatterinc%2FEdcon2019_material'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b26613ad545bf5319d76bd52a083e83c0db75280 [INFO] checking matterinc/Edcon2019_material against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatterinc%2FEdcon2019_material" "/workspace/builds/worker-35/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-35/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matterinc/Edcon2019_material 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 git repo https://github.com/matterinc/Edcon2019_material [INFO] finished tweaking git repo https://github.com/matterinc/Edcon2019_material [INFO] tweaked toml for git repo https://github.com/matterinc/Edcon2019_material written to /workspace/builds/worker-35/source/Cargo.toml [INFO] crate git repo https://github.com/matterinc/Edcon2019_material 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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] fd46558aaebdefefd5814d6bb1a0d7fda75db408e8531c6176e088f8d69da88e [INFO] running `Command { std: "docker" "start" "-a" "fd46558aaebdefefd5814d6bb1a0d7fda75db408e8531c6176e088f8d69da88e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd46558aaebdefefd5814d6bb1a0d7fda75db408e8531c6176e088f8d69da88e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd46558aaebdefefd5814d6bb1a0d7fda75db408e8531c6176e088f8d69da88e", kill_on_drop: false }` [INFO] [stdout] fd46558aaebdefefd5814d6bb1a0d7fda75db408e8531c6176e088f8d69da88e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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] 5812101bd877d6630442a577c680f3d4e24a9f6d3cb5c9a3588c1527d6833877 [INFO] running `Command { std: "docker" "start" "-a" "5812101bd877d6630442a577c680f3d4e24a9f6d3cb5c9a3588c1527d6833877", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [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] num-integer v0.1.39: default [INFO] [stderr] num-traits v0.2.6: default [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking bit-vec v0.4.4 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking arrayvec v0.4.10 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking tiny-keccak v1.4.2 [INFO] [stderr] Checking crossbeam-channel v0.3.8 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking blake2-rfc v0.2.18 (https://github.com/gtank/blake2-rfc?rev=7a5b5fc99ae483a0043db7547fb79a6fa44b88a9#7a5b5fc9) [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking crossbeam v0.7.1 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Checking serde_json v1.0.38 [INFO] [stderr] Compiling ff_derive v0.4.0 (https://github.com/matterinc/ff?tag=0.5#056a13b9) [INFO] [stderr] Checking ff v0.5.0 (https://github.com/matterinc/ff?tag=0.5#056a13b9) [INFO] [stderr] Checking pairing v0.16.2 (https://github.com/matterinc/pairing?tag=0.16.2#c2af46ca) [INFO] [stderr] Checking bellman v0.2.0 (https://github.com/matterinc/bellman?tag=0.2.0#6e45a4b2) [INFO] [stderr] Checking sapling-crypto v0.0.4 (https://github.com/matterinc/sapling-crypto?tag=0.0.4#6ac48e2f) [INFO] [stderr] Checking edcon_demo v0.0.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/circuit.rs (4 fixes) [INFO] [stderr] Fixed src/demo.rs (4 fixes) [INFO] [stdout] warning: unused import: `Rand` [INFO] [stdout] --> src/circuit.rs:335:47 [INFO] [stdout] | [INFO] [stdout] 335 | use rand::{SeedableRng, Rng, XorShiftRng, Rand}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PrimeOrder`, `edwards` [INFO] [stdout] --> src/circuit.rs:337:62 [INFO] [stdout] | [INFO] [stdout] 337 | use sapling_crypto::alt_babyjubjub::{AltJubjubBn256, fs, edwards, PrimeOrder}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generator` found for reference `&AltJubjubBn256` in the current scope [INFO] [stdout] --> src/circuit.rs:355:38 [INFO] [stdout] | [INFO] [stdout] 355 | let value_generator = params.generator(FixedGenerators::ValueCommitmentValue); [INFO] [stdout] | ^^^^^^^^^ method not found in `&AltJubjubBn256` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::circuit::sapling_crypto::jubjub::JubjubParams;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generator` found for reference `&AltJubjubBn256` in the current scope [INFO] [stdout] --> src/circuit.rs:356:41 [INFO] [stdout] | [INFO] [stdout] 356 | let blinding_generator = params.generator(FixedGenerators::ValueCommitmentRandomness); [INFO] [stdout] | ^^^^^^^^^ method not found in `&AltJubjubBn256` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::circuit::sapling_crypto::jubjub::JubjubParams;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_be` found for struct `circuit::bellman::pairing::bn256::FrRepr` in the current scope [INFO] [stdout] --> src/circuit.rs:392:14 [INFO] [stdout] | [INFO] [stdout] 392 | repr.read_be(&hash_result[..]).expect("pack hash as field element"); [INFO] [stdout] | ^^^^^^^ method not found in `circuit::bellman::pairing::bn256::FrRepr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/ff-e9eb27d970d4458c/056a13b/src/lib.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | fn read_be(&mut self, mut reader: R) -> io::Result<()> { [INFO] [stdout] | ------- the method is available for `circuit::bellman::pairing::bn256::FrRepr` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::circuit::bellman::pairing::ff::PrimeFieldRepr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `edcon_demo` due to 4 previous errors; 2 warnings emitted [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" "5812101bd877d6630442a577c680f3d4e24a9f6d3cb5c9a3588c1527d6833877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5812101bd877d6630442a577c680f3d4e24a9f6d3cb5c9a3588c1527d6833877", kill_on_drop: false }` [INFO] [stdout] 5812101bd877d6630442a577c680f3d4e24a9f6d3cb5c9a3588c1527d6833877