[INFO] cloning repository https://github.com/baskerville/plato [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/baskerville/plato" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaskerville%2Fplato", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaskerville%2Fplato'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a158a47e072fb49173950c8ecd2451b06f5b7a3c [INFO] checking baskerville/plato against try#7b3565da729099dbe807466fcd118fb2815986e0 for pr-81789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaskerville%2Fplato" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/baskerville/plato on toolchain 7b3565da729099dbe807466fcd118fb2815986e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/.cargo/config [INFO] started tweaking git repo https://github.com/baskerville/plato [INFO] finished tweaking git repo https://github.com/baskerville/plato [INFO] tweaked toml for git repo https://github.com/baskerville/plato written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/baskerville/plato already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "fetch" "--locked" "--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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2e6dee802f3d0e409572b6733224899155e8c7ab1c2b531ab4ed28e749f8084 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c2e6dee802f3d0e409572b6733224899155e8c7ab1c2b531ab4ed28e749f8084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2e6dee802f3d0e409572b6733224899155e8c7ab1c2b531ab4ed28e749f8084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2e6dee802f3d0e409572b6733224899155e8c7ab1c2b531ab4ed28e749f8084", kill_on_drop: false }` [INFO] [stdout] c2e6dee802f3d0e409572b6733224899155e8c7ab1c2b531ab4ed28e749f8084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7b3565da729099dbe807466fcd118fb2815986e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74845e9e10dbcd16c978b25b48a7462d4d8357f6c385316a0c20e3d6cb0cd599 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "74845e9e10dbcd16c978b25b48a7462d4d8357f6c385316a0c20e3d6cb0cd599", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.62 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling plato v0.9.16 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking septem v1.1.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking paragraph-breaker v0.4.3 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking flate2 v1.0.14 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Checking titlecase v1.1.0 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking zip v0.5.11 [INFO] [stderr] Checking atlatl v0.1.2 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking kl-hyphenate-commons v0.7.3 [INFO] [stderr] Compiling kl-hyphenate v0.7.3 [INFO] [stdout] error: casting pointer to `i32` [INFO] [stdout] --> src/document/djvu.rs:181:41 [INFO] [stdout] | [INFO] [stdout] 181 | ... let x_min = miniexp_nth(1, area) as i32 >> 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i32`, cast to `usize` first: `miniexp_nth(1, area) as usize as i32` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(invalid_ptr_to_int_cast)]` on by default [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i32` [INFO] [stdout] --> src/document/djvu.rs:182:51 [INFO] [stdout] | [INFO] [stdout] 182 | ... let y_max = height - (miniexp_nth(2, area) as i32 >> 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i32`, cast to `usize` first: `miniexp_nth(2, area) as usize as i32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i32` [INFO] [stdout] --> src/document/djvu.rs:183:43 [INFO] [stdout] | [INFO] [stdout] 183 | ... let r_width = miniexp_nth(3, area) as i32 >> 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i32`, cast to `usize` first: `miniexp_nth(3, area) as usize as i32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i32` [INFO] [stdout] --> src/document/djvu.rs:184:44 [INFO] [stdout] | [INFO] [stdout] 184 | ... let r_height = miniexp_nth(4, area) as i32 >> 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i32`, cast to `usize` first: `miniexp_nth(4, area) as usize as i32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i32` [INFO] [stdout] --> src/document/djvu.rs:300:29 [INFO] [stdout] | [INFO] [stdout] 300 | let x_min = miniexp_nth(1, exp) as i32 >> 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i32`, cast to `usize` first: `miniexp_nth(1, exp) as usize as i32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i32` [INFO] [stdout] --> src/document/djvu.rs:301:39 [INFO] [stdout] | [INFO] [stdout] 301 | let y_max = height - (miniexp_nth(2, exp) as i32 >> 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i32`, cast to `usize` first: `miniexp_nth(2, exp) as usize as i32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i32` [INFO] [stdout] --> src/document/djvu.rs:302:29 [INFO] [stdout] | [INFO] [stdout] 302 | let x_max = miniexp_nth(3, exp) as i32 >> 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i32`, cast to `usize` first: `miniexp_nth(3, exp) as usize as i32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i32` [INFO] [stdout] --> src/document/djvu.rs:303:39 [INFO] [stdout] | [INFO] [stdout] 303 | let y_min = height - (miniexp_nth(4, exp) as i32 >> 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i32`, cast to `usize` first: `miniexp_nth(4, exp) as usize as i32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i32` [INFO] [stdout] --> src/document/djvu.rs:181:41 [INFO] [stdout] | [INFO] [stdout] 181 | ... let x_min = miniexp_nth(1, area) as i32 >> 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i32`, cast to `usize` first: `miniexp_nth(1, area) as usize as i32` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(invalid_ptr_to_int_cast)]` on by default [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i32` [INFO] [stdout] --> src/document/djvu.rs:182:51 [INFO] [stdout] | [INFO] [stdout] 182 | ... let y_max = height - (miniexp_nth(2, area) as i32 >> 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i32`, cast to `usize` first: `miniexp_nth(2, area) as usize as i32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i32` [INFO] [stdout] --> src/document/djvu.rs:183:43 [INFO] [stdout] | [INFO] [stdout] 183 | ... let r_width = miniexp_nth(3, area) as i32 >> 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i32`, cast to `usize` first: `miniexp_nth(3, area) as usize as i32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i32` [INFO] [stdout] --> src/document/djvu.rs:184:44 [INFO] [stdout] | [INFO] [stdout] 184 | ... let r_height = miniexp_nth(4, area) as i32 >> 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i32`, cast to `usize` first: `miniexp_nth(4, area) as usize as i32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i32` [INFO] [stdout] --> src/document/djvu.rs:300:29 [INFO] [stdout] | [INFO] [stdout] 300 | let x_min = miniexp_nth(1, exp) as i32 >> 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i32`, cast to `usize` first: `miniexp_nth(1, exp) as usize as i32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i32` [INFO] [stdout] --> src/document/djvu.rs:301:39 [INFO] [stdout] | [INFO] [stdout] 301 | let y_max = height - (miniexp_nth(2, exp) as i32 >> 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i32`, cast to `usize` first: `miniexp_nth(2, exp) as usize as i32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i32` [INFO] [stdout] --> src/document/djvu.rs:302:29 [INFO] [stdout] | [INFO] [stdout] 302 | let x_max = miniexp_nth(3, exp) as i32 >> 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i32`, cast to `usize` first: `miniexp_nth(3, exp) as usize as i32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting pointer to `i32` [INFO] [stdout] --> src/document/djvu.rs:303:39 [INFO] [stdout] | [INFO] [stdout] 303 | let y_min = height - (miniexp_nth(4, exp) as i32 >> 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: to cast to `i32`, cast to `usize` first: `miniexp_nth(4, exp) as usize as i32` [INFO] [stdout] | [INFO] [stdout] = help: pointers should only be cast to `usize` or `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `plato` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "74845e9e10dbcd16c978b25b48a7462d4d8357f6c385316a0c20e3d6cb0cd599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74845e9e10dbcd16c978b25b48a7462d4d8357f6c385316a0c20e3d6cb0cd599", kill_on_drop: false }` [INFO] [stdout] 74845e9e10dbcd16c978b25b48a7462d4d8357f6c385316a0c20e3d6cb0cd599