[INFO] cloning repository https://github.com/strawbmoe/sterby [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/strawbmoe/sterby" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrawbmoe%2Fsterby", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstrawbmoe%2Fsterby'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 804903703e2234f206de5159485e2146aa53fc31 [INFO] documenting strawbmoe/sterby 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%2Fstrawbmoe%2Fsterby" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 60% (417/692) Updating files: 61% (423/692) Updating files: 62% (430/692) Updating files: 63% (436/692) Updating files: 64% (443/692) Updating files: 65% (450/692) Updating files: 66% (457/692) Updating files: 67% (464/692) Updating files: 68% (471/692) Updating files: 69% (478/692) Updating files: 70% (485/692) Updating files: 71% (492/692) Updating files: 72% (499/692) Updating files: 72% (503/692) Updating files: 73% (506/692) Updating files: 74% (513/692) Updating files: 75% (519/692) Updating files: 76% (526/692) Updating files: 77% (533/692) Updating files: 78% (540/692) Updating files: 79% (547/692) Updating files: 80% (554/692) Updating files: 81% (561/692) Updating files: 82% (568/692) Updating files: 83% (575/692) Updating files: 84% (582/692) Updating files: 85% (589/692) Updating files: 86% (596/692) Updating files: 87% (603/692) Updating files: 88% (609/692) Updating files: 89% (616/692) Updating files: 90% (623/692) Updating files: 91% (630/692) Updating files: 92% (637/692) Updating files: 93% (644/692) Updating files: 94% (651/692) Updating files: 94% (656/692) Updating files: 95% (658/692) Updating files: 96% (665/692) Updating files: 97% (672/692) Updating files: 98% (679/692) Updating files: 99% (686/692) Updating files: 100% (692/692) Updating files: 100% (692/692), done. [INFO] validating manifest of git repo https://github.com/strawbmoe/sterby 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/strawbmoe/sterby [INFO] finished tweaking git repo https://github.com/strawbmoe/sterby [INFO] tweaked toml for git repo https://github.com/strawbmoe/sterby written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/strawbmoe/sterby 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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 519a8663d79f3dbc6222d3d9cf34787c289569f31d0503c885c26a98f30c8803 [INFO] running `Command { std: "docker" "start" "-a" "519a8663d79f3dbc6222d3d9cf34787c289569f31d0503c885c26a98f30c8803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "519a8663d79f3dbc6222d3d9cf34787c289569f31d0503c885c26a98f30c8803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "519a8663d79f3dbc6222d3d9cf34787c289569f31d0503c885c26a98f30c8803", kill_on_drop: false }` [INFO] [stdout] 519a8663d79f3dbc6222d3d9cf34787c289569f31d0503c885c26a98f30c8803 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e991e98cadce7b843c55924a65f79a82efe8e1f10e3f5cac21121df4f0c9114a [INFO] running `Command { std: "docker" "start" "-a" "e991e98cadce7b843c55924a65f79a82efe8e1f10e3f5cac21121df4f0c9114a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking bitflags v1.1.0 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.1 [INFO] [stderr] Documenting sterby v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0435]: attempt to use a non-constant value in a constant [INFO] [stdout] --> src/main.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 47 | let x = GenericImage::get_pixel(1,1); [INFO] [stdout] | ----- help: consider using `const` instead of `let`: `const x` [INFO] [stdout] 48 | let y = [[x];x]; [INFO] [stdout] | ^ non-constant value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found trait `Pixel` [INFO] [stdout] --> src/main.rs:46:66 [INFO] [stdout] | [INFO] [stdout] 46 | fn GetPixelArray(hcf: u32, inputImage:GenericImage) -> [[Pixel]; Pixel]{ [INFO] [stdout] | ^^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | if (width > height){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - if (width > height){ [INFO] [stdout] 10 + if width > height { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | if (height % 2 != 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - if (height % 2 != 0){ [INFO] [stdout] 11 + if height % 2 != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | if (width % 2 != 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - if (width % 2 != 0){ [INFO] [stdout] 22 + if width % 2 != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | if (width % i == 0 && height % i == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - if (width % i == 0 && height % i == 0){ [INFO] [stdout] 39 + if width % i == 0 && height % i == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0435. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not document `sterby` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name sterby 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=8b88b44e63883192 -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-cf16271ef8bb00a0.rmeta --extern image=/opt/rustwide/target/debug/deps/libimage-29c1da94f4d0a759.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "e991e98cadce7b843c55924a65f79a82efe8e1f10e3f5cac21121df4f0c9114a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e991e98cadce7b843c55924a65f79a82efe8e1f10e3f5cac21121df4f0c9114a", kill_on_drop: false }` [INFO] [stdout] e991e98cadce7b843c55924a65f79a82efe8e1f10e3f5cac21121df4f0c9114a