[INFO] cloning repository https://github.com/phatalways-sleeping/design_patterns_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phatalways-sleeping/design_patterns_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphatalways-sleeping%2Fdesign_patterns_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphatalways-sleeping%2Fdesign_patterns_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d722188d0ff952ac8bb3780a84f64124f58e5a7 [INFO] testing phatalways-sleeping/design_patterns_rust against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphatalways-sleeping%2Fdesign_patterns_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/phatalways-sleeping/design_patterns_rust [INFO] finished tweaking git repo https://github.com/phatalways-sleeping/design_patterns_rust [INFO] tweaked toml for git repo https://github.com/phatalways-sleeping/design_patterns_rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/phatalways-sleeping/design_patterns_rust on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/phatalways-sleeping/design_patterns_rust 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c353ff511a7439819375e0470a368893857a3fba6fdb7b2b5491a0626c1dd92a [INFO] running `Command { std: "docker" "start" "-a" "c353ff511a7439819375e0470a368893857a3fba6fdb7b2b5491a0626c1dd92a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c353ff511a7439819375e0470a368893857a3fba6fdb7b2b5491a0626c1dd92a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c353ff511a7439819375e0470a368893857a3fba6fdb7b2b5491a0626c1dd92a", kill_on_drop: false }` [INFO] [stdout] c353ff511a7439819375e0470a368893857a3fba6fdb7b2b5491a0626c1dd92a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11ed90f5c2db2e8b7ce94eefef8de6736c687ce9b7d946311220af7421991e73 [INFO] running `Command { std: "docker" "start" "-a" "11ed90f5c2db2e8b7ce94eefef8de6736c687ce9b7d946311220af7421991e73", kill_on_drop: false }` [INFO] [stderr] Compiling design_patterns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/behavioural/iterator/mod.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | fn feed_iter(&self) -> Iter; [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 10 | fn feed_iter(&self) -> Iter<'_, Feed>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/behavioural/iterator/mod.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | fn images_iter(&self) -> Iter; [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 11 | fn images_iter(&self) -> Iter<'_, String>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/behavioural/iterator/mod.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | fn feed_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 20 | fn feed_iter(&self) -> Iter<'_, Feed> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/behavioural/iterator/mod.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | fn images_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 24 | fn images_iter(&self) -> Iter<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/structural/flyweight/forest.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 38 | ) -> &'a Tree { [INFO] [stdout] | ---- the lifetime gets 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] 38 | ) -> &'a Tree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "11ed90f5c2db2e8b7ce94eefef8de6736c687ce9b7d946311220af7421991e73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11ed90f5c2db2e8b7ce94eefef8de6736c687ce9b7d946311220af7421991e73", kill_on_drop: false }` [INFO] [stdout] 11ed90f5c2db2e8b7ce94eefef8de6736c687ce9b7d946311220af7421991e73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d414bd25eeec967de36787ea87c8c06ae30cce135ca104ccf5d77f1cea57839f [INFO] running `Command { std: "docker" "start" "-a" "d414bd25eeec967de36787ea87c8c06ae30cce135ca104ccf5d77f1cea57839f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/behavioural/iterator/mod.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | fn feed_iter(&self) -> Iter; [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 10 | fn feed_iter(&self) -> Iter<'_, Feed>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/behavioural/iterator/mod.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | fn images_iter(&self) -> Iter; [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 11 | fn images_iter(&self) -> Iter<'_, String>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/behavioural/iterator/mod.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | fn feed_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 20 | fn feed_iter(&self) -> Iter<'_, Feed> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/behavioural/iterator/mod.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | fn images_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 24 | fn images_iter(&self) -> Iter<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/structural/flyweight/forest.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 38 | ) -> &'a Tree { [INFO] [stdout] | ---- the lifetime gets 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] 38 | ) -> &'a Tree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling design_patterns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/behavioural/iterator/mod.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | fn feed_iter(&self) -> Iter; [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 10 | fn feed_iter(&self) -> Iter<'_, Feed>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/behavioural/iterator/mod.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | fn images_iter(&self) -> Iter; [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 11 | fn images_iter(&self) -> Iter<'_, String>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/behavioural/iterator/mod.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | fn feed_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 20 | fn feed_iter(&self) -> Iter<'_, Feed> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/behavioural/iterator/mod.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | fn images_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [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] 24 | fn images_iter(&self) -> Iter<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/structural/flyweight/forest.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 38 | ) -> &'a Tree { [INFO] [stdout] | ---- the lifetime gets 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] 38 | ) -> &'a Tree<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.86s [INFO] running `Command { std: "docker" "inspect" "d414bd25eeec967de36787ea87c8c06ae30cce135ca104ccf5d77f1cea57839f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d414bd25eeec967de36787ea87c8c06ae30cce135ca104ccf5d77f1cea57839f", kill_on_drop: false }` [INFO] [stdout] d414bd25eeec967de36787ea87c8c06ae30cce135ca104ccf5d77f1cea57839f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f556336573ed24599baebb5dcace067378e3fe27fbb367935392df1c7f15a3bb [INFO] running `Command { std: "docker" "start" "-a" "f556336573ed24599baebb5dcace067378e3fe27fbb367935392df1c7f15a3bb", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/behavioural/iterator/mod.rs:10:18 [INFO] [stderr] | [INFO] [stderr] 10 | fn feed_iter(&self) -> Iter; [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 10 | fn feed_iter(&self) -> Iter<'_, Feed>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/behavioural/iterator/mod.rs:11:20 [INFO] [stderr] | [INFO] [stderr] 11 | fn images_iter(&self) -> Iter; [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 11 | fn images_iter(&self) -> Iter<'_, String>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/behavioural/iterator/mod.rs:20:18 [INFO] [stderr] | [INFO] [stderr] 20 | fn feed_iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 20 | fn feed_iter(&self) -> Iter<'_, Feed> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/behavioural/iterator/mod.rs:24:20 [INFO] [stderr] | [INFO] [stderr] 24 | fn images_iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 24 | fn images_iter(&self) -> Iter<'_, String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/structural/flyweight/forest.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | &mut self, [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 38 | ) -> &'a Tree { [INFO] [stderr] | ---- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 38 | ) -> &'a Tree<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `design_patterns` (lib) generated 5 warnings [INFO] [stderr] warning: `design_patterns` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/design_patterns-18e29919a8560358) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test behavioural::observer::test::ui_manager_works ... ok [INFO] [stdout] test behavioural::state::test::source_code_works ... ok [INFO] [stdout] test dependency_injection::test::create_services ... ok [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] test behavioural::command::test::create_application_with_commands ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- behavioural::command::test::create_application_with_commands stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'behavioural::command::test::create_application_with_commands' panicked at src/behavioural/command/command/copy_command.rs:19:26: [INFO] [stdout] RefCell already borrowed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5aa5c19341b2 - std::backtrace_rs::backtrace::libunwind::trace::h5edb72cc539d8d33 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5aa5c19341b2 - std::backtrace_rs::backtrace::trace_unsynchronized::h73d186ef976c5ae2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5aa5c19341b2 - std::sys::backtrace::_print_fmt::h4410012d384fde01 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5aa5c19341b2 - ::fmt::h281a579a27d691d5 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5aa5c1959a43 - core::fmt::rt::Argument::fmt::h4c31bb6a3f4e4ed6 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5aa5c1959a43 - core::fmt::write::hd1f1283e971fbb36 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x5aa5c1930fd3 - std::io::default_write_fmt::h6d6cb3ff48bb6394 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5aa5c1930fd3 - std::io::Write::write_fmt::h976b7a346c630898 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5aa5c1934002 - std::sys::backtrace::BacktraceLock::print::h7cc2f8a0b7549773 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5aa5c193572c - std::panicking::default_hook::{{closure}}::hc18f11ca3cc980d1 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5aa5c1935582 - std::panicking::default_hook::h5207cd5928e5a9d2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5aa5c18fd0b4 - as core::ops::function::Fn>::call::h53735dbb2fff5e8e [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x5aa5c18fd0b4 - test::test_main_with_exit_callback::{{closure}}::h8629ce54f7c62158 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5aa5c193620b - as core::ops::function::Fn>::call::hdd01dfa4f5d59fd2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x5aa5c193620b - std::panicking::rust_panic_with_hook::he2975323910480e2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5aa5c1935eda - std::panicking::begin_panic_handler::{{closure}}::hf6a73f8f68d2901d [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5aa5c19346b9 - std::sys::backtrace::__rust_end_short_backtrace::h91c7517b8fba4182 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x5aa5c1935b6d - __rustc[c30fa7112bbf6ac0]::rust_begin_unwind [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5aa5c1958460 - core::panicking::panic_fmt::h1dc18eebb9b6550e [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5aa5c1957fd3 - core::cell::panic_already_borrowed::h61ce199582ae339f [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/cell.rs:785:5 [INFO] [stdout] 20: 0x5aa5c1812e62 - core::cell::RefCell::borrow_mut::h0fe532557f14e2b1 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/cell.rs:1077:25 [INFO] [stdout] 21: 0x5aa5c1816eb0 - ::execute::h704ac8a7a7a641fe [INFO] [stdout] at /opt/rustwide/workdir/src/behavioural/command/command/copy_command.rs:19:26 [INFO] [stdout] 22: 0x5aa5c1816c22 - ::execute::he986d93ac0b77397 [INFO] [stdout] at /opt/rustwide/workdir/src/behavioural/command/application.rs:31:54 [INFO] [stdout] 23: 0x5aa5c18190e1 - design_patterns::behavioural::command::test::create_application_with_commands::h991076b94afc5d1d [INFO] [stdout] at /opt/rustwide/workdir/src/behavioural/command/mod.rs:23:26 [INFO] [stdout] 24: 0x5aa5c1818da7 - design_patterns::behavioural::command::test::create_application_with_commands::{{closure}}::h49585f6308cc4a05 [INFO] [stdout] at /opt/rustwide/workdir/src/behavioural/command/mod.rs:15:42 [INFO] [stdout] 25: 0x5aa5c180c5f6 - core::ops::function::FnOnce::call_once::h70f4630ed84c527b [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5aa5c19027ab - core::ops::function::FnOnce::call_once::hdd80366119caeff9 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x5aa5c19027ab - test::__rust_begin_short_backtrace::h60798cb0fdc462bd [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:648:18 [INFO] [stdout] 28: 0x5aa5c1901a2e - test::run_test_in_process::{{closure}}::h81bd62fe0ddb1cae [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:671:74 [INFO] [stdout] 29: 0x5aa5c1901a2e - as core::ops::function::FnOnce<()>>::call_once::h6ee6466477e4c0dc [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 30: 0x5aa5c1901a2e - std::panicking::catch_unwind::do_call::h01a79315147a2ca1 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:589:40 [INFO] [stdout] 31: 0x5aa5c1901a2e - std::panicking::catch_unwind::h831c87e90ef4f2d8 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:552:19 [INFO] [stdout] 32: 0x5aa5c1901a2e - std::panic::catch_unwind::h50e9876bcbc7c37f [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panic.rs:359:14 [INFO] [stdout] 33: 0x5aa5c1901a2e - test::run_test_in_process::hd57ee4367ef533b2 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:671:27 [INFO] [stdout] 34: 0x5aa5c1901a2e - test::run_test::{{closure}}::hd180abfe8d10b90d [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:592:43 [INFO] [stdout] 35: 0x5aa5c18c5624 - test::run_test::{{closure}}::hadea4433d10ac366 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/test/src/lib.rs:622:41 [INFO] [stdout] 36: 0x5aa5c18c5624 - std::sys::backtrace::__rust_begin_short_backtrace::hb136c48ddd0ced72 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 37: 0x5aa5c18c8f1a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9e392173a704e81a [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 38: 0x5aa5c18c8f1a - as core::ops::function::FnOnce<()>>::call_once::h858a87db574d2ff4 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 39: 0x5aa5c18c8f1a - std::panicking::catch_unwind::do_call::hff7ec4d4a59ca346 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:589:40 [INFO] [stdout] 40: 0x5aa5c18c8f1a - std::panicking::catch_unwind::h74378fed914955a4 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panicking.rs:552:19 [INFO] [stdout] 41: 0x5aa5c18c8f1a - std::panic::catch_unwind::hd644e75c809e87ce [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/panic.rs:359:14 [INFO] [stdout] 42: 0x5aa5c18c8f1a - std::thread::Builder::spawn_unchecked_::{{closure}}::h5c4ce65e6ea67c65 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 43: 0x5aa5c18c8f1a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2c391219c93831ae [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 44: 0x5aa5c1939387 - as core::ops::function::FnOnce>::call_once::ha02f1268c87bf8cb [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 45: 0x5aa5c1939387 - as core::ops::function::FnOnce>::call_once::ha9964535c0565e6a [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 46: 0x5aa5c1939387 - std::sys::pal::unix::thread::Thread::new::thread_start::hd6a2768613f757f7 [INFO] [stdout] at /rustc/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 47: 0x72f57745eaa4 - [INFO] [stdout] 48: 0x72f5774eba34 - clone [INFO] [stdout] 49: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] behavioural::command::test::create_application_with_commands [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f556336573ed24599baebb5dcace067378e3fe27fbb367935392df1c7f15a3bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f556336573ed24599baebb5dcace067378e3fe27fbb367935392df1c7f15a3bb", kill_on_drop: false }` [INFO] [stdout] f556336573ed24599baebb5dcace067378e3fe27fbb367935392df1c7f15a3bb