[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] checking domsj/rust-sd against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdomsj%2Frust-sd" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/domsj/rust-sd on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-5/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 505f2f02b315798329d3f5f7fb11776c38d57638c03ed6391932d792e4ff5387 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "505f2f02b315798329d3f5f7fb11776c38d57638c03ed6391932d792e4ff5387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "505f2f02b315798329d3f5f7fb11776c38d57638c03ed6391932d792e4ff5387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "505f2f02b315798329d3f5f7fb11776c38d57638c03ed6391932d792e4ff5387", kill_on_drop: false }` [INFO] [stdout] 505f2f02b315798329d3f5f7fb11776c38d57638c03ed6391932d792e4ff5387 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb2af378de4e01a8395aebcded0b59a8bfc43fdb3b312f401f0174c03588e4dd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bb2af378de4e01a8395aebcded0b59a8bfc43fdb3b312f401f0174c03588e4dd", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Checking futures v0.1.17 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking log v0.3.8 [INFO] [stderr] Checking lazycell v0.5.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Checking num-traits v0.1.41 [INFO] [stderr] Checking serde v1.0.23 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking iovec v0.1.1 [INFO] [stderr] Checking net2 v0.2.31 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Checking num_cpus v1.7.0 [INFO] [stderr] Checking nix v0.9.0 [INFO] [stderr] Checking bytes v0.4.5 [INFO] [stderr] Checking mio v0.6.11 [INFO] [stderr] Compiling serde_derive_internals v0.17.0 [INFO] [stderr] Checking tokio-io v0.1.4 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking futures-cpupool v0.1.7 [INFO] [stderr] Checking tokio-core v0.1.10 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.23 [INFO] [stderr] Checking serde_json v1.0.7 [INFO] [stderr] Checking 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: 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: 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] [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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.54s [INFO] running `Command { std: "docker" "inspect" "bb2af378de4e01a8395aebcded0b59a8bfc43fdb3b312f401f0174c03588e4dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb2af378de4e01a8395aebcded0b59a8bfc43fdb3b312f401f0174c03588e4dd", kill_on_drop: false }` [INFO] [stdout] bb2af378de4e01a8395aebcded0b59a8bfc43fdb3b312f401f0174c03588e4dd