[INFO] cloning repository https://github.com/edgarogh/lustred [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/edgarogh/lustred" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgarogh%2Flustred", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgarogh%2Flustred'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27b9284e9a630f70471707f3f521f70ad11aec20 [INFO] checking edgarogh/lustred against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedgarogh%2Flustred" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/edgarogh/lustred [INFO] finished tweaking git repo https://github.com/edgarogh/lustred [INFO] tweaked toml for git repo https://github.com/edgarogh/lustred written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/edgarogh/lustred on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/edgarogh/lustred 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typed-arena v2.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a8c3eb8d62ee4f92fda395272ad9047e2803be751325b416213957bca28e194 [INFO] running `Command { std: "docker" "start" "-a" "0a8c3eb8d62ee4f92fda395272ad9047e2803be751325b416213957bca28e194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a8c3eb8d62ee4f92fda395272ad9047e2803be751325b416213957bca28e194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a8c3eb8d62ee4f92fda395272ad9047e2803be751325b416213957bca28e194", kill_on_drop: false }` [INFO] [stdout] 0a8c3eb8d62ee4f92fda395272ad9047e2803be751325b416213957bca28e194 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70628a78244f800c6efec87ba8819154d7f1be84287646015f61ecdd9c19b7e7 [INFO] running `Command { std: "docker" "start" "-a" "70628a78244f800c6efec87ba8819154d7f1be84287646015f61ecdd9c19b7e7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking fixedbitset v0.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking petgraph v0.6.0 [INFO] [stderr] Checking lustred v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0423]: expected value, found macro `expr` [INFO] [stdout] --> src/main.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(gate) = expr.to_gate() { [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `expr` [INFO] [stdout] --> src/main.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | expr, [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `expr` [INFO] [stdout] --> src/main.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(gate) = expr.to_gate() { [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `expr` [INFO] [stdout] --> src/main.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | expr, [INFO] [stdout] | ^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GraphRef` and `NodeRef` [INFO] [stdout] --> src/expression.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | Data, GraphBase, GraphRef, IntoNeighbors, IntoNeighborsDirected, IntoNodeIdentifiers, NodeRef, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GraphRef` and `NodeRef` [INFO] [stdout] --> src/expression.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | Data, GraphBase, GraphRef, IntoNeighbors, IntoNeighborsDirected, IntoNodeIdentifiers, NodeRef, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/expression.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/expression.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/expression.rs:296:47 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn dfs(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use fully-qualified syntax [INFO] [stdout] | [INFO] [stdout] 296 - pub fn dfs(&self) -> impl Iterator { [INFO] [stdout] 296 + pub fn dfs(&self) -> impl Iterator as GraphBase>::NodeId> { [INFO] [stdout] | [INFO] [stdout] 296 - pub fn dfs(&self) -> impl Iterator { [INFO] [stdout] 296 + pub fn dfs(&self) -> impl Iterator as NodeRef>::NodeId> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/expression.rs:296:47 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn dfs(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use fully-qualified syntax [INFO] [stdout] | [INFO] [stdout] 296 - pub fn dfs(&self) -> impl Iterator { [INFO] [stdout] 296 + pub fn dfs(&self) -> impl Iterator as GraphBase>::NodeId> { [INFO] [stdout] | [INFO] [stdout] 296 - pub fn dfs(&self) -> impl Iterator { [INFO] [stdout] 296 + pub fn dfs(&self) -> impl Iterator as NodeRef>::NodeId> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `petgraph::visit::Dfs<&Expr<'_>, HashSet<&Expr<'_>>>` is not an iterator [INFO] [stdout] --> src/expression.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | self.0.values().flat_map(|e| Dfs::new(self, *e)) [INFO] [stdout] | ^^^^^^^^ `petgraph::visit::Dfs<&Expr<'_>, HashSet<&Expr<'_>>>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `petgraph::visit::Dfs<&Expr<'_>, HashSet<&Expr<'_>>>` [INFO] [stdout] = note: required for `petgraph::visit::Dfs<&Expr<'_>, HashSet<&Expr<'_>>>` to implement `IntoIterator` [INFO] [stdout] note: required by a bound in `flat_map` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:1472:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `petgraph::visit::Dfs<&expression::Expr<'_>, HashSet<&expression::Expr<'_>>>` is not an iterator [INFO] [stdout] --> src/expression.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | self.0.values().flat_map(|e| Dfs::new(self, *e)) [INFO] [stdout] | ^^^^^^^^ `petgraph::visit::Dfs<&expression::Expr<'_>, HashSet<&expression::Expr<'_>>>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `petgraph::visit::Dfs<&expression::Expr<'_>, HashSet<&expression::Expr<'_>>>` [INFO] [stdout] = note: required for `petgraph::visit::Dfs<&expression::Expr<'_>, HashSet<&expression::Expr<'_>>>` to implement `IntoIterator` [INFO] [stdout] note: required by a bound in `flat_map` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/iter/traits/iterator.rs:1472:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `petgraph::visit::Dfs<&expression::Expr<'_>, HashSet<&expression::Expr<'_>>>` is not an iterator [INFO] [stdout] --> src/expression.rs:296:26 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn dfs(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `petgraph::visit::Dfs<&expression::Expr<'_>, HashSet<&expression::Expr<'_>>>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `petgraph::visit::Dfs<&expression::Expr<'_>, HashSet<&expression::Expr<'_>>>` [INFO] [stdout] = note: required for `petgraph::visit::Dfs<&expression::Expr<'_>, HashSet<&expression::Expr<'_>>>` to implement `IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `petgraph::visit::Dfs<&Expr<'_>, HashSet<&Expr<'_>>>` is not an iterator [INFO] [stdout] --> src/expression.rs:296:26 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn dfs(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `petgraph::visit::Dfs<&Expr<'_>, HashSet<&Expr<'_>>>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `petgraph::visit::Dfs<&Expr<'_>, HashSet<&Expr<'_>>>` [INFO] [stdout] = note: required for `petgraph::visit::Dfs<&Expr<'_>, HashSet<&Expr<'_>>>` to implement `IntoIterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0277, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lustred` (bin "lustred") due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0223, E0277, E0423. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lustred` (bin "lustred" test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "70628a78244f800c6efec87ba8819154d7f1be84287646015f61ecdd9c19b7e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70628a78244f800c6efec87ba8819154d7f1be84287646015f61ecdd9c19b7e7", kill_on_drop: false }` [INFO] [stdout] 70628a78244f800c6efec87ba8819154d7f1be84287646015f61ecdd9c19b7e7