[INFO] cloning repository https://github.com/LaurentMazare/ultra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LaurentMazare/ultra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurentMazare%2Fultra", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurentMazare%2Fultra'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2f71eb5eda108f7bb6e3b568b2f56229e0b8cbc [INFO] documenting LaurentMazare/ultra against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurentMazare%2Fultra" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LaurentMazare/ultra on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LaurentMazare/ultra [INFO] finished tweaking git repo https://github.com/LaurentMazare/ultra [INFO] tweaked toml for git repo https://github.com/LaurentMazare/ultra written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/LaurentMazare/ultra already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e5201621a7b653059d17f8a791b90c5f3171ca8d28e1b87fc3f2e5bce75ab9b [INFO] running `Command { std: "docker" "start" "-a" "7e5201621a7b653059d17f8a791b90c5f3171ca8d28e1b87fc3f2e5bce75ab9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e5201621a7b653059d17f8a791b90c5f3171ca8d28e1b87fc3f2e5bce75ab9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e5201621a7b653059d17f8a791b90c5f3171ca8d28e1b87fc3f2e5bce75ab9b", kill_on_drop: false }` [INFO] [stdout] 7e5201621a7b653059d17f8a791b90c5f3171ca8d28e1b87fc3f2e5bce75ab9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 942a08aeb5e7aa75138b9adc949124dcaa9a019b90ebddcf43101afc8a446a3d [INFO] running `Command { std: "docker" "start" "-a" "942a08aeb5e7aa75138b9adc949124dcaa9a019b90ebddcf43101afc8a446a3d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Documenting enigma v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `unstable` [INFO] [stdout] --> src/main.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(unstable)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/encrypt.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | for idx in (0us .. config.rotors.len() - 1) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/encrypt.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | for idx in (0us .. last_gray + 2) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/encrypt.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | for rotor_idx in (0us .. ROTORS.len()) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/cryptanalysis.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | for i in (0us .. n) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/cryptanalysis.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | for idx in (0us .. text.len()) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/cryptanalysis.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 62 | for rotor_config in Product::new(5u8, 3us) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/cryptanalysis.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | for key in Product::new(26u8, 3us) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/cryptanalysis.rs:98:41 [INFO] [stdout] | [INFO] [stdout] 98 | for rings in Product::new(26u8, 3us) { [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/encrypt.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | for idx in (0us .. config.rotors.len() - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - for idx in (0us .. config.rotors.len() - 1) { [INFO] [stdout] 66 + for idx in 0us .. config.rotors.len() - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/encrypt.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | for idx in (0us .. last_gray + 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - for idx in (0us .. last_gray + 2) { [INFO] [stdout] 72 + for idx in 0us .. last_gray + 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/encrypt.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | for rotor_idx in (0us .. ROTORS.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 143 - for rotor_idx in (0us .. ROTORS.len()) { [INFO] [stdout] 143 + for rotor_idx in 0us .. ROTORS.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/cryptanalysis.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | for i in (0us .. n) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - for i in (0us .. n) { [INFO] [stdout] 24 + for i in 0us .. n { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/cryptanalysis.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | for idx in (0us .. text.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 41 - for idx in (0us .. text.len()) { [INFO] [stdout] 41 + for idx in 0us .. text.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `enigma` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name enigma src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=f84fbb33f57e8131 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.0.1` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "942a08aeb5e7aa75138b9adc949124dcaa9a019b90ebddcf43101afc8a446a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "942a08aeb5e7aa75138b9adc949124dcaa9a019b90ebddcf43101afc8a446a3d", kill_on_drop: false }` [INFO] [stdout] 942a08aeb5e7aa75138b9adc949124dcaa9a019b90ebddcf43101afc8a446a3d