[INFO] cloning repository https://github.com/domsj/rust-sd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/domsj/rust-sd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomsj%2Frust-sd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomsj%2Frust-sd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 756a9ebeb6ab0ce986538fe45cc345d8383220ac [INFO] testing domsj/rust-sd against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomsj%2Frust-sd" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/domsj/rust-sd on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/domsj/rust-sd [INFO] finished tweaking git repo https://github.com/domsj/rust-sd [INFO] tweaked toml for git repo https://github.com/domsj/rust-sd written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/domsj/rust-sd already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46fe599b2e5b57800ab01ac4ed0197ae48e90998214355f20a574f762e4b1479 [INFO] running `Command { std: "docker" "start" "-a" "46fe599b2e5b57800ab01ac4ed0197ae48e90998214355f20a574f762e4b1479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46fe599b2e5b57800ab01ac4ed0197ae48e90998214355f20a574f762e4b1479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46fe599b2e5b57800ab01ac4ed0197ae48e90998214355f20a574f762e4b1479", kill_on_drop: false }` [INFO] [stdout] 46fe599b2e5b57800ab01ac4ed0197ae48e90998214355f20a574f762e4b1479 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bf9e5a8506d23f39e34d13dc2d633ef0633067b3254f51b4d8fc5a567001e90 [INFO] running `Command { std: "docker" "start" "-a" "7bf9e5a8506d23f39e34d13dc2d633ef0633067b3254f51b4d8fc5a567001e90", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling futures v0.1.17 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling lazycell v0.5.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling slab v0.4.0 [INFO] [stderr] Compiling scoped-tls v0.1.0 [INFO] [stderr] Compiling num-traits v0.1.41 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling serde v1.0.23 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling iovec v0.1.1 [INFO] [stderr] Compiling net2 v0.2.31 [INFO] [stderr] Compiling num_cpus v1.7.0 [INFO] [stderr] Compiling rand v0.3.18 [INFO] [stderr] Compiling nix v0.9.0 [INFO] [stderr] Compiling bytes v0.4.5 [INFO] [stderr] Compiling mio v0.6.11 [INFO] [stderr] Compiling tokio-io v0.1.4 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling futures-cpupool v0.1.7 [INFO] [stderr] Compiling serde_derive_internals v0.17.0 [INFO] [stderr] Compiling tokio-core v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.23 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.7 [INFO] [stderr] Compiling rust_sd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:98:67 [INFO] [stdout] | [INFO] [stdout] 98 | fn decode(&mut self, buf: &mut BytesMut) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcp_stream` [INFO] [stdout] --> src/main.rs:155:25 [INFO] [stdout] | [INFO] [stdout] 155 | let tcp_stream = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tcp_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `PartialReadService`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:194:40 [INFO] [stdout] | [INFO] [stdout] 194 | pub extern "C" fn handover_fd(service: PartialReadService, fd: std::os::unix::io::RawFd) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / pub struct PartialReadService { [INFO] [stdout] 32 | | thread_queues: Vec>, [INFO] [stdout] 33 | | next: usize, // rocksdb handle? or pass directly to threads... [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.87s [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7bf9e5a8506d23f39e34d13dc2d633ef0633067b3254f51b4d8fc5a567001e90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bf9e5a8506d23f39e34d13dc2d633ef0633067b3254f51b4d8fc5a567001e90", kill_on_drop: false }` [INFO] [stdout] 7bf9e5a8506d23f39e34d13dc2d633ef0633067b3254f51b4d8fc5a567001e90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00f6355f690305a397bbce90ddb4a9048c6b2287e41f01d4274a0c8acdee2c02 [INFO] running `Command { std: "docker" "start" "-a" "00f6355f690305a397bbce90ddb4a9048c6b2287e41f01d4274a0c8acdee2c02", kill_on_drop: false }` [INFO] [stderr] Compiling rust_sd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:98:67 [INFO] [stdout] | [INFO] [stdout] 98 | fn decode(&mut self, buf: &mut BytesMut) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tcp_stream` [INFO] [stdout] --> src/main.rs:155:25 [INFO] [stdout] | [INFO] [stdout] 155 | let tcp_stream = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tcp_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `PartialReadService`, which is not FFI-safe [INFO] [stdout] --> src/main.rs:194:40 [INFO] [stdout] | [INFO] [stdout] 194 | pub extern "C" fn handover_fd(service: PartialReadService, fd: std::os::unix::io::RawFd) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / pub struct PartialReadService { [INFO] [stdout] 32 | | thread_queues: Vec>, [INFO] [stdout] 33 | | next: usize, // rocksdb handle? or pass directly to threads... [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.25s [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "00f6355f690305a397bbce90ddb4a9048c6b2287e41f01d4274a0c8acdee2c02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00f6355f690305a397bbce90ddb4a9048c6b2287e41f01d4274a0c8acdee2c02", kill_on_drop: false }` [INFO] [stdout] 00f6355f690305a397bbce90ddb4a9048c6b2287e41f01d4274a0c8acdee2c02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 33aae1106b06f3c758125c53be2dbc82507c8f5ff9d9d0df67ebedd23e64398b [INFO] running `Command { std: "docker" "start" "-a" "33aae1106b06f3c758125c53be2dbc82507c8f5ff9d9d0df67ebedd23e64398b", kill_on_drop: false }` [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/main.rs:98:67 [INFO] [stderr] | [INFO] [stderr] 98 | fn decode(&mut self, buf: &mut BytesMut) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tcp_stream` [INFO] [stderr] --> src/main.rs:155:25 [INFO] [stderr] | [INFO] [stderr] 155 | let tcp_stream = [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tcp_stream` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `PartialReadService`, which is not FFI-safe [INFO] [stderr] --> src/main.rs:194:40 [INFO] [stderr] | [INFO] [stderr] 194 | pub extern "C" fn handover_fd(service: PartialReadService, fd: std::os::unix::io::RawFd) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] note: the type is defined here [INFO] [stderr] --> src/main.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | / pub struct PartialReadService { [INFO] [stderr] 32 | | thread_queues: Vec>, [INFO] [stderr] 33 | | next: usize, // rocksdb handle? or pass directly to threads... [INFO] [stderr] 34 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_sd-328bcbdfcb84b77b) [INFO] running `Command { std: "docker" "inspect" "33aae1106b06f3c758125c53be2dbc82507c8f5ff9d9d0df67ebedd23e64398b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33aae1106b06f3c758125c53be2dbc82507c8f5ff9d9d0df67ebedd23e64398b", kill_on_drop: false }` [INFO] [stdout] 33aae1106b06f3c758125c53be2dbc82507c8f5ff9d9d0df67ebedd23e64398b