[INFO] fetching crate rclist 0.0.1...
[INFO] checking rclist-0.0.1 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate rclist 0.0.1 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate rclist 0.0.1 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rclist 0.0.1
[INFO] finished tweaking crates.io crate rclist 0.0.1
[INFO] tweaked toml for crates.io crate rclist 0.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 14645bacba555352744c62ab484b541f6557fc9753868e8aac6fb2a9a7d5ed2d
[INFO] running `Command { std: "docker" "start" "-a" "14645bacba555352744c62ab484b541f6557fc9753868e8aac6fb2a9a7d5ed2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "14645bacba555352744c62ab484b541f6557fc9753868e8aac6fb2a9a7d5ed2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14645bacba555352744c62ab484b541f6557fc9753868e8aac6fb2a9a7d5ed2d", kill_on_drop: false }`
[INFO] [stdout] 14645bacba555352744c62ab484b541f6557fc9753868e8aac6fb2a9a7d5ed2d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fba24ee11227c0de39a3a5c46889c0c5a802893dcc3cf5e6c7b9f09969e38978
[INFO] running `Command { std: "docker" "start" "-a" "fba24ee11227c0de39a3a5c46889c0c5a802893dcc3cf5e6c7b9f09969e38978", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking rclist v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core)]
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(alloc)]
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(core)]
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(alloc)]
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `downgrade` found for reference `&Rc<T>` in the current scope
[INFO] [stdout]   --> src/lib.rs:31:50
[INFO] [stdout]    |
[INFO] [stdout] 31 |             &Link::Strong(ref x) => Link::Weak(x.downgrade()),
[INFO] [stdout]    |                                                --^^^^^^^^^--
[INFO] [stdout]    |                                                | |
[INFO] [stdout]    |                                                | this is an associated function, not a method
[INFO] [stdout]    |                                                help: use associated function syntax instead: `Rc::<T>::downgrade(&x)`
[INFO] [stdout]    |
[INFO] [stdout]    = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout]    = note: the candidate is defined in an impl for the type `Rc<T, A>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `downgrade` found for reference `&Rc<T>` in the current scope
[INFO] [stdout]   --> src/lib.rs:31:50
[INFO] [stdout]    |
[INFO] [stdout] 31 |             &Link::Strong(ref x) => Link::Weak(x.downgrade()),
[INFO] [stdout]    |                                                --^^^^^^^^^--
[INFO] [stdout]    |                                                | |
[INFO] [stdout]    |                                                | this is an associated function, not a method
[INFO] [stdout]    |                                                help: use associated function syntax instead: `Rc::<T>::downgrade(&x)`
[INFO] [stdout]    |
[INFO] [stdout]    = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout]    = note: the candidate is defined in an impl for the type `Rc<T, A>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: expected `RcListIter<u8>` to be an iterator that yields `&_`, but it yields `Rc<Node<u8>>`
[INFO] [stdout]    --> src/test.rs:12:41
[INFO] [stdout]     |
[INFO] [stdout] 12  |     let vempty : Vec<u8> = empty.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                         ^^^^^^ type mismatch resolving `<RcListIter<u8> as Iterator>::Item == &_`
[INFO] [stdout]     |
[INFO] [stdout] note: expected this to be `&_`
[INFO] [stdout]    --> src/lib.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |     type Item = Rc<Node<T>>;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Rc<Node<u8>>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]    --> src/test.rs:12:34
[INFO] [stdout]     |
[INFO] [stdout] 5   |     let empty = RcList::new();
[INFO] [stdout]     |                 ------------- this expression has type `RcList<u8>`
[INFO] [stdout] ...
[INFO] [stdout] 12  |     let vempty : Vec<u8> = empty.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                  ^^^^^^ `Iterator::Item` is `Rc<Node<u8>>` here
[INFO] [stdout] note: required by a bound in `cloned`
[INFO] [stdout]    --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/core/src/iter/traits/iterator.rs:3409:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned<RcListIter<u8>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/test.rs:12:50
[INFO] [stdout]     |
[INFO] [stdout] 12  |     let vempty : Vec<u8> = empty.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                                  ^^^^^^ method cannot be called on `Cloned<RcListIter<u8>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:103:1
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct RcListIter<T: 'static> {
[INFO] [stdout]     | --------------------------------- doesn't satisfy `<RcListIter<u8> as std::iter::Iterator>::Item = &_`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<RcListIter<u8> as std::iter::Iterator>::Item = &_`
[INFO] [stdout]             which is required by `Cloned<RcListIter<u8>>: std::iter::Iterator`
[INFO] [stdout]             `Cloned<RcListIter<u8>>: std::iter::Iterator`
[INFO] [stdout]             which is required by `&mut Cloned<RcListIter<u8>>: std::iter::Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rclist` (lib) due to 1 previous error; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0271]: expected `RcListIter<u8>` to be an iterator that yields `&_`, but it yields `Rc<Node<u8>>`
[INFO] [stdout]    --> src/test.rs:13:34
[INFO] [stdout]     |
[INFO] [stdout] 13  |     let v1 : Vec<u8> = s1.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                  ^^^^^^ type mismatch resolving `<RcListIter<u8> as Iterator>::Item == &_`
[INFO] [stdout]     |
[INFO] [stdout] note: expected this to be `&_`
[INFO] [stdout]    --> src/lib.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |     type Item = Rc<Node<T>>;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Rc<Node<u8>>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]    --> src/test.rs:13:27
[INFO] [stdout]     |
[INFO] [stdout] 9   |     let s1 = RcList::new_append(3, &s);
[INFO] [stdout]     |              ------------------------- this expression has type `RcList<u8>`
[INFO] [stdout] ...
[INFO] [stdout] 13  |     let v1 : Vec<u8> = s1.iter().cloned().cloned().collect();
[INFO] [stdout]     |                           ^^^^^^ `Iterator::Item` is `Rc<Node<u8>>` here
[INFO] [stdout] note: required by a bound in `cloned`
[INFO] [stdout]    --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/core/src/iter/traits/iterator.rs:3409:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned<RcListIter<u8>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/test.rs:13:43
[INFO] [stdout]     |
[INFO] [stdout] 13  |     let v1 : Vec<u8> = s1.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                           ^^^^^^ method cannot be called on `Cloned<RcListIter<u8>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:103:1
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct RcListIter<T: 'static> {
[INFO] [stdout]     | --------------------------------- doesn't satisfy `<RcListIter<u8> as std::iter::Iterator>::Item = &_`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<RcListIter<u8> as std::iter::Iterator>::Item = &_`
[INFO] [stdout]             which is required by `Cloned<RcListIter<u8>>: std::iter::Iterator`
[INFO] [stdout]             `Cloned<RcListIter<u8>>: std::iter::Iterator`
[INFO] [stdout]             which is required by `&mut Cloned<RcListIter<u8>>: std::iter::Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: expected `RcListIter<u8>` to be an iterator that yields `&_`, but it yields `Rc<Node<u8>>`
[INFO] [stdout]    --> src/test.rs:14:34
[INFO] [stdout]     |
[INFO] [stdout] 14  |     let v2 : Vec<u8> = s2.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                  ^^^^^^ type mismatch resolving `<RcListIter<u8> as Iterator>::Item == &_`
[INFO] [stdout]     |
[INFO] [stdout] note: expected this to be `&_`
[INFO] [stdout]    --> src/lib.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |     type Item = Rc<Node<T>>;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Rc<Node<u8>>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]    --> src/test.rs:14:27
[INFO] [stdout]     |
[INFO] [stdout] 10  |     let s2 = RcList::new_append(4, &s);
[INFO] [stdout]     |              ------------------------- this expression has type `RcList<u8>`
[INFO] [stdout] ...
[INFO] [stdout] 14  |     let v2 : Vec<u8> = s2.iter().cloned().cloned().collect();
[INFO] [stdout]     |                           ^^^^^^ `Iterator::Item` is `Rc<Node<u8>>` here
[INFO] [stdout] note: required by a bound in `cloned`
[INFO] [stdout]    --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/core/src/iter/traits/iterator.rs:3409:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned<RcListIter<u8>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/test.rs:14:43
[INFO] [stdout]     |
[INFO] [stdout] 14  |     let v2 : Vec<u8> = s2.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                           ^^^^^^ method cannot be called on `Cloned<RcListIter<u8>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:103:1
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct RcListIter<T: 'static> {
[INFO] [stdout]     | --------------------------------- doesn't satisfy `<RcListIter<u8> as std::iter::Iterator>::Item = &_`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<RcListIter<u8> as std::iter::Iterator>::Item = &_`
[INFO] [stdout]             which is required by `Cloned<RcListIter<u8>>: std::iter::Iterator`
[INFO] [stdout]             `Cloned<RcListIter<u8>>: std::iter::Iterator`
[INFO] [stdout]             which is required by `&mut Cloned<RcListIter<u8>>: std::iter::Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: expected `RcListIter<&str>` to be an iterator that yields `&_`, but it yields `Rc<Node<&str>>`
[INFO] [stdout]    --> src/test.rs:30:43
[INFO] [stdout]     |
[INFO] [stdout] 30  |     let vempty : Vec<&str> = empty.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                           ^^^^^^ type mismatch resolving `<RcListIter<&str> as Iterator>::Item == &_`
[INFO] [stdout]     |
[INFO] [stdout] note: expected this to be `&_`
[INFO] [stdout]    --> src/lib.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |     type Item = Rc<Node<T>>;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Rc<Node<&str>>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]    --> src/test.rs:30:36
[INFO] [stdout]     |
[INFO] [stdout] 23  |     let empty = RcList::new();
[INFO] [stdout]     |                 ------------- this expression has type `RcList<&str>`
[INFO] [stdout] ...
[INFO] [stdout] 30  |     let vempty : Vec<&str> = empty.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                    ^^^^^^ `Iterator::Item` is `Rc<Node<&str>>` here
[INFO] [stdout] note: required by a bound in `cloned`
[INFO] [stdout]    --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/core/src/iter/traits/iterator.rs:3409:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned<RcListIter<&str>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/test.rs:30:52
[INFO] [stdout]     |
[INFO] [stdout] 30  |     let vempty : Vec<&str> = empty.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                                    ^^^^^^ method cannot be called on `Cloned<RcListIter<&str>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:103:1
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct RcListIter<T: 'static> {
[INFO] [stdout]     | --------------------------------- doesn't satisfy `<_ as Iterator>::Item = &_`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<RcListIter<&str> as std::iter::Iterator>::Item = &_`
[INFO] [stdout]             which is required by `Cloned<RcListIter<&str>>: std::iter::Iterator`
[INFO] [stdout]             `Cloned<RcListIter<&str>>: std::iter::Iterator`
[INFO] [stdout]             which is required by `&mut Cloned<RcListIter<&str>>: std::iter::Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: expected `RcListIter<&str>` to be an iterator that yields `&_`, but it yields `Rc<Node<&str>>`
[INFO] [stdout]    --> src/test.rs:31:36
[INFO] [stdout]     |
[INFO] [stdout] 31  |     let v1 : Vec<&str> = s1.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                    ^^^^^^ type mismatch resolving `<RcListIter<&str> as Iterator>::Item == &_`
[INFO] [stdout]     |
[INFO] [stdout] note: expected this to be `&_`
[INFO] [stdout]    --> src/lib.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |     type Item = Rc<Node<T>>;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Rc<Node<&str>>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]    --> src/test.rs:31:29
[INFO] [stdout]     |
[INFO] [stdout] 27  |     let s1 = RcList::new_append("3", &s);
[INFO] [stdout]     |              --------------------------- this expression has type `RcList<&str>`
[INFO] [stdout] ...
[INFO] [stdout] 31  |     let v1 : Vec<&str> = s1.iter().cloned().cloned().collect();
[INFO] [stdout]     |                             ^^^^^^ `Iterator::Item` is `Rc<Node<&str>>` here
[INFO] [stdout] note: required by a bound in `cloned`
[INFO] [stdout]    --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/core/src/iter/traits/iterator.rs:3409:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned<RcListIter<&str>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/test.rs:31:45
[INFO] [stdout]     |
[INFO] [stdout] 31  |     let v1 : Vec<&str> = s1.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                             ^^^^^^ method cannot be called on `Cloned<RcListIter<&str>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:103:1
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct RcListIter<T: 'static> {
[INFO] [stdout]     | --------------------------------- doesn't satisfy `<_ as Iterator>::Item = &_`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<RcListIter<&str> as std::iter::Iterator>::Item = &_`
[INFO] [stdout]             which is required by `Cloned<RcListIter<&str>>: std::iter::Iterator`
[INFO] [stdout]             `Cloned<RcListIter<&str>>: std::iter::Iterator`
[INFO] [stdout]             which is required by `&mut Cloned<RcListIter<&str>>: std::iter::Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: expected `RcListIter<&str>` to be an iterator that yields `&_`, but it yields `Rc<Node<&str>>`
[INFO] [stdout]    --> src/test.rs:32:36
[INFO] [stdout]     |
[INFO] [stdout] 32  |     let v2 : Vec<&str> = s2.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                    ^^^^^^ type mismatch resolving `<RcListIter<&str> as Iterator>::Item == &_`
[INFO] [stdout]     |
[INFO] [stdout] note: expected this to be `&_`
[INFO] [stdout]    --> src/lib.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |     type Item = Rc<Node<T>>;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Rc<Node<&str>>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]    --> src/test.rs:32:29
[INFO] [stdout]     |
[INFO] [stdout] 28  |     let s2 = RcList::new_append("4", &s);
[INFO] [stdout]     |              --------------------------- this expression has type `RcList<&str>`
[INFO] [stdout] ...
[INFO] [stdout] 32  |     let v2 : Vec<&str> = s2.iter().cloned().cloned().collect();
[INFO] [stdout]     |                             ^^^^^^ `Iterator::Item` is `Rc<Node<&str>>` here
[INFO] [stdout] note: required by a bound in `cloned`
[INFO] [stdout]    --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/core/src/iter/traits/iterator.rs:3409:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned<RcListIter<&str>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/test.rs:32:45
[INFO] [stdout]     |
[INFO] [stdout] 32  |     let v2 : Vec<&str> = s2.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                             ^^^^^^ method cannot be called on `Cloned<RcListIter<&str>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:103:1
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct RcListIter<T: 'static> {
[INFO] [stdout]     | --------------------------------- doesn't satisfy `<_ as Iterator>::Item = &_`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<RcListIter<&str> as std::iter::Iterator>::Item = &_`
[INFO] [stdout]             which is required by `Cloned<RcListIter<&str>>: std::iter::Iterator`
[INFO] [stdout]             `Cloned<RcListIter<&str>>: std::iter::Iterator`
[INFO] [stdout]             which is required by `&mut Cloned<RcListIter<&str>>: std::iter::Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: expected `RcListIter<String>` to be an iterator that yields `&_`, but it yields `Rc<Node<String>>`
[INFO] [stdout]    --> src/test.rs:49:45
[INFO] [stdout]     |
[INFO] [stdout] 49  |     let vempty : Vec<String> = empty.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                             ^^^^^^ type mismatch resolving `<RcListIter<String> as Iterator>::Item == &_`
[INFO] [stdout]     |
[INFO] [stdout] note: expected this to be `&_`
[INFO] [stdout]    --> src/lib.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |     type Item = Rc<Node<T>>;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Rc<Node<String>>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]    --> src/test.rs:49:38
[INFO] [stdout]     |
[INFO] [stdout] 42  |     let empty = RcList::new();
[INFO] [stdout]     |                 ------------- this expression has type `RcList<String>`
[INFO] [stdout] ...
[INFO] [stdout] 49  |     let vempty : Vec<String> = empty.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                      ^^^^^^ `Iterator::Item` is `Rc<Node<String>>` here
[INFO] [stdout] note: required by a bound in `cloned`
[INFO] [stdout]    --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/core/src/iter/traits/iterator.rs:3409:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned<RcListIter<String>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/test.rs:49:54
[INFO] [stdout]     |
[INFO] [stdout] 49  |     let vempty : Vec<String> = empty.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                                      ^^^^^^ method cannot be called on `Cloned<RcListIter<String>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:103:1
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct RcListIter<T: 'static> {
[INFO] [stdout]     | --------------------------------- doesn't satisfy `<_ as Iterator>::Item = &_`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<RcListIter<String> as std::iter::Iterator>::Item = &_`
[INFO] [stdout]             which is required by `Cloned<RcListIter<String>>: std::iter::Iterator`
[INFO] [stdout]             `Cloned<RcListIter<String>>: std::iter::Iterator`
[INFO] [stdout]             which is required by `&mut Cloned<RcListIter<String>>: std::iter::Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: expected `RcListIter<String>` to be an iterator that yields `&_`, but it yields `Rc<Node<String>>`
[INFO] [stdout]    --> src/test.rs:50:38
[INFO] [stdout]     |
[INFO] [stdout] 50  |     let v1 : Vec<String> = s1.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                      ^^^^^^ type mismatch resolving `<RcListIter<String> as Iterator>::Item == &_`
[INFO] [stdout]     |
[INFO] [stdout] note: expected this to be `&_`
[INFO] [stdout]    --> src/lib.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |     type Item = Rc<Node<T>>;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Rc<Node<String>>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]    --> src/test.rs:50:31
[INFO] [stdout]     |
[INFO] [stdout] 46  |     let s1 = RcList::new_append("3".to_string(), &s);
[INFO] [stdout]     |              --------------------------------------- this expression has type `RcList<String>`
[INFO] [stdout] ...
[INFO] [stdout] 50  |     let v1 : Vec<String> = s1.iter().cloned().cloned().collect();
[INFO] [stdout]     |                               ^^^^^^ `Iterator::Item` is `Rc<Node<String>>` here
[INFO] [stdout] note: required by a bound in `cloned`
[INFO] [stdout]    --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/core/src/iter/traits/iterator.rs:3409:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned<RcListIter<String>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/test.rs:50:47
[INFO] [stdout]     |
[INFO] [stdout] 50  |     let v1 : Vec<String> = s1.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                               ^^^^^^ method cannot be called on `Cloned<RcListIter<String>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:103:1
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct RcListIter<T: 'static> {
[INFO] [stdout]     | --------------------------------- doesn't satisfy `<_ as Iterator>::Item = &_`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<RcListIter<String> as std::iter::Iterator>::Item = &_`
[INFO] [stdout]             which is required by `Cloned<RcListIter<String>>: std::iter::Iterator`
[INFO] [stdout]             `Cloned<RcListIter<String>>: std::iter::Iterator`
[INFO] [stdout]             which is required by `&mut Cloned<RcListIter<String>>: std::iter::Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: expected `RcListIter<String>` to be an iterator that yields `&_`, but it yields `Rc<Node<String>>`
[INFO] [stdout]    --> src/test.rs:51:38
[INFO] [stdout]     |
[INFO] [stdout] 51  |     let v2 : Vec<String> = s2.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                      ^^^^^^ type mismatch resolving `<RcListIter<String> as Iterator>::Item == &_`
[INFO] [stdout]     |
[INFO] [stdout] note: expected this to be `&_`
[INFO] [stdout]    --> src/lib.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |     type Item = Rc<Node<T>>;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Rc<Node<String>>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]    --> src/test.rs:51:31
[INFO] [stdout]     |
[INFO] [stdout] 47  |     let s2 = RcList::new_append("4".to_string(), &s);
[INFO] [stdout]     |              --------------------------------------- this expression has type `RcList<String>`
[INFO] [stdout] ...
[INFO] [stdout] 51  |     let v2 : Vec<String> = s2.iter().cloned().cloned().collect();
[INFO] [stdout]     |                               ^^^^^^ `Iterator::Item` is `Rc<Node<String>>` here
[INFO] [stdout] note: required by a bound in `cloned`
[INFO] [stdout]    --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/core/src/iter/traits/iterator.rs:3409:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned<RcListIter<String>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/test.rs:51:47
[INFO] [stdout]     |
[INFO] [stdout] 51  |     let v2 : Vec<String> = s2.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                               ^^^^^^ method cannot be called on `Cloned<RcListIter<String>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:103:1
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct RcListIter<T: 'static> {
[INFO] [stdout]     | --------------------------------- doesn't satisfy `<_ as Iterator>::Item = &_`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<RcListIter<String> as std::iter::Iterator>::Item = &_`
[INFO] [stdout]             which is required by `Cloned<RcListIter<String>>: std::iter::Iterator`
[INFO] [stdout]             `Cloned<RcListIter<String>>: std::iter::Iterator`
[INFO] [stdout]             which is required by `&mut Cloned<RcListIter<String>>: std::iter::Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: expected `RcListIter<u8>` to be an iterator that yields `&_`, but it yields `Rc<Node<u8>>`
[INFO] [stdout]    --> src/test.rs:74:34
[INFO] [stdout]     |
[INFO] [stdout] 74  |     let v1 : Vec<u8> = s1.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                  ^^^^^^ type mismatch resolving `<RcListIter<u8> as Iterator>::Item == &_`
[INFO] [stdout]     |
[INFO] [stdout] note: expected this to be `&_`
[INFO] [stdout]    --> src/lib.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |     type Item = Rc<Node<T>>;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Rc<Node<u8>>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]    --> src/test.rs:74:27
[INFO] [stdout]     |
[INFO] [stdout] 74  |     let v1 : Vec<u8> = s1.iter().cloned().cloned().collect();
[INFO] [stdout]     |                        -- ^^^^^^ `Iterator::Item` is `Rc<Node<u8>>` here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        this expression has type `RcList<u8>`
[INFO] [stdout] note: required by a bound in `cloned`
[INFO] [stdout]    --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/core/src/iter/traits/iterator.rs:3409:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned<RcListIter<u8>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/test.rs:74:43
[INFO] [stdout]     |
[INFO] [stdout] 74  |     let v1 : Vec<u8> = s1.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                           ^^^^^^ method cannot be called on `Cloned<RcListIter<u8>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:103:1
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct RcListIter<T: 'static> {
[INFO] [stdout]     | --------------------------------- doesn't satisfy `<RcListIter<u8> as std::iter::Iterator>::Item = &_`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<RcListIter<u8> as std::iter::Iterator>::Item = &_`
[INFO] [stdout]             which is required by `Cloned<RcListIter<u8>>: std::iter::Iterator`
[INFO] [stdout]             `Cloned<RcListIter<u8>>: std::iter::Iterator`
[INFO] [stdout]             which is required by `&mut Cloned<RcListIter<u8>>: std::iter::Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: expected `RcListIter<u8>` to be an iterator that yields `&_`, but it yields `Rc<Node<u8>>`
[INFO] [stdout]    --> src/test.rs:75:34
[INFO] [stdout]     |
[INFO] [stdout] 75  |     let v2 : Vec<u8> = s2.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                  ^^^^^^ type mismatch resolving `<RcListIter<u8> as Iterator>::Item == &_`
[INFO] [stdout]     |
[INFO] [stdout] note: expected this to be `&_`
[INFO] [stdout]    --> src/lib.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |     type Item = Rc<Node<T>>;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `Rc<Node<u8>>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]    --> src/test.rs:75:27
[INFO] [stdout]     |
[INFO] [stdout] 75  |     let v2 : Vec<u8> = s2.iter().cloned().cloned().collect();
[INFO] [stdout]     |                        -- ^^^^^^ `Iterator::Item` is `Rc<Node<u8>>` here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        this expression has type `RcList<u8>`
[INFO] [stdout] note: required by a bound in `cloned`
[INFO] [stdout]    --> /rustc/39cb3386ddc6c71657418be28dbb3987eea4aa4b/library/core/src/iter/traits/iterator.rs:3409:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned<RcListIter<u8>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/test.rs:75:43
[INFO] [stdout]     |
[INFO] [stdout] 75  |     let v2 : Vec<u8> = s2.iter().cloned().cloned().collect();
[INFO] [stdout]     |                                           ^^^^^^ method cannot be called on `Cloned<RcListIter<u8>>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:103:1
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub struct RcListIter<T: 'static> {
[INFO] [stdout]     | --------------------------------- doesn't satisfy `<RcListIter<u8> as std::iter::Iterator>::Item = &_`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `<RcListIter<u8> as std::iter::Iterator>::Item = &_`
[INFO] [stdout]             which is required by `Cloned<RcListIter<u8>>: std::iter::Iterator`
[INFO] [stdout]             `Cloned<RcListIter<u8>>: std::iter::Iterator`
[INFO] [stdout]             which is required by `&mut Cloned<RcListIter<u8>>: std::iter::Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0271, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rclist` (lib test) due to 23 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "fba24ee11227c0de39a3a5c46889c0c5a802893dcc3cf5e6c7b9f09969e38978", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fba24ee11227c0de39a3a5c46889c0c5a802893dcc3cf5e6c7b9f09969e38978", kill_on_drop: false }`
[INFO] [stdout] fba24ee11227c0de39a3a5c46889c0c5a802893dcc3cf5e6c7b9f09969e38978
