[INFO] cloning repository https://github.com/kolgotko/jail_rules [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kolgotko/jail_rules" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkolgotko%2Fjail_rules", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkolgotko%2Fjail_rules'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 266961c7fe0ddf9a3f82bec40c418450f8ca4ae5 [INFO] checking kolgotko/jail_rules against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkolgotko%2Fjail_rules" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kolgotko/jail_rules on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kolgotko/jail_rules [INFO] finished tweaking git repo https://github.com/kolgotko/jail_rules [INFO] tweaked toml for git repo https://github.com/kolgotko/jail_rules written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kolgotko/jail_rules 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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking kolgotko/jail_rules against try#7ee76453dd3eae6de6c1351f26482bed63b01beb for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkolgotko%2Fjail_rules" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kolgotko/jail_rules on toolchain 7ee76453dd3eae6de6c1351f26482bed63b01beb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kolgotko/jail_rules [INFO] finished tweaking git repo https://github.com/kolgotko/jail_rules [INFO] tweaked toml for git repo https://github.com/kolgotko/jail_rules written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kolgotko/jail_rules 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" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking kolgotko/jail_rules against try#7ee76453dd3eae6de6c1351f26482bed63b01beb for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkolgotko%2Fjail_rules" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kolgotko/jail_rules on toolchain 7ee76453dd3eae6de6c1351f26482bed63b01beb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kolgotko/jail_rules [INFO] finished tweaking git repo https://github.com/kolgotko/jail_rules [INFO] tweaked toml for git repo https://github.com/kolgotko/jail_rules written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kolgotko/jail_rules 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" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sysctl v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 250220ba6d748b87dbc4024baa8ccae0a00f201dd754d69d97ec5ff958e57aee [INFO] running `Command { std: "docker" "start" "-a" "250220ba6d748b87dbc4024baa8ccae0a00f201dd754d69d97ec5ff958e57aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "250220ba6d748b87dbc4024baa8ccae0a00f201dd754d69d97ec5ff958e57aee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "250220ba6d748b87dbc4024baa8ccae0a00f201dd754d69d97ec5ff958e57aee", kill_on_drop: false }` [INFO] [stdout] 250220ba6d748b87dbc4024baa8ccae0a00f201dd754d69d97ec5ff958e57aee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a088fe08fa20bf5d331143d1c08661ca2ff36612688ca63d2719230e0f62696f [INFO] running `Command { std: "docker" "start" "-a" "a088fe08fa20bf5d331143d1c08661ca2ff36612688ca63d2719230e0f62696f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking sysctl v0.2.0 [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | sysctl( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | oid.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut i32` [INFO] [stdout] found raw pointer `*const i32` [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | name.as_ptr() as *const c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut libc::c_void` [INFO] [stdout] found raw pointer `*const libc::c_void` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.43/src/unix/notbsd/linux/other/b64/not_x32.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn sysctl(name: *mut ::c_int, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | sysctl( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 480 | qoid.as_ptr(), [INFO] [stdout] 481 | qoid.len() as u32, [INFO] [stdout] | ----------------- expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | qoid.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut i32` [INFO] [stdout] found raw pointer `*const i32` [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 484 | ptr::null(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut libc::c_void` [INFO] [stdout] found raw pointer `*const _` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.43/src/unix/notbsd/linux/other/b64/not_x32.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn sysctl(name: *mut ::c_int, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 481 | (qoid.len() as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:656:9 [INFO] [stdout] | [INFO] [stdout] 656 | sysctl( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 657 | oid.as_ptr(), [INFO] [stdout] 658 | oid.len() as u32, [INFO] [stdout] | ---------------- expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | oid.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut i32` [INFO] [stdout] found raw pointer `*const i32` [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:661:13 [INFO] [stdout] | [INFO] [stdout] 661 | ptr::null(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut libc::c_void` [INFO] [stdout] found raw pointer `*const _` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.43/src/unix/notbsd/linux/other/b64/not_x32.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn sysctl(name: *mut ::c_int, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 658 | (oid.len() as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:678:9 [INFO] [stdout] | [INFO] [stdout] 678 | sysctl( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 679 | oid.as_ptr(), [INFO] [stdout] 680 | oid.len() as u32, [INFO] [stdout] | ---------------- expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | oid.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut i32` [INFO] [stdout] found raw pointer `*const i32` [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 683 | ptr::null(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut libc::c_void` [INFO] [stdout] found raw pointer `*const _` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.43/src/unix/notbsd/linux/other/b64/not_x32.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn sysctl(name: *mut ::c_int, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 680 | (oid.len() as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:1118:13 [INFO] [stdout] | [INFO] [stdout] 1118 | sysctl( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1119 | oid.as_ptr(), [INFO] [stdout] 1120 | oid.len() as u32, [INFO] [stdout] | ---------------- expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:1119:17 [INFO] [stdout] | [INFO] [stdout] 1119 | oid.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut i32` [INFO] [stdout] found raw pointer `*const i32` [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:1123:17 [INFO] [stdout] | [INFO] [stdout] 1123 | bytes.as_ptr() as *const c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut libc::c_void` [INFO] [stdout] found raw pointer `*const libc::c_void` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.43/src/unix/notbsd/linux/other/b64/not_x32.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn sysctl(name: *mut ::c_int, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1120 | (oid.len() as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:1207:9 [INFO] [stdout] | [INFO] [stdout] 1207 | sysctl( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1208 | qoid.as_ptr(), [INFO] [stdout] 1209 | qoid.len() as u32, [INFO] [stdout] | ----------------- expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:1208:13 [INFO] [stdout] | [INFO] [stdout] 1208 | qoid.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut i32` [INFO] [stdout] found raw pointer `*const i32` [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:1212:13 [INFO] [stdout] | [INFO] [stdout] 1212 | ptr::null(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut libc::c_void` [INFO] [stdout] found raw pointer `*const _` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.43/src/unix/notbsd/linux/other/b64/not_x32.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn sysctl(name: *mut ::c_int, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1209 | (qoid.len() as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:1268:9 [INFO] [stdout] | [INFO] [stdout] 1268 | sysctl( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1269 | qoid.as_ptr(), [INFO] [stdout] 1270 | qoid.len() as u32, [INFO] [stdout] | ----------------- expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:1269:13 [INFO] [stdout] | [INFO] [stdout] 1269 | qoid.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut i32` [INFO] [stdout] found raw pointer `*const i32` [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:1273:13 [INFO] [stdout] | [INFO] [stdout] 1273 | ptr::null(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut libc::c_void` [INFO] [stdout] found raw pointer `*const _` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.43/src/unix/notbsd/linux/other/b64/not_x32.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn sysctl(name: *mut ::c_int, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1270 | (qoid.len() as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:1331:9 [INFO] [stdout] | [INFO] [stdout] 1331 | sysctl( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1332 | qoid.as_ptr(), [INFO] [stdout] 1333 | qoid.len() as u32, [INFO] [stdout] | ----------------- expected `i32`, found `u32` [INFO] [stdout] | [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:1332:13 [INFO] [stdout] | [INFO] [stdout] 1332 | qoid.as_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut i32` [INFO] [stdout] found raw pointer `*const i32` [INFO] [stdout] note: types differ in mutability [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/sysctl-0.2.0/src/lib.rs:1336:13 [INFO] [stdout] | [INFO] [stdout] 1336 | ptr::null(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: expected raw pointer `*mut libc::c_void` [INFO] [stdout] found raw pointer `*const _` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.43/src/unix/notbsd/linux/other/b64/not_x32.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn sysctl(name: *mut ::c_int, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 1333 | (qoid.len() as u32).try_into().unwrap(), [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sysctl` (lib) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "a088fe08fa20bf5d331143d1c08661ca2ff36612688ca63d2719230e0f62696f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a088fe08fa20bf5d331143d1c08661ca2ff36612688ca63d2719230e0f62696f", kill_on_drop: false }` [INFO] [stdout] a088fe08fa20bf5d331143d1c08661ca2ff36612688ca63d2719230e0f62696f