[INFO] fetching crate leo-ast 3.1.0... [INFO] testing leo-ast-3.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate leo-ast 3.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate leo-ast 3.1.0 [INFO] finished tweaking crates.io crate leo-ast 3.1.0 [INFO] tweaked toml for crates.io crate leo-ast 3.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate leo-ast 3.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate leo-ast 3.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 483a9d29c5c5276b20fe61fd77d9502eb6edf68de63e44d11baa1e4f23ec4f8a [INFO] running `Command { std: "docker" "start" "-a" "483a9d29c5c5276b20fe61fd77d9502eb6edf68de63e44d11baa1e4f23ec4f8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "483a9d29c5c5276b20fe61fd77d9502eb6edf68de63e44d11baa1e4f23ec4f8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "483a9d29c5c5276b20fe61fd77d9502eb6edf68de63e44d11baa1e4f23ec4f8a", kill_on_drop: false }` [INFO] [stdout] 483a9d29c5c5276b20fe61fd77d9502eb6edf68de63e44d11baa1e4f23ec4f8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46325b99226e229690b0d530c47720e213821abf6190ace6f9696effc6fb96fb [INFO] running `Command { std: "docker" "start" "-a" "46325b99226e229690b0d530c47720e213821abf6190ace6f9696effc6fb96fb", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling aleo-std-timer v1.0.1 [INFO] [stderr] Compiling aleo-std-profiler v1.0.1 [INFO] [stderr] Compiling aleo-std-cpu v1.0.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling curl v0.4.48 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling blake2s_simd v1.0.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling snarkvm-circuit-environment-witness v4.1.0 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling enum_index_derive v0.2.0 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling enum_index v0.2.0 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling aleo-std v1.0.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling ureq-proto v0.4.2 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling self_update v0.42.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling clap_builder v4.5.42 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling curl-sys v0.4.82+curl-8.14.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling color-backtrace v0.6.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling aleo-std-storage v1.0.1 [INFO] [stderr] Compiling self-replace v1.5.0 [INFO] [stderr] Compiling aleo-std-time v1.0.1 [INFO] [stderr] Compiling aleo-std-timed v1.0.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling snarkvm-utilities-derives v4.1.0 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling enum-iterator v2.1.0 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.3 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.42 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling leo-span v3.1.0 [INFO] [stderr] Compiling snarkvm-utilities v4.1.0 [INFO] [stderr] Compiling ureq v3.0.12 [INFO] [stderr] Compiling leo-errors v3.1.0 [INFO] [stderr] Compiling snarkvm-fields v4.1.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling snarkvm-curves v4.1.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling snarkvm-console-network-environment v4.1.0 [INFO] [stderr] Compiling snarkvm-parameters v4.1.0 [INFO] [stderr] Compiling snarkvm-console-types-boolean v4.1.0 [INFO] [stderr] Compiling snarkvm-console-types-field v4.1.0 [INFO] [stderr] Compiling snarkvm-console-types-scalar v4.1.0 [INFO] [stderr] Compiling snarkvm-console-types-integers v4.1.0 [INFO] [stderr] Compiling snarkvm-console-types-group v4.1.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling snarkvm-console-types-string v4.1.0 [INFO] [stderr] Compiling snarkvm-console-types-address v4.1.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling snarkvm-console-types v4.1.0 [INFO] [stderr] Compiling snarkvm-console-algorithms v4.1.0 [INFO] [stderr] Compiling snarkvm-console-collections v4.1.0 [INFO] [stderr] Compiling snarkvm-algorithms v4.1.0 [INFO] [stderr] Compiling snarkvm-console-network v4.1.0 [INFO] [stderr] Compiling snarkvm-circuit-environment v4.1.0 [INFO] [stderr] Compiling snarkvm-console-account v4.1.0 [INFO] [stderr] Compiling snarkvm-console-program v4.1.0 [INFO] [stderr] Compiling snarkvm-circuit-types-boolean v4.1.0 [INFO] [stderr] Compiling snarkvm-circuit-types-field v4.1.0 [INFO] [stderr] Compiling snarkvm-circuit-types-scalar v4.1.0 [INFO] [stderr] Compiling snarkvm-circuit-types-group v4.1.0 [INFO] [stderr] Compiling snarkvm-circuit-types-integers v4.1.0 [INFO] [stderr] Compiling snarkvm-circuit-types-address v4.1.0 [INFO] [stderr] Compiling snarkvm-circuit-types-string v4.1.0 [INFO] [stderr] Compiling snarkvm-circuit-types v4.1.0 [INFO] [stderr] Compiling snarkvm-circuit-algorithms v4.1.0 [INFO] [stderr] Compiling snarkvm-circuit-collections v4.1.0 [INFO] [stderr] Compiling snarkvm-console v4.1.0 [INFO] [stderr] Compiling snarkvm-ledger-puzzle v4.1.0 [INFO] [stderr] Compiling snarkvm-ledger-narwhal-data v4.1.0 [INFO] [stderr] Compiling snarkvm-circuit-network v4.1.0 [INFO] [stderr] Compiling snarkvm-ledger-narwhal-transmission-id v4.1.0 [INFO] [stderr] Compiling snarkvm-ledger-narwhal-batch-header v4.1.0 [INFO] [stderr] Compiling snarkvm-ledger-committee v4.1.0 [INFO] [stderr] Compiling snarkvm-ledger-narwhal-batch-certificate v4.1.0 [INFO] [stderr] Compiling snarkvm-ledger-narwhal-subdag v4.1.0 [INFO] [stderr] Compiling snarkvm-ledger-authority v4.1.0 [INFO] [stderr] Compiling snarkvm-circuit-account v4.1.0 [INFO] [stderr] Compiling snarkvm-circuit-program v4.1.0 [INFO] [stderr] Compiling snarkvm-circuit v4.1.0 [INFO] [stderr] Compiling snarkvm-synthesizer-snark v4.1.0 [INFO] [stderr] Compiling snarkvm-synthesizer-program v4.1.0 [INFO] [stderr] Compiling snarkvm-ledger-block v4.1.0 [INFO] [stderr] Compiling snarkvm-ledger-store v4.1.0 [INFO] [stderr] Compiling snarkvm-ledger-narwhal-transmission v4.1.0 [INFO] [stderr] Compiling snarkvm-ledger-narwhal v4.1.0 [INFO] [stderr] Compiling snarkvm-ledger-query v4.1.0 [INFO] [stderr] Compiling snarkvm-synthesizer-process v4.1.0 [INFO] [stderr] Compiling snarkvm-ledger-puzzle-epoch v4.1.0 [INFO] [stderr] Compiling snarkvm-synthesizer v4.1.0 [INFO] [stderr] Compiling snarkvm-ledger v4.1.0 [INFO] [stderr] Compiling snarkvm v4.1.0 [INFO] [stderr] Compiling leo-ast v3.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/passes/visitor.rs:328:47 [INFO] [stdout] | [INFO] [stdout] 328 | input.consts.iter().for_each(|(_, c)| (self.visit_const(c))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 328 - input.consts.iter().for_each(|(_, c)| (self.visit_const(c))); [INFO] [stdout] 328 + input.consts.iter().for_each(|(_, c)| self.visit_const(c)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/passes/visitor.rs:329:48 [INFO] [stdout] | [INFO] [stdout] 329 | input.structs.iter().for_each(|(_, c)| (self.visit_struct(c))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 329 - input.structs.iter().for_each(|(_, c)| (self.visit_struct(c))); [INFO] [stdout] 329 + input.structs.iter().for_each(|(_, c)| self.visit_struct(c)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/passes/visitor.rs:330:49 [INFO] [stdout] | [INFO] [stdout] 330 | input.mappings.iter().for_each(|(_, c)| (self.visit_mapping(c))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 330 - input.mappings.iter().for_each(|(_, c)| (self.visit_mapping(c))); [INFO] [stdout] 330 + input.mappings.iter().for_each(|(_, c)| self.visit_mapping(c)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/passes/visitor.rs:331:50 [INFO] [stdout] | [INFO] [stdout] 331 | input.functions.iter().for_each(|(_, c)| (self.visit_function(c))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 331 - input.functions.iter().for_each(|(_, c)| (self.visit_function(c))); [INFO] [stdout] 331 + input.functions.iter().for_each(|(_, c)| self.visit_function(c)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 09s [INFO] running `Command { std: "docker" "inspect" "46325b99226e229690b0d530c47720e213821abf6190ace6f9696effc6fb96fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46325b99226e229690b0d530c47720e213821abf6190ace6f9696effc6fb96fb", kill_on_drop: false }` [INFO] [stdout] 46325b99226e229690b0d530c47720e213821abf6190ace6f9696effc6fb96fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ffc7691a7795c4848b45e5a3a045921e698624c98b97d43a4e3291e57779bb8 [INFO] running `Command { std: "docker" "start" "-a" "1ffc7691a7795c4848b45e5a3a045921e698624c98b97d43a4e3291e57779bb8", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/passes/visitor.rs:328:47 [INFO] [stdout] | [INFO] [stdout] 328 | input.consts.iter().for_each(|(_, c)| (self.visit_const(c))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 328 - input.consts.iter().for_each(|(_, c)| (self.visit_const(c))); [INFO] [stdout] 328 + input.consts.iter().for_each(|(_, c)| self.visit_const(c)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/passes/visitor.rs:329:48 [INFO] [stdout] | [INFO] [stdout] 329 | input.structs.iter().for_each(|(_, c)| (self.visit_struct(c))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 329 - input.structs.iter().for_each(|(_, c)| (self.visit_struct(c))); [INFO] [stdout] 329 + input.structs.iter().for_each(|(_, c)| self.visit_struct(c)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling leo-ast v3.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/passes/visitor.rs:330:49 [INFO] [stdout] | [INFO] [stdout] 330 | input.mappings.iter().for_each(|(_, c)| (self.visit_mapping(c))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 330 - input.mappings.iter().for_each(|(_, c)| (self.visit_mapping(c))); [INFO] [stdout] 330 + input.mappings.iter().for_each(|(_, c)| self.visit_mapping(c)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/passes/visitor.rs:331:50 [INFO] [stdout] | [INFO] [stdout] 331 | input.functions.iter().for_each(|(_, c)| (self.visit_function(c))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 331 - input.functions.iter().for_each(|(_, c)| (self.visit_function(c))); [INFO] [stdout] 331 + input.functions.iter().for_each(|(_, c)| self.visit_function(c)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/passes/visitor.rs:328:47 [INFO] [stdout] | [INFO] [stdout] 328 | input.consts.iter().for_each(|(_, c)| (self.visit_const(c))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 328 - input.consts.iter().for_each(|(_, c)| (self.visit_const(c))); [INFO] [stdout] 328 + input.consts.iter().for_each(|(_, c)| self.visit_const(c)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/passes/visitor.rs:329:48 [INFO] [stdout] | [INFO] [stdout] 329 | input.structs.iter().for_each(|(_, c)| (self.visit_struct(c))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 329 - input.structs.iter().for_each(|(_, c)| (self.visit_struct(c))); [INFO] [stdout] 329 + input.structs.iter().for_each(|(_, c)| self.visit_struct(c)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/passes/visitor.rs:330:49 [INFO] [stdout] | [INFO] [stdout] 330 | input.mappings.iter().for_each(|(_, c)| (self.visit_mapping(c))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 330 - input.mappings.iter().for_each(|(_, c)| (self.visit_mapping(c))); [INFO] [stdout] 330 + input.mappings.iter().for_each(|(_, c)| self.visit_mapping(c)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/passes/visitor.rs:331:50 [INFO] [stdout] | [INFO] [stdout] 331 | input.functions.iter().for_each(|(_, c)| (self.visit_function(c))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 331 - input.functions.iter().for_each(|(_, c)| (self.visit_function(c))); [INFO] [stdout] 331 + input.functions.iter().for_each(|(_, c)| self.visit_function(c)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.33s [INFO] running `Command { std: "docker" "inspect" "1ffc7691a7795c4848b45e5a3a045921e698624c98b97d43a4e3291e57779bb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ffc7691a7795c4848b45e5a3a045921e698624c98b97d43a4e3291e57779bb8", kill_on_drop: false }` [INFO] [stdout] 1ffc7691a7795c4848b45e5a3a045921e698624c98b97d43a4e3291e57779bb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3d1f56a19e7baeddf475e7f2e32ed826e72161e1a92d607c680cdc34b64357a5 [INFO] running `Command { std: "docker" "start" "-a" "3d1f56a19e7baeddf475e7f2e32ed826e72161e1a92d607c680cdc34b64357a5", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stdout] [INFO] [stderr] --> src/passes/visitor.rs:328:47 [INFO] [stdout] running 4 tests [INFO] [stderr] | [INFO] [stdout] test common::graph::test::test_post_order ... ok [INFO] [stderr] 328 | input.consts.iter().for_each(|(_, c)| (self.visit_const(c))); [INFO] [stdout] test common::graph::test::test_retain_nodes ... ok [INFO] [stderr] | ^ ^ [INFO] [stdout] test common::graph::test::test_cycle ... ok [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 328 - input.consts.iter().for_each(|(_, c)| (self.visit_const(c))); [INFO] [stderr] 328 + input.consts.iter().for_each(|(_, c)| self.visit_const(c)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/passes/visitor.rs:329:48 [INFO] [stderr] | [INFO] [stderr] 329 | input.structs.iter().for_each(|(_, c)| (self.visit_struct(c))); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 329 - input.structs.iter().for_each(|(_, c)| (self.visit_struct(c))); [INFO] [stderr] 329 + input.structs.iter().for_each(|(_, c)| self.visit_struct(c)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/passes/visitor.rs:330:49 [INFO] [stderr] | [INFO] [stderr] 330 | input.mappings.iter().for_each(|(_, c)| (self.visit_mapping(c))); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 330 - input.mappings.iter().for_each(|(_, c)| (self.visit_mapping(c))); [INFO] [stderr] 330 + input.mappings.iter().for_each(|(_, c)| self.visit_mapping(c)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/passes/visitor.rs:331:50 [INFO] [stderr] | [INFO] [stderr] 331 | input.functions.iter().for_each(|(_, c)| (self.visit_function(c))); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 331 - input.functions.iter().for_each(|(_, c)| (self.visit_function(c))); [INFO] [stderr] 331 + input.functions.iter().for_each(|(_, c)| self.visit_function(c)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `leo-ast` (lib) generated 4 warnings (run `cargo fix --lib -p leo-ast` to apply 4 suggestions) [INFO] [stderr] warning: `leo-ast` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/leo_ast-999b6ec2b56a5942) [INFO] [stdout] test common::graph::test::test_unconnected_graph ... ok [INFO] [stderr] Doc-tests leo_ast [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/passes/visitor.rs:328:47 [INFO] [stderr] | [INFO] [stderr] 328 | input.consts.iter().for_each(|(_, c)| (self.visit_const(c))); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 328 - input.consts.iter().for_each(|(_, c)| (self.visit_const(c))); [INFO] [stderr] 328 + input.consts.iter().for_each(|(_, c)| self.visit_const(c)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/passes/visitor.rs:329:48 [INFO] [stderr] | [INFO] [stderr] 329 | input.structs.iter().for_each(|(_, c)| (self.visit_struct(c))); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 329 - input.structs.iter().for_each(|(_, c)| (self.visit_struct(c))); [INFO] [stderr] 329 + input.structs.iter().for_each(|(_, c)| self.visit_struct(c)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/passes/visitor.rs:330:49 [INFO] [stderr] | [INFO] [stderr] 330 | input.mappings.iter().for_each(|(_, c)| (self.visit_mapping(c))); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 330 - input.mappings.iter().for_each(|(_, c)| (self.visit_mapping(c))); [INFO] [stderr] 330 + input.mappings.iter().for_each(|(_, c)| self.visit_mapping(c)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/passes/visitor.rs:331:50 [INFO] [stderr] | [INFO] [stderr] 331 | input.functions.iter().for_each(|(_, c)| (self.visit_function(c))); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 331 - input.functions.iter().for_each(|(_, c)| (self.visit_function(c))); [INFO] [stderr] 331 + input.functions.iter().for_each(|(_, c)| self.visit_function(c)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [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] running `Command { std: "docker" "inspect" "3d1f56a19e7baeddf475e7f2e32ed826e72161e1a92d607c680cdc34b64357a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d1f56a19e7baeddf475e7f2e32ed826e72161e1a92d607c680cdc34b64357a5", kill_on_drop: false }` [INFO] [stdout] 3d1f56a19e7baeddf475e7f2e32ed826e72161e1a92d607c680cdc34b64357a5