[INFO] fetching crate evtx 0.6.6... [INFO] testing evtx-0.6.6 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate evtx 0.6.6 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate evtx 0.6.6 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate evtx 0.6.6 [INFO] finished tweaking crates.io crate evtx 0.6.6 [INFO] tweaked toml for crates.io crate evtx 0.6.6 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate evtx 0.6.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cbae280fdc4999a2e48a5a26609117a1ae159b4e77d4bb9f870a9a860c9ed69 [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" "1cbae280fdc4999a2e48a5a26609117a1ae159b4e77d4bb9f870a9a860c9ed69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cbae280fdc4999a2e48a5a26609117a1ae159b4e77d4bb9f870a9a860c9ed69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cbae280fdc4999a2e48a5a26609117a1ae159b4e77d4bb9f870a9a860c9ed69", kill_on_drop: false }` [INFO] [stdout] 1cbae280fdc4999a2e48a5a26609117a1ae159b4e77d4bb9f870a9a860c9ed69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ad3f3194de4fe5355436d81f33f2fb28c928c64d47357159ebce1f32f4fc67e [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" "0ad3f3194de4fe5355436d81f33f2fb28c928c64d47357159ebce1f32f4fc67e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling regex-syntax v0.6.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fs_extra v1.1.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Compiling unindent v0.1.5 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quick-xml v0.17.2 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling regex v1.3.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling console v0.9.1 [INFO] [stderr] Compiling dialoguer v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling thiserror-impl v1.0.9 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Compiling indoc-impl v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.9 [INFO] [stderr] Compiling indoc v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling simplelog v0.7.4 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Compiling winstructs v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling evtx v0.6.6 (/opt/rustwide/workdir) [INFO] [stderr] Compiling jemallocator v0.3.2 [INFO] [stdout] error: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/json_output.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | mem::replace(v_temp, Value::Object(map)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(unused_must_use)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/json_output.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | mem::replace(v_temp, Value::Object(map)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/json_output.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | mem::replace(current_value, value.clone().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `evtx`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0ad3f3194de4fe5355436d81f33f2fb28c928c64d47357159ebce1f32f4fc67e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ad3f3194de4fe5355436d81f33f2fb28c928c64d47357159ebce1f32f4fc67e", kill_on_drop: false }` [INFO] [stdout] 0ad3f3194de4fe5355436d81f33f2fb28c928c64d47357159ebce1f32f4fc67e