[INFO] fetching crate intertwine 0.0.1... [INFO] checking intertwine-0.0.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate intertwine 0.0.1 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate intertwine 0.0.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate intertwine 0.0.1 [INFO] finished tweaking crates.io crate intertwine 0.0.1 [INFO] tweaked toml for crates.io crate intertwine 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cb379452a6b51a5a39daec5195d388cbee7b5b702cc6e6aa5a7b21e80412ef4 [INFO] running `Command { std: "docker" "start" "-a" "1cb379452a6b51a5a39daec5195d388cbee7b5b702cc6e6aa5a7b21e80412ef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cb379452a6b51a5a39daec5195d388cbee7b5b702cc6e6aa5a7b21e80412ef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cb379452a6b51a5a39daec5195d388cbee7b5b702cc6e6aa5a7b21e80412ef4", kill_on_drop: false }` [INFO] [stdout] 1cb379452a6b51a5a39daec5195d388cbee7b5b702cc6e6aa5a7b21e80412ef4 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdcfc0d971857b77b71c67e2647c81d59ce76e3af9aa80f78bfee5405be2c520 [INFO] running `Command { std: "docker" "start" "-a" "bdcfc0d971857b77b71c67e2647c81d59ce76e3af9aa80f78bfee5405be2c520", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking intertwine v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> src/lib.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | spawn(proc() { [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `{` [INFO] [stdout] --> src/lib.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | spawn(proc() { [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::comm` [INFO] [stdout] --> src/lib.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use std::comm::Receiver; [INFO] [stdout] | ^^^^ could not find `comm` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::comm` [INFO] [stdout] --> src/lib.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use std::comm::Receiver; [INFO] [stdout] | ^^^^ could not find `comm` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `license` in this scope [INFO] [stdout] --> src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | #![license = "MIT"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `license` in this scope [INFO] [stdout] --> src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | #![license = "MIT"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `channel` in this scope [INFO] [stdout] --> src/lib.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | let (tx, rx) = channel(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 + use std::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | spawn(proc() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `channel` in this scope [INFO] [stdout] --> src/lib.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | let (tx, rx) = channel(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 + use std::sync::mpsc::channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | spawn(proc() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl + Send, II: Iterator> Intertwine for II { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] help: replace the generic bound with the associated type [INFO] [stdout] | [INFO] [stdout] 20 | impl + Send, II: Iterator> Intertwine for II { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | impl + Send, II: Iterator> Intertwine for II { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] help: replace the generic bound with the associated type [INFO] [stdout] | [INFO] [stdout] 20 | impl + Send, II: Iterator> Intertwine for II { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl + Send, II: Iterator> Intertwine for II { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] help: replace the generic bound with the associated type [INFO] [stdout] | [INFO] [stdout] 20 | impl + Send, II: Iterator> Intertwine for II { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0207]: the type parameter `I` is not constrained by the impl trait, self type, or predicates [INFO] [stdout] --> src/lib.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | impl + Send, II: Iterator> Intertwine for II { [INFO] [stdout] | ^ unconstrained type parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | impl + Send, II: Iterator> Intertwine for II { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] | [INFO] [stdout] help: replace the generic bound with the associated type [INFO] [stdout] | [INFO] [stdout] 20 | impl + Send, II: Iterator> Intertwine for II { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | impl Iterator for Intertwined { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0207]: the type parameter `I` is not constrained by the impl trait, self type, or predicates [INFO] [stdout] --> src/lib.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | impl + Send, II: Iterator> Intertwine for II { [INFO] [stdout] | ^ unconstrained type parameter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 0 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | impl Iterator for Intertwined { [INFO] [stdout] | ^^^^^^^^ expected 0 generic arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item` [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | impl Iterator for Intertwined { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Item = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Item` [INFO] [stdout] --> src/lib.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | impl Iterator for Intertwined { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Item` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Item = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `T` cannot be sent between threads safely [INFO] [stdout] --> src/lib.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | fn intertwine(self) -> Intertwined; [INFO] [stdout] | ^^^^^^^^^^^^^^ `T` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Intertwined` [INFO] [stdout] --> src/lib.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Intertwined { [INFO] [stdout] | ^^^^ required by this bound in `Intertwined` [INFO] [stdout] help: consider restricting type parameter `T` [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Intertwine { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `T` cannot be sent between threads safely [INFO] [stdout] --> src/lib.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | fn intertwine(self) -> Intertwined; [INFO] [stdout] | ^^^^^^^^^^^^^^ `T` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Intertwined` [INFO] [stdout] --> src/lib.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Intertwined { [INFO] [stdout] | ^^^^ required by this bound in `Intertwined` [INFO] [stdout] help: consider restricting type parameter `T` [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Intertwine { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/lib.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | spawn(proc() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `proc` in this scope [INFO] [stdout] --> src/lib.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | spawn(proc() { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `::Item` is not an iterator [INFO] [stdout] --> src/lib.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | for x in iterator { [INFO] [stdout] | ^^^^^^^^ `::Item` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `::Item`, which is required by `::Item: IntoIterator` [INFO] [stdout] = note: required for `::Item` to implement `IntoIterator` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 21 | fn intertwine(mut self) -> Intertwined where ::Item: Iterator { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `::Item` is not an iterator [INFO] [stdout] --> src/lib.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | for x in iterator { [INFO] [stdout] | ^^^^^^^^ `::Item` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `::Item`, which is required by `::Item: IntoIterator` [INFO] [stdout] = note: required for `::Item` to implement `IntoIterator` [INFO] [stdout] help: consider further restricting the associated type [INFO] [stdout] | [INFO] [stdout] 21 | fn intertwine(mut self) -> Intertwined where ::Item: Iterator { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0207, E0277, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0207, E0277, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `intertwine` (lib) due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `intertwine` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "bdcfc0d971857b77b71c67e2647c81d59ce76e3af9aa80f78bfee5405be2c520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdcfc0d971857b77b71c67e2647c81d59ce76e3af9aa80f78bfee5405be2c520", kill_on_drop: false }` [INFO] [stdout] bdcfc0d971857b77b71c67e2647c81d59ce76e3af9aa80f78bfee5405be2c520