[INFO] cloning repository https://github.com/RafaelNMeyer/rdb-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RafaelNMeyer/rdb-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafaelNMeyer%2Frdb-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafaelNMeyer%2Frdb-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6997ed5c3ae25b38f72e94e3cb956218ea2ffdb2
[INFO] checking RafaelNMeyer/rdb-rs against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRafaelNMeyer%2Frdb-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/RafaelNMeyer/rdb-rs
[INFO] finished tweaking git repo https://github.com/RafaelNMeyer/rdb-rs
[INFO] tweaked toml for git repo https://github.com/RafaelNMeyer/rdb-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/RafaelNMeyer/rdb-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/RafaelNMeyer/rdb-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-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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] fc75f3275509690a4a7f1a337dc749c5f6a3c3150a2b4f0a10db7e414b2ab58c
[INFO] running `Command { std: "docker" "start" "fc75f3275509690a4a7f1a337dc749c5f6a3c3150a2b4f0a10db7e414b2ab58c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc75f3275509690a4a7f1a337dc749c5f6a3c3150a2b4f0a10db7e414b2ab58c", 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" "fc75f3275509690a4a7f1a337dc749c5f6a3c3150a2b4f0a10db7e414b2ab58c" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc75f3275509690a4a7f1a337dc749c5f6a3c3150a2b4f0a10db7e414b2ab58c", 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 -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fc75f3275509690a4a7f1a337dc749c5f6a3c3150a2b4f0a10db7e414b2ab58c" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling find-msvc-tools v0.1.12
[INFO] [stderr]    Compiling cc v1.4.5
[INFO] [stderr]    Compiling librustdbg v0.1.0 (/opt/rustwide/workdir/librustdbg)
[INFO] [stdout] warning: function `double_to_bytes` is never used
[INFO] [stdout]   --> librustdbg/src/bindings.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn double_to_bytes(value: f64) -> Byte128;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `DOUBLEFLOAT` is never constructed
[INFO] [stdout]   --> librustdbg/src/register_info.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum RegisterFormat {
[INFO] [stdout]    |          -------------- variant in this enum
[INFO] [stdout] 15 |     UINT,
[INFO] [stdout] 16 |     DOUBLEFLOAT,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RegisterFormat` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `dwarf_id` are never read
[INFO] [stdout]   --> librustdbg/src/register_info.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct RegisterInfo {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 23 |     pub id: RegisterId,
[INFO] [stdout] 24 |     pub name: &'static str,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 25 |     pub dwarf_id: i32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RegisterInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_info_by_name` is never used
[INFO] [stdout]   --> librustdbg/src/register_info.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn register_info_by_name(name: String) -> Result<&'static RegisterInfo, Error> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_info_by_dwarf_id` is never used
[INFO] [stdout]   --> librustdbg/src/register_info.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn register_info_by_dwarf_id(dwarf_id: i32) -> Result<&'static RegisterInfo, Error> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `to_byte64` is never used
[INFO] [stdout]   --> librustdbg/src/types.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn to_byte64<From>(src: &From) -> Byte64 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: suspicious definition of the runtime `read` symbol used by the standard library
[INFO] [stdout]   --> librustdbg/src/bindings.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn read(fd: i32, buf: *mut c_char, count: usize) -> i32;
[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 `unsafe extern "C" fn(i32, *mut u8, usize) -> i32`
[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 `write` symbol used by the standard library
[INFO] [stdout]   --> librustdbg/src/bindings.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub fn write(fd: i32, buf: *const c_char, count: usize) -> i32;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected `unsafe extern "C" fn(i32, *const c_void, usize) -> isize` (for the current target)
[INFO] [stdout]               found `unsafe extern "C" fn(i32, *const u8, usize) -> i32`
[INFO] [stdout]    = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "write")]`, or `#[link_name = "write"]`
[INFO] [stdout]    = help: allow this lint if the signature is compatible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `[u8; 16]`, which is not FFI-safe
[INFO] [stdout]   --> librustdbg/src/bindings.rs:57:43
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn double_to_bytes(value: f64) -> Byte128;
[INFO] [stdout]    |                                           ^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider passing a pointer to the array
[INFO] [stdout]    = note: passing raw arrays by value is not FFI-safe
[INFO] [stdout]    = note: `#[warn(improper_ctypes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rust-dbg v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:60:31
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn attach(args: Vec<String>) -> Result<Box<rdb::Process>, rdb::Error> {
[INFO] [stdout]    |                                 ------------------------------------- expected `Result<Box<Process>, librustdbg::Error>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 60 |             Ok(pid) => return rdb::Process::attach(pid),
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Box<Process>, Error>`, found `Result<Rc<RefCell<Process>>, Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<Box<Process>, _>`
[INFO] [stdout]               found enum `Result<Rc<RefCell<Process>>, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn attach(args: Vec<String>) -> Result<Box<rdb::Process>, rdb::Error> {
[INFO] [stdout]    |                                 ------------------------------------- expected `Result<Box<Process>, librustdbg::Error>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 64 |     rdb::Process::launch(String::from(&args[1]), true, None)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Box<Process>, Error>`, found `Result<Rc<RefCell<Process>>, Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<Box<Process>, _>`
[INFO] [stdout]               found enum `Result<Rc<RefCell<Process>>, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-dbg` (bin "rust-dbg" test) due to 2 previous errors
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:60:31
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn attach(args: Vec<String>) -> Result<Box<rdb::Process>, rdb::Error> {
[INFO] [stdout]    |                                 ------------------------------------- expected `Result<Box<Process>, librustdbg::Error>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 60 |             Ok(pid) => return rdb::Process::attach(pid),
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Box<Process>, Error>`, found `Result<Rc<RefCell<Process>>, Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<Box<Process>, _>`
[INFO] [stdout]               found enum `Result<Rc<RefCell<Process>>, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn attach(args: Vec<String>) -> Result<Box<rdb::Process>, rdb::Error> {
[INFO] [stdout]    |                                 ------------------------------------- expected `Result<Box<Process>, librustdbg::Error>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 64 |     rdb::Process::launch(String::from(&args[1]), true, None)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Box<Process>, Error>`, found `Result<Rc<RefCell<Process>>, Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<Box<Process>, _>`
[INFO] [stdout]               found enum `Result<Rc<RefCell<Process>>, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-dbg` (bin "rust-dbg") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "fc75f3275509690a4a7f1a337dc749c5f6a3c3150a2b4f0a10db7e414b2ab58c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc75f3275509690a4a7f1a337dc749c5f6a3c3150a2b4f0a10db7e414b2ab58c", kill_on_drop: false }`
[INFO] [stdout] fc75f3275509690a4a7f1a337dc749c5f6a3c3150a2b4f0a10db7e414b2ab58c
