[INFO] cloning repository https://github.com/Tobba/coreio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tobba/coreio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTobba%2Fcoreio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTobba%2Fcoreio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39c4cdaf595e20c5723be2b24d922898e944ae3f [INFO] checking Tobba/coreio/39c4cdaf595e20c5723be2b24d922898e944ae3f against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTobba%2Fcoreio" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tobba/coreio 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 git repo https://github.com/Tobba/coreio [INFO] finished tweaking git repo https://github.com/Tobba/coreio [INFO] tweaked toml for git repo https://github.com/Tobba/coreio written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Tobba/coreio 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" "+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] 65f9dad68886d9cb3cc2ef4c973a18733542e7e440886fa5c147aa4a902d8a9a [INFO] running `Command { std: "docker" "start" "-a" "65f9dad68886d9cb3cc2ef4c973a18733542e7e440886fa5c147aa4a902d8a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65f9dad68886d9cb3cc2ef4c973a18733542e7e440886fa5c147aa4a902d8a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65f9dad68886d9cb3cc2ef4c973a18733542e7e440886fa5c147aa4a902d8a9a", kill_on_drop: false }` [INFO] [stdout] 65f9dad68886d9cb3cc2ef4c973a18733542e7e440886fa5c147aa4a902d8a9a [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] 5fbaf0cb507d7d7af14e97870c7c71e0e8a7e90f35a23e71cd83a4dc080b6c90 [INFO] running `Command { std: "docker" "start" "-a" "5fbaf0cb507d7d7af14e97870c7c71e0e8a7e90f35a23e71cd83a4dc080b6c90", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking coreio v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `core::slice::bytes` [INFO] [stdout] --> lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use core::slice::bytes::copy_memory; [INFO] [stdout] | ^^^^^ could not find `bytes` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::slice::bytes` [INFO] [stdout] --> lib.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use core::slice::bytes::copy_memory; [INFO] [stdout] | ^^^^^ could not find `bytes` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `no_std` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(no_std)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `core_slice_ext` [INFO] [stdout] --> lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(core_slice_ext, slice_bytes)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `no_std` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(no_std)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `slice_bytes` [INFO] [stdout] --> lib.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(core_slice_ext, slice_bytes)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `core_slice_ext` [INFO] [stdout] --> lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(core_slice_ext, slice_bytes)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `slice_bytes` [INFO] [stdout] --> lib.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(core_slice_ext, slice_bytes)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: defaults for type parameters are only allowed in `struct`, `enum`, `type`, or `trait` definitions [INFO] [stdout] --> lib.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | fn read_all::Err>(&mut self, buf: &mut [u8]) -> Result<(), E> where E: From + From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #36887 [INFO] [stdout] = note: `#[deny(invalid_type_param_default)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: defaults for type parameters are only allowed in `struct`, `enum`, `type`, or `trait` definitions [INFO] [stdout] --> lib.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | fn write_all::Err>(&mut self, mut buf: &[u8]) -> Result<(), E> where E: From + From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #36887 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: defaults for type parameters are only allowed in `struct`, `enum`, `type`, or `trait` definitions [INFO] [stdout] --> lib.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | fn read_all::Err>(&mut self, buf: &mut [u8]) -> Result<(), E> where E: From + From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #36887 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: defaults for type parameters are only allowed in `struct`, `enum`, `type`, or `trait` definitions [INFO] [stdout] --> lib.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | fn write_all::Err>(&mut self, buf: &[u8]) -> Result<(), E> where E: From + From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #36887 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: defaults for type parameters are only allowed in `struct`, `enum`, `type`, or `trait` definitions [INFO] [stdout] --> lib.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | fn read_all::Err>(&mut self, buf: &mut [u8]) -> Result<(), E> where E: From + From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #36887 [INFO] [stdout] = note: `#[deny(invalid_type_param_default)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: defaults for type parameters are only allowed in `struct`, `enum`, `type`, or `trait` definitions [INFO] [stdout] --> lib.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | fn write_all::Err>(&mut self, mut buf: &[u8]) -> Result<(), E> where E: From + From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #36887 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: defaults for type parameters are only allowed in `struct`, `enum`, `type`, or `trait` definitions [INFO] [stdout] --> lib.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | fn read_all::Err>(&mut self, buf: &mut [u8]) -> Result<(), E> where E: From + From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #36887 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: defaults for type parameters are only allowed in `struct`, `enum`, `type`, or `trait` definitions [INFO] [stdout] --> lib.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | fn write_all::Err>(&mut self, buf: &[u8]) -> Result<(), E> where E: From + From { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #36887 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `coreio` (lib) due to 12 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `coreio` (lib test) due to 12 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "5fbaf0cb507d7d7af14e97870c7c71e0e8a7e90f35a23e71cd83a4dc080b6c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fbaf0cb507d7d7af14e97870c7c71e0e8a7e90f35a23e71cd83a4dc080b6c90", kill_on_drop: false }` [INFO] [stdout] 5fbaf0cb507d7d7af14e97870c7c71e0e8a7e90f35a23e71cd83a4dc080b6c90