[INFO] cloning repository https://github.com/swick/colorimeters-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swick/colorimeters-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswick%2Fcolorimeters-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswick%2Fcolorimeters-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9a79047ffd89ad69907914b478821cbd02b3c9fb
[INFO] checking swick/colorimeters-rs against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswick%2Fcolorimeters-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/swick/colorimeters-rs
[INFO] finished tweaking git repo https://github.com/swick/colorimeters-rs
[INFO] tweaked toml for git repo https://github.com/swick/colorimeters-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/swick/colorimeters-rs on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/swick/colorimeters-rs 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f31963fb2c7adae449dd3b46fb300493d269ae04b82ad61d63ccc896303240e5
[INFO] running `Command { std: "docker" "start" "f31963fb2c7adae449dd3b46fb300493d269ae04b82ad61d63ccc896303240e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f31963fb2c7adae449dd3b46fb300493d269ae04b82ad61d63ccc896303240e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f31963fb2c7adae449dd3b46fb300493d269ae04b82ad61d63ccc896303240e5" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f31963fb2c7adae449dd3b46fb300493d269ae04b82ad61d63ccc896303240e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f31963fb2c7adae449dd3b46fb300493d269ae04b82ad61d63ccc896303240e5" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling rusb v0.9.4
[INFO] [stderr]    Compiling colorimeter-shim v0.1.0 (/opt/rustwide/workdir/colorimeter-shim)
[INFO] [stderr]     Checking colorimeter-emulator v0.1.0 (/opt/rustwide/workdir/colorimeter-emulator)
[INFO] [stderr]    Compiling libusb1-sys v0.7.0
[INFO] [stderr]     Checking colorimeter-driver v0.1.0 (/opt/rustwide/workdir/colorimeter-driver)
[INFO] [stdout] error: invalid definition of the runtime `open` symbol used by the standard library
[INFO] [stdout]    --> colorimeter-shim/src/shim.rs:623:1
[INFO] [stdout]     |
[INFO] [stdout] 623 | pub extern "C" fn open(pathname: *const libc::c_char, flags: libc::c_int, mode: libc::mode_t) -> libc::c_int {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(*const i8, i32, ...) -> i32` (for the current target)
[INFO] [stdout]                found `extern "C" fn(*const i8, i32, u32) -> i32`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "open")]`, or `#[link_name = "open"]`
[INFO] [stdout]     = note: `#[deny(invalid_runtime_symbol_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `read` symbol used by the standard library
[INFO] [stdout]    --> colorimeter-shim/src/shim.rs:649:1
[INFO] [stdout]     |
[INFO] [stdout] 649 | pub extern "C" fn read(fd: libc::c_int, buf: *mut libc::c_void, count: libc::size_t) -> libc::ssize_t {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(i32, *mut c_void, usize) -> isize` (for the current target)
[INFO] [stdout]                found `extern "C" fn(i32, *mut c_void, usize) -> isize`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "read")]`, or `#[link_name = "read"]`
[INFO] [stdout]     = help: allow this lint if the signature is compatible
[INFO] [stdout]     = note: `#[warn(suspicious_runtime_symbol_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `close` symbol used by the standard library
[INFO] [stdout]    --> colorimeter-shim/src/shim.rs:850:1
[INFO] [stdout]     |
[INFO] [stdout] 850 | pub extern "C" fn close(fd: libc::c_int) -> libc::c_int {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(i32) -> i32` (for the current target)
[INFO] [stdout]                found `extern "C" fn(i32) -> i32`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "close")]`, or `#[link_name = "close"]`
[INFO] [stdout]     = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `colorimeter-shim` (lib) due to 1 previous error; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: invalid definition of the runtime `open` symbol used by the standard library
[INFO] [stdout]    --> colorimeter-shim/src/shim.rs:623:1
[INFO] [stdout]     |
[INFO] [stdout] 623 | pub extern "C" fn open(pathname: *const libc::c_char, flags: libc::c_int, mode: libc::mode_t) -> libc::c_int {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(*const i8, i32, ...) -> i32` (for the current target)
[INFO] [stdout]                found `extern "C" fn(*const i8, i32, u32) -> i32`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "open")]`, or `#[link_name = "open"]`
[INFO] [stdout]     = note: `#[deny(invalid_runtime_symbol_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `read` symbol used by the standard library
[INFO] [stdout]    --> colorimeter-shim/src/shim.rs:649:1
[INFO] [stdout]     |
[INFO] [stdout] 649 | pub extern "C" fn read(fd: libc::c_int, buf: *mut libc::c_void, count: libc::size_t) -> libc::ssize_t {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(i32, *mut c_void, usize) -> isize` (for the current target)
[INFO] [stdout]                found `extern "C" fn(i32, *mut c_void, usize) -> isize`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "read")]`, or `#[link_name = "read"]`
[INFO] [stdout]     = help: allow this lint if the signature is compatible
[INFO] [stdout]     = note: `#[warn(suspicious_runtime_symbol_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `close` symbol used by the standard library
[INFO] [stdout]    --> colorimeter-shim/src/shim.rs:850:1
[INFO] [stdout]     |
[INFO] [stdout] 850 | pub extern "C" fn close(fd: libc::c_int) -> libc::c_int {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(i32) -> i32` (for the current target)
[INFO] [stdout]                found `extern "C" fn(i32) -> i32`
[INFO] [stdout]     = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "close")]`, or `#[link_name = "close"]`
[INFO] [stdout]     = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `colorimeter-shim` (lib test) due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f31963fb2c7adae449dd3b46fb300493d269ae04b82ad61d63ccc896303240e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f31963fb2c7adae449dd3b46fb300493d269ae04b82ad61d63ccc896303240e5", kill_on_drop: false }`
[INFO] [stdout] f31963fb2c7adae449dd3b46fb300493d269ae04b82ad61d63ccc896303240e5
