[INFO] cloning repository https://github.com/saronic-technologies/libc-rust-compatibility
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saronic-technologies/libc-rust-compatibility" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaronic-technologies%2Flibc-rust-compatibility", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaronic-technologies%2Flibc-rust-compatibility'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 52947d30e231b1f7699706192ec4e252ed2fbb1d
[INFO] checking saronic-technologies/libc-rust-compatibility against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaronic-technologies%2Flibc-rust-compatibility" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/saronic-technologies/libc-rust-compatibility
[INFO] finished tweaking git repo https://github.com/saronic-technologies/libc-rust-compatibility
[INFO] tweaked toml for git repo https://github.com/saronic-technologies/libc-rust-compatibility written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/saronic-technologies/libc-rust-compatibility on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/saronic-technologies/libc-rust-compatibility 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 193adaced1f1e119a23527528a30cee67fe958af1cb49861161605127e6ec132
[INFO] running `Command { std: "docker" "start" "-a" "193adaced1f1e119a23527528a30cee67fe958af1cb49861161605127e6ec132", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "193adaced1f1e119a23527528a30cee67fe958af1cb49861161605127e6ec132", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "193adaced1f1e119a23527528a30cee67fe958af1cb49861161605127e6ec132", kill_on_drop: false }`
[INFO] [stdout] 193adaced1f1e119a23527528a30cee67fe958af1cb49861161605127e6ec132
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e08f04b21dd18c99ba161e7b791311252aa92bc9dd4ece5972f505d8bad4c24a
[INFO] running `Command { std: "docker" "start" "-a" "e08f04b21dd18c99ba161e7b791311252aa92bc9dd4ece5972f505d8bad4c24a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]     Checking libc_rust_compatibility v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `socket2`
[INFO] [stdout]   --> src/linux.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use socket2::SockAddr;
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `socket2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `socket2`, use `cargo add socket2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `socket2`
[INFO] [stdout]   --> src/linux.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use socket2::SockAddr;
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `socket2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `socket2`, use `cargo add socket2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::CanAddr`
[INFO] [stdout]   --> src/linux.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::CanAddr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ no `CanAddr` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::CanAddr`
[INFO] [stdout]   --> src/linux.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::CanAddr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ no `CanAddr` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::CanFrame`
[INFO] [stdout]   --> src/linux.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::CanFrame;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ no `CanFrame` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::CanFrame`
[INFO] [stdout]   --> src/linux.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::CanFrame;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ no `CanFrame` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::CanSocket`
[INFO] [stdout]   --> src/linux.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::CanSocket;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ no `CanSocket` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::CanSocket`
[INFO] [stdout]   --> src/linux.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::CanSocket;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ no `CanSocket` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::IoResult`
[INFO] [stdout]   --> src/linux.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::IoResult;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ no `IoResult` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::IoResult`
[INFO] [stdout]   --> src/linux.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::IoResult;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ no `IoResult` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::Socket`
[INFO] [stdout]   --> src/linux.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::Socket;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ no `Socket` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::Socket`
[INFO] [stdout]   --> src/linux.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::Socket;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ no `Socket` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::as_bytes_mut`
[INFO] [stdout]   --> src/linux.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::as_bytes_mut;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^ no `as_bytes_mut` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::as_bytes_mut`
[INFO] [stdout]   --> src/linux.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use crate::as_bytes_mut;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^ no `as_bytes_mut` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::frame`
[INFO] [stdout]   --> src/linux.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::frame::can_frame_default;
[INFO] [stdout]    |            ^^^^^ could not find `frame` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::frame`
[INFO] [stdout]   --> src/linux.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::frame::AsPtr;
[INFO] [stdout]    |            ^^^^^ could not find `frame` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::frame`
[INFO] [stdout]   --> src/linux.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::frame::can_frame_default;
[INFO] [stdout]    |            ^^^^^ could not find `frame` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::frame`
[INFO] [stdout]   --> src/linux.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::frame::AsPtr;
[INFO] [stdout]    |            ^^^^^ could not find `frame` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `socket2` in this scope
[INFO] [stdout]   --> src/linux.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let af_can = socket2::Domain::from(AF_CAN);
[INFO] [stdout]    |                  ^^^^^^^ use of unresolved module or unlinked crate `socket2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `socket2`, use `cargo add socket2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `socket2` in this scope
[INFO] [stdout]   --> src/linux.rs:27:18
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let af_can = socket2::Domain::from(AF_CAN);
[INFO] [stdout]    |                  ^^^^^^^ use of unresolved module or unlinked crate `socket2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `socket2`, use `cargo add socket2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `socket2` in this scope
[INFO] [stdout]   --> src/linux.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let can_raw = socket2::Protocol::from(CAN_RAW);
[INFO] [stdout]    |                   ^^^^^^^ use of unresolved module or unlinked crate `socket2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `socket2`, use `cargo add socket2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `socket2` in this scope
[INFO] [stdout]   --> src/linux.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let can_raw = socket2::Protocol::from(CAN_RAW);
[INFO] [stdout]    |                   ^^^^^^^ use of unresolved module or unlinked crate `socket2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `socket2`, use `cargo add socket2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `socket2` in this scope
[INFO] [stdout]   --> src/linux.rs:30:16
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let sock = socket2::Socket::new_raw(af_can, socket2::Type::RAW, Some(can_raw))?;
[INFO] [stdout]    |                ^^^^^^^ use of unresolved module or unlinked crate `socket2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `socket2`, use `cargo add socket2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `socket2` in this scope
[INFO] [stdout]   --> src/linux.rs:30:16
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let sock = socket2::Socket::new_raw(af_can, socket2::Type::RAW, Some(can_raw))?;
[INFO] [stdout]    |                ^^^^^^^ use of unresolved module or unlinked crate `socket2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `socket2`, use `cargo add socket2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `socket2` in this scope
[INFO] [stdout]   --> src/linux.rs:30:49
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let sock = socket2::Socket::new_raw(af_can, socket2::Type::RAW, Some(can_raw))?;
[INFO] [stdout]    |                                                 ^^^^^^^ use of unresolved module or unlinked crate `socket2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `socket2`, use `cargo add socket2` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::mem::type_info::Type;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Type`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 30 -     let sock = socket2::Socket::new_raw(af_can, socket2::Type::RAW, Some(can_raw))?;
[INFO] [stdout] 30 +     let sock = socket2::Socket::new_raw(af_can, Type::RAW, Some(can_raw))?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `socket2` in this scope
[INFO] [stdout]   --> src/linux.rs:30:49
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let sock = socket2::Socket::new_raw(af_can, socket2::Type::RAW, Some(can_raw))?;
[INFO] [stdout]    |                                                 ^^^^^^^ use of unresolved module or unlinked crate `socket2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `socket2`, use `cargo add socket2` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::mem::type_info::Type;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `Type`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 30 -     let sock = socket2::Socket::new_raw(af_can, socket2::Type::RAW, Some(can_raw))?;
[INFO] [stdout] 30 +     let sock = socket2::Socket::new_raw(af_can, Type::RAW, Some(can_raw))?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `socket2` in this scope
[INFO] [stdout]   --> src/linux.rs:26:59
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub(crate) fn raw_open_socket(addr: &CanAddr) -> IoResult<socket2::Socket> {
[INFO] [stdout]    |                                                           ^^^^^^^ use of unresolved module or unlinked crate `socket2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `socket2`, use `cargo add socket2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `socket2` in this scope
[INFO] [stdout]   --> src/linux.rs:26:59
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub(crate) fn raw_open_socket(addr: &CanAddr) -> IoResult<socket2::Socket> {
[INFO] [stdout]    |                                                           ^^^^^^^ use of unresolved module or unlinked crate `socket2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `socket2`, use `cargo add socket2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libc_rust_compatibility` (lib test) due to 14 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `libc_rust_compatibility` (lib) due to 14 previous errors
[INFO] running `Command { std: "docker" "inspect" "e08f04b21dd18c99ba161e7b791311252aa92bc9dd4ece5972f505d8bad4c24a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e08f04b21dd18c99ba161e7b791311252aa92bc9dd4ece5972f505d8bad4c24a", kill_on_drop: false }`
[INFO] [stdout] e08f04b21dd18c99ba161e7b791311252aa92bc9dd4ece5972f505d8bad4c24a
