[INFO] fetching crate pikchr-sys 0.1.1... [INFO] testing pikchr-sys-0.1.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate pikchr-sys 0.1.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate pikchr-sys 0.1.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pikchr-sys 0.1.1 [INFO] finished tweaking crates.io crate pikchr-sys 0.1.1 [INFO] tweaked toml for crates.io crate pikchr-sys 0.1.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 01acc825c0eabfcdb26d828de3403ec307d9a0394c9564a9111924252ba811e5 [INFO] running `Command { std: "docker" "start" "-a" "01acc825c0eabfcdb26d828de3403ec307d9a0394c9564a9111924252ba811e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01acc825c0eabfcdb26d828de3403ec307d9a0394c9564a9111924252ba811e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01acc825c0eabfcdb26d828de3403ec307d9a0394c9564a9111924252ba811e5", kill_on_drop: false }` [INFO] [stdout] 01acc825c0eabfcdb26d828de3403ec307d9a0394c9564a9111924252ba811e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dce482b336365e9a8c09aa088d9eb27c92c2745c9b8f7578686d85e733d935ff [INFO] running `Command { std: "docker" "start" "-a" "dce482b336365e9a8c09aa088d9eb27c92c2745c9b8f7578686d85e733d935ff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling bindgen v0.53.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling pikchr-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 44.19s [INFO] running `Command { std: "docker" "inspect" "dce482b336365e9a8c09aa088d9eb27c92c2745c9b8f7578686d85e733d935ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dce482b336365e9a8c09aa088d9eb27c92c2745c9b8f7578686d85e733d935ff", kill_on_drop: false }` [INFO] [stdout] dce482b336365e9a8c09aa088d9eb27c92c2745c9b8f7578686d85e733d935ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 013c88f85f82c0d7b4c9d562ac26e369e561af3103708ab53778b28b3622b8d9 [INFO] running `Command { std: "docker" "start" "-a" "013c88f85f82c0d7b4c9d562ac26e369e561af3103708ab53778b28b3622b8d9", kill_on_drop: false }` [INFO] [stderr] Compiling pikchr-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "013c88f85f82c0d7b4c9d562ac26e369e561af3103708ab53778b28b3622b8d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "013c88f85f82c0d7b4c9d562ac26e369e561af3103708ab53778b28b3622b8d9", kill_on_drop: false }` [INFO] [stdout] 013c88f85f82c0d7b4c9d562ac26e369e561af3103708ab53778b28b3622b8d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6244f92a5b406f04ba206af128f19a26c6df6e8f48eda059aaf4e419bdc29ad5 [INFO] running `Command { std: "docker" "start" "-a" "6244f92a5b406f04ba206af128f19a26c6df6e8f48eda059aaf4e419bdc29ad5", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pikchr_sys-c012163b7dfac119) [INFO] [stdout] [INFO] [stderr] Doc-tests pikchr-sys [INFO] [stdout] running 1 test [INFO] [stdout] test tests::simple_raw_box ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 21) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope [INFO] [stdout] --> src/lib.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 4 | let mut width: c_int = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use libc::c_int; [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::raw::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope [INFO] [stdout] --> src/lib.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 5 | let mut height: c_int = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use libc::c_int; [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::raw::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CString` [INFO] [stdout] --> src/lib.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 6 | let input = CString::new(input)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 | let input = String::new(input)?; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::ffi::CString; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_char` in this scope [INFO] [stdout] --> src/lib.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 8 | let res: *mut c_char = unsafe { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 | let res: *mut char = unsafe { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use libc::c_char; [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::raw::c_char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pikchr` in this scope [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 9 | pikchr( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use pikchr_sys::pikchr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_char` in this scope [INFO] [stdout] --> src/lib.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 10 | input.as_ptr() as *const c_char, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a builtin type with a similar name exists [INFO] [stdout] | [INFO] [stdout] 10 | input.as_ptr() as *const char, [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use libc::c_char; [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::raw::c_char; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PIKCHR_PLAINTEXT_ERRORS` in this scope [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 12 | PIKCHR_PLAINTEXT_ERRORS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 | use pikchr_sys::PIKCHR_PLAINTEXT_ERRORS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope [INFO] [stdout] --> src/lib.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 13 | &mut width as *mut c_int, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use libc::c_int; [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::raw::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope [INFO] [stdout] --> src/lib.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 14 | &mut height as *mut c_int, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use libc::c_int; [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::raw::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CStr` [INFO] [stdout] --> src/lib.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 18 | let cstr = unsafe { CStr::from_ptr(res) }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::ffi::CStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `free` in this scope [INFO] [stdout] --> src/lib.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { free(res as *mut c_void) }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use libc::free; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/lib.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { free(res as *mut c_void) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 2 | use libc::c_void; [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_21_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let input = "box \"example\""; [INFO] [stdout] 4 | | let mut width: c_int = 0; [INFO] [stdout] 5 | | let mut height: c_int = 0; [INFO] [stdout] 6 | | let input = CString::new(input)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 21 | | unsafe { free(res as *mut c_void) }; [INFO] [stdout] 22 | | } _doctest_main_src_lib_rs_21_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 21) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "6244f92a5b406f04ba206af128f19a26c6df6e8f48eda059aaf4e419bdc29ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6244f92a5b406f04ba206af128f19a26c6df6e8f48eda059aaf4e419bdc29ad5", kill_on_drop: false }` [INFO] [stdout] 6244f92a5b406f04ba206af128f19a26c6df6e8f48eda059aaf4e419bdc29ad5