[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] documenting mreboland/rustTraitsGenerics against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustTraitsGenerics" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mreboland/rustTraitsGenerics on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.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-27/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.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44aad87ca9d4176b9d642e08324fa1a741c4474d419ff3c46aede4a3f1bc39bd [INFO] running `Command { std: "docker" "start" "-a" "44aad87ca9d4176b9d642e08324fa1a741c4474d419ff3c46aede4a3f1bc39bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44aad87ca9d4176b9d642e08324fa1a741c4474d419ff3c46aede4a3f1bc39bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44aad87ca9d4176b9d642e08324fa1a741c4474d419ff3c46aede4a3f1bc39bd", kill_on_drop: false }` [INFO] [stdout] 44aad87ca9d4176b9d642e08324fa1a741c4474d419ff3c46aede4a3f1bc39bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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" "RUSTDOCFLAGS=--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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c39edce21fc85d28acd78cb2ad3f231276dcb555f0c8965e288dedb74da11451 [INFO] running `Command { std: "docker" "start" "-a" "c39edce21fc85d28acd78cb2ad3f231276dcb555f0c8965e288dedb74da11451", kill_on_drop: false }` [INFO] [stderr] Documenting 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] [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] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0255, E0586, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0255`. [INFO] [stdout] [INFO] [stderr] error: could not document `traits_generics` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name traits_generics src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=30ab528b126ccd17 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "c39edce21fc85d28acd78cb2ad3f231276dcb555f0c8965e288dedb74da11451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c39edce21fc85d28acd78cb2ad3f231276dcb555f0c8965e288dedb74da11451", kill_on_drop: false }` [INFO] [stdout] c39edce21fc85d28acd78cb2ad3f231276dcb555f0c8965e288dedb74da11451