[INFO] cloning repository https://github.com/nilp0inter/resist
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nilp0inter/resist" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilp0inter%2Fresist", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilp0inter%2Fresist'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 59ace14bcf7c17c6d413502697a2994583372a3f
[INFO] checking nilp0inter/resist against try#6284d7b4bd27983dba388146648ab844ca7d032f for pr-152971
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilp0inter%2Fresist" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nilp0inter/resist
[INFO] finished tweaking git repo https://github.com/nilp0inter/resist
[INFO] tweaked toml for git repo https://github.com/nilp0inter/resist written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nilp0inter/resist on toolchain 6284d7b4bd27983dba388146648ab844ca7d032f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nilp0inter/resist already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded nix v0.31.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 177e9de83a9539327666e7b0b751ededbbee7c2a956c066539b0b1d39ea68732
[INFO] running `Command { std: "docker" "start" "-a" "177e9de83a9539327666e7b0b751ededbbee7c2a956c066539b0b1d39ea68732", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "177e9de83a9539327666e7b0b751ededbbee7c2a956c066539b0b1d39ea68732", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "177e9de83a9539327666e7b0b751ededbbee7c2a956c066539b0b1d39ea68732", kill_on_drop: false }`
[INFO] [stdout] 177e9de83a9539327666e7b0b751ededbbee7c2a956c066539b0b1d39ea68732
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5190b697a6519715d26ae7b6940a023ea36f908fc5f90411b727b0cfd46438da
[INFO] running `Command { std: "docker" "start" "-a" "5190b697a6519715d26ae7b6940a023ea36f908fc5f90411b727b0cfd46438da", kill_on_drop: false }`
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]    Compiling nix v0.31.1
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking resist v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `rand::distributions`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::distributions::{Distribution, WeightedIndex};
[INFO] [stdout]   |           ^^^^^^^^^^^^^ could not find `distributions` in `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]  --> src/main.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::thread_rng;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/main.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut rng = thread_rng();
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand::distributions`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::distributions::{Distribution, WeightedIndex};
[INFO] [stdout]   |           ^^^^^^^^^^^^^ could not find `distributions` in `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `i32: AsFd` is not satisfied
[INFO] [stdout]    --> src/main.rs:8:11
[INFO] [stdout]     |
[INFO] [stdout]   8 |     fcntl(fd, FcntlArg::F_GETFD).is_ok()
[INFO] [stdout]     |     ----- ^^ the trait `AsFd` is not implemented for `i32`
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `AsFd`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               Arc<T>
[INFO] [stdout]               BorrowedFd<'_>
[INFO] [stdout]               Box<T>
[INFO] [stdout]               ChildStderr
[INFO] [stdout]               ChildStdin
[INFO] [stdout]               ChildStdout
[INFO] [stdout]             and 23 others
[INFO] [stdout] note: required by a bound in `nix::fcntl::fcntl`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.31.1/src/fcntl.rs:862:18
[INFO] [stdout]     |
[INFO] [stdout] 862 | pub fn fcntl<Fd: std::os::fd::AsFd>(fd: Fd, arg: FcntlArg) -> Result<c_int> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^ required by this bound in `fcntl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]  --> src/main.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::thread_rng;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]   --> src/main.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut rng = thread_rng();
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `resist` (bin "resist" test) due to 2 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the trait bound `i32: AsFd` is not satisfied
[INFO] [stdout]    --> src/main.rs:8:11
[INFO] [stdout]     |
[INFO] [stdout]   8 |     fcntl(fd, FcntlArg::F_GETFD).is_ok()
[INFO] [stdout]     |     ----- ^^ the trait `AsFd` is not implemented for `i32`
[INFO] [stdout]     |     |
[INFO] [stdout]     |     required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `AsFd`:
[INFO] [stdout]               &T
[INFO] [stdout]               &mut T
[INFO] [stdout]               Arc<T>
[INFO] [stdout]               BorrowedFd<'_>
[INFO] [stdout]               Box<T>
[INFO] [stdout]               ChildStderr
[INFO] [stdout]               ChildStdin
[INFO] [stdout]               ChildStdout
[INFO] [stdout]             and 23 others
[INFO] [stdout] note: required by a bound in `nix::fcntl::fcntl`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.31.1/src/fcntl.rs:862:18
[INFO] [stdout]     |
[INFO] [stdout] 862 | pub fn fcntl<Fd: std::os::fd::AsFd>(fd: Fd, arg: FcntlArg) -> Result<c_int> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^ required by this bound in `fcntl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `resist` (bin "resist") due to 2 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5190b697a6519715d26ae7b6940a023ea36f908fc5f90411b727b0cfd46438da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5190b697a6519715d26ae7b6940a023ea36f908fc5f90411b727b0cfd46438da", kill_on_drop: false }`
[INFO] [stdout] 5190b697a6519715d26ae7b6940a023ea36f908fc5f90411b727b0cfd46438da
