[INFO] fetching crate leo-asg-passes 1.5.2... [INFO] testing leo-asg-passes-1.5.2 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate leo-asg-passes 1.5.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate leo-asg-passes 1.5.2 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate leo-asg-passes 1.5.2 [INFO] finished tweaking crates.io crate leo-asg-passes 1.5.2 [INFO] tweaked toml for crates.io crate leo-asg-passes 1.5.2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d66c1ed543ffb994b2a2d71aa31674afb5e013a24435ab92c9300eace319721 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4d66c1ed543ffb994b2a2d71aa31674afb5e013a24435ab92c9300eace319721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d66c1ed543ffb994b2a2d71aa31674afb5e013a24435ab92c9300eace319721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d66c1ed543ffb994b2a2d71aa31674afb5e013a24435ab92c9300eace319721", kill_on_drop: false }` [INFO] [stdout] 4d66c1ed543ffb994b2a2d71aa31674afb5e013a24435ab92c9300eace319721 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b81d5fc4dc8e850d8b606374ba487186f7a577870cb581cf27d97736ab5ffa21 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b81d5fc4dc8e850d8b606374ba487186f7a577870cb581cf27d97736ab5ffa21", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling tendril v0.4.2 [INFO] [stderr] Compiling object v0.26.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling from-pest v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling single v1.0.0 [INFO] [stderr] Compiling pest-ast v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling leo-input v1.5.3 [INFO] [stderr] Compiling leo-ast v1.5.3 [INFO] [stderr] Compiling leo-parser v1.5.3 [INFO] [stderr] Compiling leo-asg v1.5.3 [INFO] [stderr] Compiling leo-asg-passes v1.5.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0495]: cannot infer an appropriate lifetime due to conflicting requirements [INFO] [stdout] --> src/constant_folding/mod.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | let expr = input.get(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: first, the lifetime cannot outlive the anonymous lifetime defined on the method body at 26:49... [INFO] [stdout] --> src/constant_folding/mod.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 26 | fn visit_expression(&mut self, input: &Cell<&Expression<'a>>) -> VisitResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...so that the expression is assignable [INFO] [stdout] --> src/constant_folding/mod.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | let expr = input.get(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: expected `&leo_asg::Expression<'a>` [INFO] [stdout] found `&leo_asg::Expression<'a>` [INFO] [stdout] note: but, the lifetime must be valid for the lifetime `'a` as defined on the impl at 25:6... [INFO] [stdout] --> src/constant_folding/mod.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a, 'b> ExpressionVisitor<'a> for ConstantFolding<'a, 'b> { [INFO] [stdout] | ^^ [INFO] [stdout] note: ...so that the types are compatible [INFO] [stdout] --> src/constant_folding/mod.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(const_value) = expr.const_value() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: expected `leo_asg::ExpressionNode<'_>` [INFO] [stdout] found `leo_asg::ExpressionNode<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0495`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leo-asg-passes` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b81d5fc4dc8e850d8b606374ba487186f7a577870cb581cf27d97736ab5ffa21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b81d5fc4dc8e850d8b606374ba487186f7a577870cb581cf27d97736ab5ffa21", kill_on_drop: false }` [INFO] [stdout] b81d5fc4dc8e850d8b606374ba487186f7a577870cb581cf27d97736ab5ffa21