[INFO] fetching crate rclist 0.0.1... [INFO] checking rclist-0.0.1 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate rclist 0.0.1 into /workspace/builds/worker-85/source [INFO] validating manifest of crates.io crate rclist 0.0.1 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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-85/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a13f697ec490b0f6391789ec9a58afac57db33f92711bba8ac2eb3ea7cfee1a9 [INFO] running `Command { std: "docker" "start" "-a" "a13f697ec490b0f6391789ec9a58afac57db33f92711bba8ac2eb3ea7cfee1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a13f697ec490b0f6391789ec9a58afac57db33f92711bba8ac2eb3ea7cfee1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a13f697ec490b0f6391789ec9a58afac57db33f92711bba8ac2eb3ea7cfee1a9", kill_on_drop: false }` [INFO] [stdout] a13f697ec490b0f6391789ec9a58afac57db33f92711bba8ac2eb3ea7cfee1a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b3074fa577be65262ce109b20937b004adb782680e7430eecd24c5251ec4507 [INFO] running `Command { std: "docker" "start" "-a" "5b3074fa577be65262ce109b20937b004adb782680e7430eecd24c5251ec4507", kill_on_drop: false }` [INFO] [stderr] Checking rclist v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `downgrade` found for reference `&Rc` 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::::downgrade` [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` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as std::iter::Iterator>::Item == &_` [INFO] [stdout] --> src/test.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | let vempty : Vec = empty.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected reference, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Rc>` [INFO] [stdout] note: required by a bound in `cloned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/test.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | let vempty : Vec = empty.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct RcListIter { [INFO] [stdout] | --------------------------------- doesn't satisfy ` as std::iter::Iterator>::Item = &_` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `std::iter::Iterator` for `_`: [INFO] [stdout] ` as std::iter::Iterator>::Item = &_` [INFO] [stdout] `Cloned>: std::iter::Iterator` [INFO] [stdout] --> src/lib.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | impl Iterator for RcListIter< T> { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as std::iter::Iterator>::Item == &_` [INFO] [stdout] --> src/test.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | let v1 : Vec = s1.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected reference, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Rc>` [INFO] [stdout] note: required by a bound in `cloned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/test.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | let v1 : Vec = s1.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct RcListIter { [INFO] [stdout] | --------------------------------- doesn't satisfy ` as std::iter::Iterator>::Item = &_` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `std::iter::Iterator` for `_`: [INFO] [stdout] ` as std::iter::Iterator>::Item = &_` [INFO] [stdout] `Cloned>: std::iter::Iterator` [INFO] [stdout] --> src/lib.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | impl Iterator for RcListIter< T> { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as std::iter::Iterator>::Item == &_` [INFO] [stdout] --> src/test.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | let v2 : Vec = s2.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected reference, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Rc>` [INFO] [stdout] note: required by a bound in `cloned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/test.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | let v2 : Vec = s2.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct RcListIter { [INFO] [stdout] | --------------------------------- doesn't satisfy ` as std::iter::Iterator>::Item = &_` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `std::iter::Iterator` for `_`: [INFO] [stdout] ` as std::iter::Iterator>::Item = &_` [INFO] [stdout] `Cloned>: std::iter::Iterator` [INFO] [stdout] --> src/lib.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | impl Iterator for RcListIter< T> { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as std::iter::Iterator>::Item == &_` [INFO] [stdout] --> src/test.rs:30:43 [INFO] [stdout] | [INFO] [stdout] 30 | let vempty : Vec<&str> = empty.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected reference, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Rc>` [INFO] [stdout] note: required by a bound in `cloned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned>`, 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>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct RcListIter { [INFO] [stdout] | --------------------------------- doesn't satisfy `<_ as std::iter::Iterator>::Item = &_` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `std::iter::Iterator` for `_`: [INFO] [stdout] ` as std::iter::Iterator>::Item = &_` [INFO] [stdout] `Cloned>: std::iter::Iterator` [INFO] [stdout] --> src/lib.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | impl Iterator for RcListIter< T> { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as std::iter::Iterator>::Item == &_` [INFO] [stdout] --> src/test.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let v1 : Vec<&str> = s1.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected reference, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Rc>` [INFO] [stdout] note: required by a bound in `cloned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned>`, 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>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct RcListIter { [INFO] [stdout] | --------------------------------- doesn't satisfy `<_ as std::iter::Iterator>::Item = &_` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `std::iter::Iterator` for `_`: [INFO] [stdout] ` as std::iter::Iterator>::Item = &_` [INFO] [stdout] `Cloned>: std::iter::Iterator` [INFO] [stdout] --> src/lib.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | impl Iterator for RcListIter< T> { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as std::iter::Iterator>::Item == &_` [INFO] [stdout] --> src/test.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | let v2 : Vec<&str> = s2.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected reference, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Rc>` [INFO] [stdout] note: required by a bound in `cloned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned>`, 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>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct RcListIter { [INFO] [stdout] | --------------------------------- doesn't satisfy `<_ as std::iter::Iterator>::Item = &_` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `std::iter::Iterator` for `_`: [INFO] [stdout] ` as std::iter::Iterator>::Item = &_` [INFO] [stdout] `Cloned>: std::iter::Iterator` [INFO] [stdout] --> src/lib.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | impl Iterator for RcListIter< T> { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as std::iter::Iterator>::Item == &_` [INFO] [stdout] --> src/test.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | let vempty : Vec = empty.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected reference, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Rc>` [INFO] [stdout] note: required by a bound in `cloned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/test.rs:49:54 [INFO] [stdout] | [INFO] [stdout] 49 | let vempty : Vec = empty.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct RcListIter { [INFO] [stdout] | --------------------------------- doesn't satisfy `<_ as std::iter::Iterator>::Item = &_` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `std::iter::Iterator` for `_`: [INFO] [stdout] ` as std::iter::Iterator>::Item = &_` [INFO] [stdout] `Cloned>: std::iter::Iterator` [INFO] [stdout] --> src/lib.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | impl Iterator for RcListIter< T> { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as std::iter::Iterator>::Item == &_` [INFO] [stdout] --> src/test.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | let v1 : Vec = s1.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected reference, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Rc>` [INFO] [stdout] note: required by a bound in `cloned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/test.rs:50:47 [INFO] [stdout] | [INFO] [stdout] 50 | let v1 : Vec = s1.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct RcListIter { [INFO] [stdout] | --------------------------------- doesn't satisfy `<_ as std::iter::Iterator>::Item = &_` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `std::iter::Iterator` for `_`: [INFO] [stdout] ` as std::iter::Iterator>::Item = &_` [INFO] [stdout] `Cloned>: std::iter::Iterator` [INFO] [stdout] --> src/lib.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | impl Iterator for RcListIter< T> { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as std::iter::Iterator>::Item == &_` [INFO] [stdout] --> src/test.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | let v2 : Vec = s2.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected reference, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Rc>` [INFO] [stdout] note: required by a bound in `cloned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/test.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | let v2 : Vec = s2.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct RcListIter { [INFO] [stdout] | --------------------------------- doesn't satisfy `<_ as std::iter::Iterator>::Item = &_` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `std::iter::Iterator` for `_`: [INFO] [stdout] ` as std::iter::Iterator>::Item = &_` [INFO] [stdout] `Cloned>: std::iter::Iterator` [INFO] [stdout] --> src/lib.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | impl Iterator for RcListIter< T> { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as std::iter::Iterator>::Item == &_` [INFO] [stdout] --> src/test.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | let v1 : Vec = s1.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected reference, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Rc>` [INFO] [stdout] note: required by a bound in `cloned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/test.rs:74:43 [INFO] [stdout] | [INFO] [stdout] 74 | let v1 : Vec = s1.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct RcListIter { [INFO] [stdout] | --------------------------------- doesn't satisfy ` as std::iter::Iterator>::Item = &_` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `std::iter::Iterator` for `_`: [INFO] [stdout] ` as std::iter::Iterator>::Item = &_` [INFO] [stdout] `Cloned>: std::iter::Iterator` [INFO] [stdout] --> src/lib.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | impl Iterator for RcListIter< T> { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as std::iter::Iterator>::Item == &_` [INFO] [stdout] --> src/test.rs:75:34 [INFO] [stdout] | [INFO] [stdout] 75 | let v2 : Vec = s2.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ expected reference, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Rc>` [INFO] [stdout] note: required by a bound in `cloned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cloned` exists for struct `Cloned>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/test.rs:75:43 [INFO] [stdout] | [INFO] [stdout] 75 | let v2 : Vec = s2.iter().cloned().cloned().collect(); [INFO] [stdout] | ^^^^^^ method cannot be called on `Cloned>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct RcListIter { [INFO] [stdout] | --------------------------------- doesn't satisfy ` as std::iter::Iterator>::Item = &_` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `std::iter::Iterator` for `_`: [INFO] [stdout] ` as std::iter::Iterator>::Item = &_` [INFO] [stdout] `Cloned>: std::iter::Iterator` [INFO] [stdout] --> src/lib.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | impl Iterator for RcListIter< T> { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [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` due to 24 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `downgrade` found for reference `&Rc` 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::::downgrade` [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` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5b3074fa577be65262ce109b20937b004adb782680e7430eecd24c5251ec4507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b3074fa577be65262ce109b20937b004adb782680e7430eecd24c5251ec4507", kill_on_drop: false }` [INFO] [stdout] 5b3074fa577be65262ce109b20937b004adb782680e7430eecd24c5251ec4507