[INFO] cloning repository https://github.com/arighi/virtiofsd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arighi/virtiofsd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farighi%2Fvirtiofsd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farighi%2Fvirtiofsd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0126226ad22d026dcb136ec6b3b6257a3ba4905e [INFO] testing arighi/virtiofsd against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farighi%2Fvirtiofsd" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arighi/virtiofsd on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arighi/virtiofsd [INFO] finished tweaking git repo https://github.com/arighi/virtiofsd [INFO] tweaked toml for git repo https://github.com/arighi/virtiofsd written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/arighi/virtiofsd 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arc-swap v1.5.0 [INFO] [stderr] Downloaded vmm-sys-util v0.11.1 [INFO] [stderr] Downloaded capng v0.2.2 [INFO] [stderr] Downloaded vhost-user-backend v0.8.0 [INFO] [stderr] Downloaded virtio-bindings v0.1.0 [INFO] [stderr] Downloaded syslog v6.0.1 [INFO] [stderr] Downloaded vm-memory v0.10.0 [INFO] [stderr] Downloaded virtio-queue v0.7.0 [INFO] [stderr] Downloaded vhost v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c5994fec88242c719d5f47a93298ca069d6f5282d7e40baf4673744f0f6ea79 [INFO] running `Command { std: "docker" "start" "-a" "4c5994fec88242c719d5f47a93298ca069d6f5282d7e40baf4673744f0f6ea79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c5994fec88242c719d5f47a93298ca069d6f5282d7e40baf4673744f0f6ea79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c5994fec88242c719d5f47a93298ca069d6f5282d7e40baf4673744f0f6ea79", kill_on_drop: false }` [INFO] [stdout] 4c5994fec88242c719d5f47a93298ca069d6f5282d7e40baf4673744f0f6ea79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a92a0e87829b67af0fb8d372069c9b8a5fe9f2421b854a1cdd6504a34c20c8b [INFO] running `Command { std: "docker" "start" "-a" "0a92a0e87829b67af0fb8d372069c9b8a5fe9f2421b854a1cdd6504a34c20c8b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling io-lifetimes v1.0.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling arc-swap v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling rustix v0.36.7 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling virtio-bindings v0.1.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling capng v0.2.2 [INFO] [stderr] Compiling libseccomp-sys v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling vm-memory v0.10.0 [INFO] [stderr] Compiling vmm-sys-util v0.11.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling virtio-queue v0.7.0 [INFO] [stderr] Compiling vhost v0.6.0 [INFO] [stderr] Compiling syslog v6.0.1 [INFO] [stderr] Compiling vhost-user-backend v0.8.0 [INFO] [stderr] Compiling is-terminal v0.4.2 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling virtiofsd v1.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `virtq_desc` is never constructed [INFO] [stdout] --> src/descriptor_utils.rs:434:8 [INFO] [stdout] | [INFO] [stdout] 434 | struct virtq_desc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `virtq_desc` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `virtq_avail` is never constructed [INFO] [stdout] --> src/descriptor_utils.rs:446:8 [INFO] [stdout] | [INFO] [stdout] 446 | struct virtq_avail { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `virtq_avail` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/passthrough/mod.rs:1581:20 [INFO] [stdout] | [INFO] [stdout] 1581 | Handle(Arc, RawFd), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1581 - Handle(Arc, RawFd), [INFO] [stdout] 1581 + Handle((), RawFd), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/util.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | struct PidFd(File); [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | CreateKillEventFd(io::Error), [INFO] [stdout] | ----------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 58 - CreateKillEventFd(io::Error), [INFO] [stdout] 58 + CreateKillEventFd(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | CreateThreadPool(io::Error), [INFO] [stdout] | ---------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 60 - CreateThreadPool(io::Error), [INFO] [stdout] 60 + CreateThreadPool(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | ProcessQueue(VhostUserFsError), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 70 - ProcessQueue(VhostUserFsError), [INFO] [stdout] 70 + ProcessQueue(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | QueueReader(VufDescriptorError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 72 - QueueReader(VufDescriptorError), [INFO] [stdout] 72 + QueueReader(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | QueueWriter(VufDescriptorError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 74 - QueueWriter(VufDescriptorError), [INFO] [stdout] 74 + QueueWriter(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc4mdpUB/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libsyslog-eee9aa380600a9e2.rlib,libhostname-766eb499df71540a.rlib,libmatch_cfg-f93ef260abd93f75.rlib,libtime-dd3847caabb637b1.rlib,libnum_threads-6ebcf309247c4366.rlib,libitoa-664e30a1b3449410.rlib,liberror_chain-07d9c232b42e9615.rlib,libenv_logger-02bba38777b606eb.rlib,libtermcolor-3421dff75a1a6c35.rlib,libis_terminal-1080d8a5f4329ffa.rlib,librustix-2356a6e1f52ecc37.rlib,liblinux_raw_sys-77ba49eaf775dbb2.rlib,libio_lifetimes-76327435885ced84.rlib,libhumantime-271ba35809dd8c72.rlib,libregex-0cc5028292b85528.rlib,libaho_corasick-1f83a2fb3c683d84.rlib,libregex_syntax-6d40b83c2a4454b6.rlib,libvhost_user_backend-e476329f021d5323.rlib,libstructopt-b74e777beffb5a15.rlib,liblazy_static-2bb390fee0230a38.rlib,libclap-794e76b06e77d93d.rlib,libvec_map-ecbce826993378bd.rlib,libtextwrap-7b51497447b7c4d8.rlib,libunicode_width-c0dfc70716b193be.rlib,libstrsim-1c33ff29e0d45111.rlib,libatty-5dc01998fa5da50b.rlib,libansi_term-4ffce2d8d1f5d132.rlib,libvirtiofsd-70fc6ec491431546.rlib,liblibseccomp_sys-836138cc227c1be7.rlib,libcapng-8e61bff8ded828a5.rlib,libvhost-2e7a63c05ddaa4df.rlib,libvmm_sys_util-892fcde576324c30.rlib,libbitflags-e2b4db6c651223da.rlib,libvirtio_queue-2d2fa0074ae9ee43.rlib,libvirtio_bindings-e8bb2336d61eb205.rlib,libvm_memory-e23635e635bb5231.rlib,libarc_swap-1d06caf0df8a0f2b.rlib,liblog-45799490cfbd2660.rlib,libcfg_if-33ef6c02a07f9fec.rlib,libfutures-a2f154a86691dd4e.rlib,libfutures_executor-f4efe0659554d114.rlib,libnum_cpus-b158b7026f67c20e.rlib,liblibc-b1a8b3cb54066004.rlib,libfutures_util-a713d6c422ec996b.rlib,libmemchr-c03d851e398fde9c.rlib,libfutures_io-ab03c219cbf0d33c.rlib,libslab-17c6c1d90a67553f.rlib,libfutures_channel-dceb3c96353063ad.rlib,libpin_project_lite-97c4b49af6812166.rlib,libfutures_sink-be7c10f1c4d8c357.rlib,libfutures_task-afb9c1864d7183c6.rlib,libpin_utils-9a5791cba021167a.rlib,libfutures_core-c2608783bd205e02.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lseccomp" "-lcap-ng" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc4mdpUB/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/virtiofsd-73b2f9a8822574ca" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lcap-ng [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `virtiofsd` (bin "virtiofsd") due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0a92a0e87829b67af0fb8d372069c9b8a5fe9f2421b854a1cdd6504a34c20c8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a92a0e87829b67af0fb8d372069c9b8a5fe9f2421b854a1cdd6504a34c20c8b", kill_on_drop: false }` [INFO] [stdout] 0a92a0e87829b67af0fb8d372069c9b8a5fe9f2421b854a1cdd6504a34c20c8b