[INFO] fetching crate assert-graph-iso 0.1.0... [INFO] checking assert-graph-iso-0.1.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate assert-graph-iso 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate assert-graph-iso 0.1.0 [INFO] finished tweaking crates.io crate assert-graph-iso 0.1.0 [INFO] tweaked toml for crates.io crate assert-graph-iso 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate assert-graph-iso 0.1.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gdl v0.2.7 [INFO] [stderr] Downloaded trim-margin v0.1.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e01349412d203f78c26c46affbd47a6daae7aea7476c66949930074a08bb72d7 [INFO] running `Command { std: "docker" "start" "-a" "e01349412d203f78c26c46affbd47a6daae7aea7476c66949930074a08bb72d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e01349412d203f78c26c46affbd47a6daae7aea7476c66949930074a08bb72d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e01349412d203f78c26c46affbd47a6daae7aea7476c66949930074a08bb72d7", kill_on_drop: false }` [INFO] [stdout] e01349412d203f78c26c46affbd47a6daae7aea7476c66949930074a08bb72d7 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1dba2375b156855a959de56b42722d97e3ac50ba24e1f5ab48ac12ec8fe8e0d0 [INFO] running `Command { std: "docker" "start" "-a" "1dba2375b156855a959de56b42722d97e3ac50ba24e1f5ab48ac12ec8fe8e0d0", kill_on_drop: false }` [INFO] [stderr] Checking trim-margin v0.1.0 [INFO] [stderr] Checking assert-graph-iso v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | &canonical_out_adjacencies; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 123 | let _ = &canonical_out_adjacencies; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | &canonical_in_adjacencies; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 124 | let _ = &canonical_in_adjacencies; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | fn nodes(&self) -> NodesIterator<&Self::NodeId>; [INFO] [stdout] | ^^^^^ ---------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 21 | fn nodes(&self) -> NodesIterator<'_, &Self::NodeId>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | fn node_labels(&self, node_id: &Self::NodeId) -> LabelIterator<&Self::NodeLabel>; [INFO] [stdout] | ^^^^^ ------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 23 | fn node_labels(&self, node_id: &Self::NodeId) -> LabelIterator<'_, &Self::NodeLabel>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 27 | node_id: &Self::NodeId, [INFO] [stdout] 28 | ) -> PropertyIterator<&Self::PropertyKey, &Self::PropertyValue>; [INFO] [stdout] | ---------------------------------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 28 | ) -> PropertyIterator<'_, &Self::PropertyKey, &Self::PropertyValue>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | &'a self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 32 | node_id: &'b Self::NodeId, [INFO] [stdout] 33 | ) -> PropertyIterator< [INFO] [stdout] | __________- [INFO] [stdout] 34 | | (&'a Self::NodeId, &'a Self::RelationshipType), [INFO] [stdout] | | -- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] 35 | | PropertyIterator<&'a Self::PropertyKey, &'a Self::PropertyValue>, [INFO] [stdout] | | ---------------------------------------------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] 36 | | >; [INFO] [stdout] | |_____- the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 33 ~ ) -> PropertyIterator<'a, [INFO] [stdout] 34 | (&'a Self::NodeId, &'a Self::RelationshipType), [INFO] [stdout] 35 ~ PropertyIterator<'a, &'a Self::PropertyKey, &'a Self::PropertyValue>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | &'a self, [INFO] [stdout] | ^^ this lifetime flows to the output [INFO] [stdout] 40 | node_id: &'b Self::NodeId, [INFO] [stdout] 41 | ) -> PropertyIterator< [INFO] [stdout] | __________- [INFO] [stdout] 42 | | (&'a Self::NodeId, &'a Self::RelationshipType), [INFO] [stdout] | | -- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] 43 | | PropertyIterator<&'a Self::PropertyKey, &'a Self::PropertyValue>, [INFO] [stdout] | | ---------------------------------------------------------------- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | | the lifetimes get resolved as `'a` [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] 44 | | >; [INFO] [stdout] | |_____- the lifetimes get resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 41 ~ ) -> PropertyIterator<'a, [INFO] [stdout] 42 | (&'a Self::NodeId, &'a Self::RelationshipType), [INFO] [stdout] 43 ~ PropertyIterator<'a, &'a Self::PropertyKey, &'a Self::PropertyValue>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Please run tests with --all-features [INFO] [stdout] --> src/lib.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | compile_error!("Please run tests with --all-features"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `assert-graph-iso` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "1dba2375b156855a959de56b42722d97e3ac50ba24e1f5ab48ac12ec8fe8e0d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dba2375b156855a959de56b42722d97e3ac50ba24e1f5ab48ac12ec8fe8e0d0", kill_on_drop: false }` [INFO] [stdout] 1dba2375b156855a959de56b42722d97e3ac50ba24e1f5ab48ac12ec8fe8e0d0