[INFO] fetching crate darklua 0.4.0... [INFO] checking darklua-0.4.0 against master#0dce3f606e05cffab7361c132a399d3550ab0df8 for pr-78376 [INFO] extracting crate darklua 0.4.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate darklua 0.4.0 on toolchain 0dce3f606e05cffab7361c132a399d3550ab0df8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate darklua 0.4.0 [INFO] finished tweaking crates.io crate darklua 0.4.0 [INFO] tweaked toml for crates.io crate darklua 0.4.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate darklua 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "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" "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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 454c2ff287e48a22d1f1336ddbf83201b50ca000d5306d6cf6df77119df49f1a [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" "454c2ff287e48a22d1f1336ddbf83201b50ca000d5306d6cf6df77119df49f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "454c2ff287e48a22d1f1336ddbf83201b50ca000d5306d6cf6df77119df49f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "454c2ff287e48a22d1f1336ddbf83201b50ca000d5306d6cf6df77119df49f1a", kill_on_drop: false }` [INFO] [stdout] 454c2ff287e48a22d1f1336ddbf83201b50ca000d5306d6cf6df77119df49f1a [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" "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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0dce3f606e05cffab7361c132a399d3550ab0df8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 556e0f7287bf4fc9180f9db8dc819af69503032cec34a5e0d202ab0a34cf091c [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" "556e0f7287bf4fc9180f9db8dc819af69503032cec34a5e0d202ab0a34cf091c", 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] Compiling version_check v0.9.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking regex-syntax v0.6.15 [INFO] [stderr] Checking lualexer v0.1.2 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Checking serde v1.0.104 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking luaparser v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.10 [INFO] [stderr] Compiling proc-macro-error v0.4.10 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Compiling structopt-derive v0.4.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking console v0.9.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking json5 v0.2.5 [INFO] [stderr] Checking structopt v0.3.11 [INFO] [stderr] Checking insta v0.12.0 [INFO] [stderr] Checking darklua v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/rules/call_parens.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | mem::replace(call.mutate_arguments(), new_arguments); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/rules/compute_expression.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | mem::replace(expression, replace_with); [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] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/rules/group_local.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | mem::replace(block.mutate_statements(), filter_statements); [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] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/rules/inject_value.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | mem::replace(expression, new_expression); [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] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/rules/inject_value.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | mem::replace(prefix, new_prefix); [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] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/rules/unused_if_branch.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | mem::replace(statement, DoStatement::new(block).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] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/rules/call_parens.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | mem::replace(call.mutate_arguments(), new_arguments); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/rules/compute_expression.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | mem::replace(expression, replace_with); [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] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/rules/group_local.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | mem::replace(block.mutate_statements(), filter_statements); [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] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/rules/inject_value.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | mem::replace(expression, new_expression); [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] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/rules/inject_value.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | mem::replace(prefix, new_prefix); [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] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/rules/unused_if_branch.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | mem::replace(statement, DoStatement::new(block).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] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.25s [INFO] running `Command { std: "docker" "inspect" "556e0f7287bf4fc9180f9db8dc819af69503032cec34a5e0d202ab0a34cf091c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "556e0f7287bf4fc9180f9db8dc819af69503032cec34a5e0d202ab0a34cf091c", kill_on_drop: false }` [INFO] [stdout] 556e0f7287bf4fc9180f9db8dc819af69503032cec34a5e0d202ab0a34cf091c