[INFO] cloning repository https://github.com/pyrofolium/rust_doubly_linked_list
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pyrofolium/rust_doubly_linked_list" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpyrofolium%2Frust_doubly_linked_list", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpyrofolium%2Frust_doubly_linked_list'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 921c6799589900a472e13a2397134077ef7def88
[INFO] testing pyrofolium/rust_doubly_linked_list against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpyrofolium%2Frust_doubly_linked_list" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pyrofolium/rust_doubly_linked_list
[INFO] finished tweaking git repo https://github.com/pyrofolium/rust_doubly_linked_list
[INFO] tweaked toml for git repo https://github.com/pyrofolium/rust_doubly_linked_list written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pyrofolium/rust_doubly_linked_list on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pyrofolium/rust_doubly_linked_list 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9dd1384c02e38b7c4876e411261bea56c855d34de05badac7c54159e64e16c9d
[INFO] running `Command { std: "docker" "start" "-a" "9dd1384c02e38b7c4876e411261bea56c855d34de05badac7c54159e64e16c9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9dd1384c02e38b7c4876e411261bea56c855d34de05badac7c54159e64e16c9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9dd1384c02e38b7c4876e411261bea56c855d34de05badac7c54159e64e16c9d", kill_on_drop: false }`
[INFO] [stdout] 9dd1384c02e38b7c4876e411261bea56c855d34de05badac7c54159e64e16c9d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1b2b77d5707dc5565913f639a76f20bfe4c5e96f40416fa55793f7e6a780da0c
[INFO] running `Command { std: "docker" "start" "-a" "1b2b77d5707dc5565913f639a76f20bfe4c5e96f40416fa55793f7e6a780da0c", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_doubly_linked_list v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: the trait bound `&T: Default` is not satisfied
[INFO] [stdout]    --> src/main.rs:125:23
[INFO] [stdout]     |
[INFO] [stdout] 125 |     fn iter(&self) -> LLIterator<T> {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ the trait `Default` is not implemented for `&T`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `LLIterator`
[INFO] [stdout]    --> src/main.rs:132:70
[INFO] [stdout]     |
[INFO] [stdout] 132 | struct LLIterator<'a, T: Display + Default + PartialEq> where &'a T: Default {
[INFO] [stdout]     |                                                                      ^^^^^^^ required by this bound in `LLIterator`
[INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
[INFO] [stdout]     |
[INFO] [stdout] 125 |     fn iter(&self) -> LLIterator<T> where &T: Default {
[INFO] [stdout]     |                                     +++++++++++++++++
[INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl<T: Display + Default + PartialEq> LL<T> where &T: Default {
[INFO] [stdout]     |                                              +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&T: Default` is not satisfied
[INFO] [stdout]    --> src/main.rs:127:27
[INFO] [stdout]     |
[INFO] [stdout] 127 |             current_node: self.head.clone()
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `&T`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `LLIterator`
[INFO] [stdout]    --> src/main.rs:132:70
[INFO] [stdout]     |
[INFO] [stdout] 132 | struct LLIterator<'a, T: Display + Default + PartialEq> where &'a T: Default {
[INFO] [stdout]     |                                                                      ^^^^^^^ required by this bound in `LLIterator`
[INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
[INFO] [stdout]     |
[INFO] [stdout] 125 |     fn iter(&self) -> LLIterator<T> where &T: Default {
[INFO] [stdout]     |                                     +++++++++++++++++
[INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl<T: Display + Default + PartialEq> LL<T> where &T: Default {
[INFO] [stdout]     |                                              +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:127:27
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl<T: Display + Default + PartialEq> LL<T> {
[INFO] [stdout]     |      - found this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 127 |             current_node: self.head.clone()
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^ expected `Option<Rc<RefCell<Node<&T>>>>`, found `Option<Rc<RefCell<Node<T>>>>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `Option<Rc<RefCell<Node<&_>>>>`
[INFO] [stdout]                found enum `Option<Rc<RefCell<Node<_>>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&{integer}: Default` is not satisfied
[INFO] [stdout]    --> src/main.rs:154:7
[INFO] [stdout]     |
[INFO] [stdout] 154 |     n.iter().for_each(|x|{
[INFO] [stdout]     |       ^^^^ the trait `Default` is not implemented for `&{integer}`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `Default`:
[INFO] [stdout]               f128
[INFO] [stdout]               f16
[INFO] [stdout]               f32
[INFO] [stdout]               f64
[INFO] [stdout]               i128
[INFO] [stdout]               i16
[INFO] [stdout]               i32
[INFO] [stdout]               i64
[INFO] [stdout]             and 8 others
[INFO] [stdout] note: required by a bound in `LLIterator`
[INFO] [stdout]    --> src/main.rs:132:70
[INFO] [stdout]     |
[INFO] [stdout] 132 | struct LLIterator<'a, T: Display + Default + PartialEq> where &'a T: Default {
[INFO] [stdout]     |                                                                      ^^^^^^^ required by this bound in `LLIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `for_each` exists for struct `LLIterator<'_, {integer}>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/main.rs:154:14
[INFO] [stdout]     |
[INFO] [stdout] 132 | struct LLIterator<'a, T: Display + Default + PartialEq> where &'a T: Default {
[INFO] [stdout]     | ------------------------------------------------------- method `for_each` not found for this struct because it doesn't satisfy `LLIterator<'_, {integer}>: Iterator`
[INFO] [stdout] ...
[INFO] [stdout] 154 |     n.iter().for_each(|x|{
[INFO] [stdout]     |     ---------^^^^^^^^ method cannot be called on `LLIterator<'_, {integer}>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `LLIterator<'_, {integer}>: Iterator`
[INFO] [stdout]             which is required by `&mut LLIterator<'_, {integer}>: Iterator`
[INFO] [stdout] note: the trait `Iterator` must be implemented
[INFO] [stdout]    --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/iter/traits/iterator.rs:40:0
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `for_each`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_doubly_linked_list` (bin "rust_doubly_linked_list") due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "1b2b77d5707dc5565913f639a76f20bfe4c5e96f40416fa55793f7e6a780da0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b2b77d5707dc5565913f639a76f20bfe4c5e96f40416fa55793f7e6a780da0c", kill_on_drop: false }`
[INFO] [stdout] 1b2b77d5707dc5565913f639a76f20bfe4c5e96f40416fa55793f7e6a780da0c
