[INFO] cloning repository https://github.com/JPMoresmau/rust-interview [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JPMoresmau/rust-interview" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJPMoresmau%2Frust-interview", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJPMoresmau%2Frust-interview'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9dcc59f9c68da3fe9604cb449ab68c9f90e0ce0 [INFO] checking JPMoresmau/rust-interview against master#94b72d6bebbddb5d17860914c4544f37365e988c for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJPMoresmau%2Frust-interview" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JPMoresmau/rust-interview on toolchain 94b72d6bebbddb5d17860914c4544f37365e988c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JPMoresmau/rust-interview [INFO] finished tweaking git repo https://github.com/JPMoresmau/rust-interview [INFO] tweaked toml for git repo https://github.com/JPMoresmau/rust-interview written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JPMoresmau/rust-interview 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" "+94b72d6bebbddb5d17860914c4544f37365e988c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75ddad45f2fb8b8004a7edf001792c2d12e4eccb17e02bf1bae9d6632552fb27 [INFO] running `Command { std: "docker" "start" "-a" "75ddad45f2fb8b8004a7edf001792c2d12e4eccb17e02bf1bae9d6632552fb27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75ddad45f2fb8b8004a7edf001792c2d12e4eccb17e02bf1bae9d6632552fb27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75ddad45f2fb8b8004a7edf001792c2d12e4eccb17e02bf1bae9d6632552fb27", kill_on_drop: false }` [INFO] [stdout] 75ddad45f2fb8b8004a7edf001792c2d12e4eccb17e02bf1bae9d6632552fb27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+94b72d6bebbddb5d17860914c4544f37365e988c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d09c158ab97ae14c2f9a742fe07ca994bf4f6dea8a6534d76465af51beb72937 [INFO] running `Command { std: "docker" "start" "-a" "d09c158ab97ae14c2f9a742fe07ca994bf4f6dea8a6534d76465af51beb72937", kill_on_drop: false }` [INFO] [stderr] Checking interview v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/btree.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/94b72d6bebbddb5d17860914c4544f37365e988c/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/llist.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/94b72d6bebbddb5d17860914c4544f37365e988c/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use crate::btree::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `Solution` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 24 | pub use crate::matrix::*; [INFO] [stdout] | ---------------- but the name `Solution` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/btree.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/94b72d6bebbddb5d17860914c4544f37365e988c/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/llist.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/94b72d6bebbddb5d17860914c4544f37365e988c/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use crate::btree::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `Solution` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 24 | pub use crate::matrix::*; [INFO] [stdout] | ---------------- but the name `Solution` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "d09c158ab97ae14c2f9a742fe07ca994bf4f6dea8a6534d76465af51beb72937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d09c158ab97ae14c2f9a742fe07ca994bf4f6dea8a6534d76465af51beb72937", kill_on_drop: false }` [INFO] [stdout] d09c158ab97ae14c2f9a742fe07ca994bf4f6dea8a6534d76465af51beb72937 [INFO] checking JPMoresmau/rust-interview against try#cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc for pr-122789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJPMoresmau%2Frust-interview" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JPMoresmau/rust-interview on toolchain cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JPMoresmau/rust-interview [INFO] finished tweaking git repo https://github.com/JPMoresmau/rust-interview [INFO] tweaked toml for git repo https://github.com/JPMoresmau/rust-interview written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JPMoresmau/rust-interview 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" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc4791ff28ed024db62a772b2d79e7886e8cef96f46559691a39143d4db0dd66 [INFO] running `Command { std: "docker" "start" "-a" "fc4791ff28ed024db62a772b2d79e7886e8cef96f46559691a39143d4db0dd66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc4791ff28ed024db62a772b2d79e7886e8cef96f46559691a39143d4db0dd66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc4791ff28ed024db62a772b2d79e7886e8cef96f46559691a39143d4db0dd66", kill_on_drop: false }` [INFO] [stdout] fc4791ff28ed024db62a772b2d79e7886e8cef96f46559691a39143d4db0dd66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f6a5a64cb91896799f7f5eaa33ac4b3afb10e42a07b05277aba765d2f505d60 [INFO] running `Command { std: "docker" "start" "-a" "5f6a5a64cb91896799f7f5eaa33ac4b3afb10e42a07b05277aba765d2f505d60", kill_on_drop: false }` [INFO] [stderr] Checking interview v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/btree.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/llist.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use crate::btree::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `Solution` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 24 | pub use crate::matrix::*; [INFO] [stdout] | ---------------- but the name `Solution` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/btree.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/llist.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/cb4bf0ee9ea9dac86332c9e48c07269c7edc21dc/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use crate::btree::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ the name `Solution` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 24 | pub use crate::matrix::*; [INFO] [stdout] | ---------------- but the name `Solution` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/llist.rs:128:48 [INFO] [stdout] | [INFO] [stdout] 124 | impl<'a, T> Iterator for LLIterator<'a, T> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 128 | let lc = mem::replace(&mut self.head, &LCell::Nil); [INFO] [stdout] | ------------------------------^^^^^^^^^^-- temporary value is freed at the end of this statement [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `interview` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/llist.rs:128:48 [INFO] [stdout] | [INFO] [stdout] 124 | impl<'a, T> Iterator for LLIterator<'a, T> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 128 | let lc = mem::replace(&mut self.head, &LCell::Nil); [INFO] [stdout] | ------------------------------^^^^^^^^^^-- temporary value is freed at the end of this statement [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `interview` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5f6a5a64cb91896799f7f5eaa33ac4b3afb10e42a07b05277aba765d2f505d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f6a5a64cb91896799f7f5eaa33ac4b3afb10e42a07b05277aba765d2f505d60", kill_on_drop: false }` [INFO] [stdout] 5f6a5a64cb91896799f7f5eaa33ac4b3afb10e42a07b05277aba765d2f505d60