[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] checking pyrofolium/rust_doubly_linked_list against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpyrofolium%2Frust_doubly_linked_list" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pyrofolium/rust_doubly_linked_list on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eb5aabe6a321f1679dac365815f4e0bbee3ba4d59e8b1c49640c10b1dac6a236
[INFO] running `Command { std: "docker" "start" "-a" "eb5aabe6a321f1679dac365815f4e0bbee3ba4d59e8b1c49640c10b1dac6a236", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eb5aabe6a321f1679dac365815f4e0bbee3ba4d59e8b1c49640c10b1dac6a236", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb5aabe6a321f1679dac365815f4e0bbee3ba4d59e8b1c49640c10b1dac6a236", kill_on_drop: false }`
[INFO] [stdout] eb5aabe6a321f1679dac365815f4e0bbee3ba4d59e8b1c49640c10b1dac6a236
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5dfce5e1b2c367e07abd8700dea80354218827f2a6eb4c79f8ac88effba072df
[INFO] running `Command { std: "docker" "start" "-a" "5dfce5e1b2c367e07abd8700dea80354218827f2a6eb4c79f8ac88effba072df", kill_on_drop: false }`
[INFO] [stderr]     Checking 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]  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: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]  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]  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]  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/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/iter/traits/iterator.rs:39:1
[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] 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/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/iter/traits/iterator.rs:39:1
[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] [stderr] warning: build failed, waiting for other jobs to finish...
[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" test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "5dfce5e1b2c367e07abd8700dea80354218827f2a6eb4c79f8ac88effba072df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5dfce5e1b2c367e07abd8700dea80354218827f2a6eb4c79f8ac88effba072df", kill_on_drop: false }`
[INFO] [stdout] 5dfce5e1b2c367e07abd8700dea80354218827f2a6eb4c79f8ac88effba072df
