[INFO] cloning repository https://github.com/Macrolol/rustix [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Macrolol/rustix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMacrolol%2Frustix", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMacrolol%2Frustix'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a768775ad366c1d5871d4c67ccd4e8f7a1051f74 [INFO] checking Macrolol/rustix against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMacrolol%2Frustix" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Macrolol/rustix on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Macrolol/rustix [INFO] finished tweaking git repo https://github.com/Macrolol/rustix [INFO] tweaked toml for git repo https://github.com/Macrolol/rustix written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/Macrolol/rustix already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a7701fcc7cab4983a5c6a6d17aaa32377dcf169c81adf721d770f87deb0b1a9 [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" "6a7701fcc7cab4983a5c6a6d17aaa32377dcf169c81adf721d770f87deb0b1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a7701fcc7cab4983a5c6a6d17aaa32377dcf169c81adf721d770f87deb0b1a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a7701fcc7cab4983a5c6a6d17aaa32377dcf169c81adf721d770f87deb0b1a9", kill_on_drop: false }` [INFO] [stdout] 6a7701fcc7cab4983a5c6a6d17aaa32377dcf169c81adf721d770f87deb0b1a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52832a9d89142b05db195c854c5a9be6102900d54db97c4d18a60c3109a15c09 [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" "52832a9d89142b05db195c854c5a9be6102900d54db97c4d18a60c3109a15c09", kill_on_drop: false }` [INFO] [stderr] Checking kernel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `array`, `collections::HashMap` [INFO] [stdout] --> src/buffer.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{array, collections::HashMap, rc::Rc, cell::RefCell}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/disk.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `array`, `collections::HashMap` [INFO] [stdout] --> src/buffer.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{array, collections::HashMap, rc::Rc, cell::RefCell}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/disk.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_nums` found for reference `&Rc>` in the current scope [INFO] [stdout] --> src/buffer.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | if buf.get_nums() == buffer_nums{ [INFO] [stdout] | ^^^^^^^^ method not found in `&Rc>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_nums` found for reference `&Rc>` in the current scope [INFO] [stdout] --> src/buffer.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | if buf.get_nums() == buffer_nums{ [INFO] [stdout] | ^^^^^^^^ method not found in `&Rc>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/buffer.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | let index = self.hash_header(&buffer_to_add); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `BufferHeader`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&BufferHeader` [INFO] [stdout] found reference `&Rc>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/buffer.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | let index = self.hash_header(&buffer_to_add); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `BufferHeader`, found struct `Rc` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&BufferHeader` [INFO] [stdout] found reference `&Rc>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/buffer.rs:180:45 [INFO] [stdout] | [INFO] [stdout] 180 | let free_list = FreeList{ my_list : free_list }; [INFO] [stdout] | ^^^^^^^^^ expected struct `RefCell`, found struct `BufferHeader` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec>>` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/buffer.rs:180:45 [INFO] [stdout] | [INFO] [stdout] 180 | let free_list = FreeList{ my_list : free_list }; [INFO] [stdout] | ^^^^^^^^^ expected struct `RefCell`, found struct `BufferHeader` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec>>` [INFO] [stdout] found struct `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kernel` due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "52832a9d89142b05db195c854c5a9be6102900d54db97c4d18a60c3109a15c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52832a9d89142b05db195c854c5a9be6102900d54db97c4d18a60c3109a15c09", kill_on_drop: false }` [INFO] [stdout] 52832a9d89142b05db195c854c5a9be6102900d54db97c4d18a60c3109a15c09