[INFO] cloning repository https://github.com/redox-os/randd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/redox-os/randd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredox-os%2Frandd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredox-os%2Frandd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 280bbcec2a79f49b29d8ae89be64eb5bbb90fd76 [INFO] checking redox-os/randd against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredox-os%2Frandd" "/workspace/builds/worker-48/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-48/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/redox-os/randd on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/redox-os/randd [INFO] finished tweaking git repo https://github.com/redox-os/randd [INFO] tweaked toml for git repo https://github.com/redox-os/randd written to /workspace/builds/worker-48/source/Cargo.toml [INFO] crate git repo https://github.com/redox-os/randd already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26b69eb9f73d7542ee8adc6e905df104ffa530077d19ecbe7bd742c6f275ffc8 [INFO] running `Command { std: "docker" "start" "-a" "26b69eb9f73d7542ee8adc6e905df104ffa530077d19ecbe7bd742c6f275ffc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26b69eb9f73d7542ee8adc6e905df104ffa530077d19ecbe7bd742c6f275ffc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26b69eb9f73d7542ee8adc6e905df104ffa530077d19ecbe7bd742c6f275ffc8", kill_on_drop: false }` [INFO] [stdout] 26b69eb9f73d7542ee8adc6e905df104ffa530077d19ecbe7bd742c6f275ffc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ca9dbd40478d9de9d38613d230626f6cc4a40c7f04f39625458da8ddad94111 [INFO] running `Command { std: "docker" "start" "-a" "1ca9dbd40478d9de9d38613d230626f6cc4a40c7f04f39625458da8ddad94111", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking redox_syscall v0.2.9 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling raw-cpuid v8.1.2 [INFO] [stderr] Checking randd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `O_CLOEXEC`, `O_STAT` [INFO] [stdout] --> src/main.rs:28:87 [INFO] [stdout] | [INFO] [stdout] 28 | Error, Result, SchemeMut, EBADF, EBADFD, EEXIST, EINVAL, ENOENT, EPERM, MODE_CHR, O_CLOEXEC, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | O_CREAT, O_EXCL, O_RDONLY, O_RDWR, O_STAT, O_WRONLY, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `llvm_asm`: will be removed from the compiler, use asm! instead [INFO] [stdout] --> src/main.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | llvm_asm!("rdrand rax" [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `llvm_asm`: will be removed from the compiler, use asm! instead [INFO] [stdout] --> src/main.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | llvm_asm!("rdrand rax" [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | assert!(scheme.open("/".as_bytes(), O_RDWR, 1, 1).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `str`, found slice `[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | assert!(scheme.open("/".as_bytes(), O_RDONLY, 1, 1).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `str`, found slice `[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | let mut fd = scheme.open("".as_bytes(), O_RDONLY, 1, 1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ expected `str`, found slice `[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:194:25 [INFO] [stdout] | [INFO] [stdout] 194 | assert!(scheme.open("".as_bytes(), O_WRONLY, 1, 1).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^ expected `str`, found slice `[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:195:25 [INFO] [stdout] | [INFO] [stdout] 195 | assert!(scheme.open("".as_bytes(), O_RDWR, 1, 1).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^ expected `str`, found slice `[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 198 | fd = scheme.open("".as_bytes(), O_RDWR, 1, 1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ expected `str`, found slice `[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | fd = scheme.open("".as_bytes(), O_STAT, 2, 2).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ expected `str`, found slice `[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:208:15 [INFO] [stdout] | [INFO] [stdout] 208 | .open("".as_bytes(), O_STAT | O_CLOEXEC, 2, 2) [INFO] [stdout] | ^^^^^^^^^^^^^ expected `str`, found slice `[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:216:15 [INFO] [stdout] | [INFO] [stdout] 216 | .open("".as_bytes(), O_STAT | O_CLOEXEC, 2, 1) [INFO] [stdout] | ^^^^^^^^^^^^^ expected `str`, found slice `[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | .open("".as_bytes(), O_STAT | O_CLOEXEC, 2, 1) [INFO] [stdout] | ^^^^^^^^^^^^^ expected `str`, found slice `[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:232:15 [INFO] [stdout] | [INFO] [stdout] 232 | .open("".as_bytes(), O_STAT | O_CLOEXEC, 0, 0) [INFO] [stdout] | ^^^^^^^^^^^^^ expected `str`, found slice `[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:241:15 [INFO] [stdout] | [INFO] [stdout] 241 | .open("/urandom".as_bytes(), O_STAT | O_CLOEXEC, 2, 1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `str`, found slice `[u8]` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `randd` due to 13 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1ca9dbd40478d9de9d38613d230626f6cc4a40c7f04f39625458da8ddad94111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ca9dbd40478d9de9d38613d230626f6cc4a40c7f04f39625458da8ddad94111", kill_on_drop: false }` [INFO] [stdout] 1ca9dbd40478d9de9d38613d230626f6cc4a40c7f04f39625458da8ddad94111