[INFO] cloning repository https://github.com/mreboland/rustTraitsGenerics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mreboland/rustTraitsGenerics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustTraitsGenerics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustTraitsGenerics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 484201f2259c78579a7943dcb8b1f1d9a3632acd [INFO] testing mreboland/rustTraitsGenerics against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustTraitsGenerics" "/workspace/builds/worker-103/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-103/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mreboland/rustTraitsGenerics on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mreboland/rustTraitsGenerics [INFO] finished tweaking git repo https://github.com/mreboland/rustTraitsGenerics [INFO] tweaked toml for git repo https://github.com/mreboland/rustTraitsGenerics written to /workspace/builds/worker-103/source/Cargo.toml [INFO] crate git repo https://github.com/mreboland/rustTraitsGenerics already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf5be51b563251a9bfeb9a627f19031d6b994c8d3b10ee258e2e29425b32a2ff [INFO] running `Command { std: "docker" "start" "-a" "bf5be51b563251a9bfeb9a627f19031d6b994c8d3b10ee258e2e29425b32a2ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf5be51b563251a9bfeb9a627f19031d6b994c8d3b10ee258e2e29425b32a2ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf5be51b563251a9bfeb9a627f19031d6b994c8d3b10ee258e2e29425b32a2ff", kill_on_drop: false }` [INFO] [stdout] bf5be51b563251a9bfeb9a627f19031d6b994c8d3b10ee258e2e29425b32a2ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10f95d1b9763f6bcdddb1d3c2842a05c18e2f3deacca2237f4bf7ae6a94fea8f [INFO] running `Command { std: "docker" "start" "-a" "10f95d1b9763f6bcdddb1d3c2842a05c18e2f3deacca2237f4bf7ae6a94fea8f", kill_on_drop: false }` [INFO] [stderr] Compiling traits_generics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/main.rs:21:61 [INFO] [stdout] | [INFO] [stdout] 21 | fn write_all(&mut self, buf: &[u8]) -> Result<()> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 21 | fn write_all(&mut self, buf: &[u8]) -> Result<()> { .. } [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 21 | fn write_all(&mut self, buf: &[u8]) -> Result<()> { ..= } [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `traits_generics` due to 13 previous errors; 3 warnings emitted [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/main.rs:21:61 [INFO] [stdout] | [INFO] [stdout] 21 | fn write_all(&mut self, buf: &[u8]) -> Result<()> { ... } [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 17 | trait Write { [INFO] [stdout] | - item list starts here [INFO] [stdout] ... [INFO] [stdout] 22 | ... [INFO] [stdout] | ^^^ non-item starts here [INFO] [stdout] 23 | } [INFO] [stdout] | - item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: range-to patterns with `...` are not allowed [INFO] [stdout] --> src/main.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | let mut... [INFO] [stdout] | ^^^ help: use `..=` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `mut` must be followed by a named binding [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut... [INFO] [stdout] | _________^ [INFO] [stdout] 83 | | buf.write... [INFO] [stdout] | |_______^ help: remove the `mut` prefix: `..=buf` [INFO] [stdout] | [INFO] [stdout] = note: `mut` may be followed by `variable` and `variable @ pattern` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `::`, `:`, `;`, `=`, or `|`, found `.` [INFO] [stdout] --> src/main.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | buf.write... [INFO] [stdout] | ^ expected one of `::`, `:`, `;`, `=`, or `|` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `Write` is defined multiple times [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 17 | trait Write { [INFO] [stdout] | ----------- previous definition of the trait `Write` here [INFO] [stdout] ... [INFO] [stdout] 28 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ `Write` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Write` must be defined only once in the type namespace of this block [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 28 | use std::io::Write as OtherWrite; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `Write` is defined multiple times [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 17 | trait Write { [INFO] [stdout] | ----------- previous definition of the trait `Write` here [INFO] [stdout] ... [INFO] [stdout] 80 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ `Write` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Write` must be defined only once in the type namespace of this block [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 80 | use std::io::Write as OtherWrite; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: half-open range patterns are unstable [INFO] [stdout] --> src/main.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | let mut... [INFO] [stdout] | ____________^ [INFO] [stdout] 83 | | buf.write... [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #67264 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | fn say_hello(out: &mut Write) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - fn say_hello(out: &mut Write) -> std::io::Result<()> { [INFO] [stdout] 30 + fn say_hello(out: &mut dyn Write) -> std::io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/main.rs:18:44 [INFO] [stdout] | [INFO] [stdout] 18 | fn write(&mut self, buf: &[u8]) -> Result; [INFO] [stdout] | ^^^^^^ ----- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 18 | fn write(&mut self, buf: &[u8]) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/main.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | fn flush(&mut self) -> Result<()>; [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 19 | fn flush(&mut self) -> Result<(), E>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/main.rs:21:48 [INFO] [stdout] | [INFO] [stdout] 21 | fn write_all(&mut self, buf: &[u8]) -> Result<()> { ... } [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 21 | fn write_all(&mut self, buf: &[u8]) -> Result<(), E> { ... } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0255, E0586, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "10f95d1b9763f6bcdddb1d3c2842a05c18e2f3deacca2237f4bf7ae6a94fea8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10f95d1b9763f6bcdddb1d3c2842a05c18e2f3deacca2237f4bf7ae6a94fea8f", kill_on_drop: false }` [INFO] [stdout] 10f95d1b9763f6bcdddb1d3c2842a05c18e2f3deacca2237f4bf7ae6a94fea8f