[INFO] cloning repository https://github.com/ankrugold/redismachine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ankrugold/redismachine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fankrugold%2Fredismachine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fankrugold%2Fredismachine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9c9aee389fe30b16754c3c6275786bc411e2a74 [INFO] building ankrugold/redismachine against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fankrugold%2Fredismachine" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ankrugold/redismachine on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ankrugold/redismachine [INFO] finished tweaking git repo https://github.com/ankrugold/redismachine [INFO] tweaked toml for git repo https://github.com/ankrugold/redismachine written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ankrugold/redismachine 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clang-sys v0.28.1 [INFO] [stderr] Downloaded cexpr v0.3.5 [INFO] [stderr] Downloaded redis-module v0.5.0 [INFO] [stderr] Downloaded which v3.0.0 [INFO] [stderr] Downloaded cc v1.0.46 [INFO] [stderr] Downloaded bindgen v0.51.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8286a05f94040636aa6093224007fa1c937505971f110452f6cf05121c54b3dc [INFO] running `Command { std: "docker" "start" "-a" "8286a05f94040636aa6093224007fa1c937505971f110452f6cf05121c54b3dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8286a05f94040636aa6093224007fa1c937505971f110452f6cf05121c54b3dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8286a05f94040636aa6093224007fa1c937505971f110452f6cf05121c54b3dc", kill_on_drop: false }` [INFO] [stdout] 8286a05f94040636aa6093224007fa1c937505971f110452f6cf05121c54b3dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 559c4c71ca2d2b42b7375e280b1897019a7256e3ad31ab5eb078b2dd8ccf9e43 [INFO] running `Command { std: "docker" "start" "-a" "559c4c71ca2d2b42b7375e280b1897019a7256e3ad31ab5eb078b2dd8ccf9e43", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling which v3.0.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum-primitive-derive v0.1.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling redis-module v0.5.0 [INFO] [stderr] Compiling redismachine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `trans` [INFO] [stdout] --> src/machine.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | Some(trans) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trans` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encver` [INFO] [stdout] --> src/machine.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | encver: c_int, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_encver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | Some(value) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/machine.rs:57:44 [INFO] [stdout] | [INFO] [stdout] 57 | let trans = option.unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Transition` does not implement `Clone`, so calling `clone` on `&Transition` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 57 - let trans = option.unwrap().clone(); [INFO] [stdout] 57 + let trans = option.unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Transition`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 12 + #[derive(Clone)] [INFO] [stdout] 13 | pub struct Transition { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Free` should have a snake case name [INFO] [stdout] --> src/machine.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | pub unsafe extern "C" fn Free(value: *mut c_void) { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `free` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/machine.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | Box::from_raw(value as *mut SMachine); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 110 | let _ = Box::from_raw(value as *mut SMachine); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.66s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.5, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "559c4c71ca2d2b42b7375e280b1897019a7256e3ad31ab5eb078b2dd8ccf9e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "559c4c71ca2d2b42b7375e280b1897019a7256e3ad31ab5eb078b2dd8ccf9e43", kill_on_drop: false }` [INFO] [stdout] 559c4c71ca2d2b42b7375e280b1897019a7256e3ad31ab5eb078b2dd8ccf9e43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f39557201af64fe5062872ceec0af3ea28fece7c2d20f2e8308ea08ef23b7fed [INFO] running `Command { std: "docker" "start" "-a" "f39557201af64fe5062872ceec0af3ea28fece7c2d20f2e8308ea08ef23b7fed", kill_on_drop: false }` [INFO] [stderr] Compiling redismachine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `trans` [INFO] [stdout] --> src/machine.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | Some(trans) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trans` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encver` [INFO] [stdout] --> src/machine.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | encver: c_int, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_encver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | Some(value) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/machine.rs:57:44 [INFO] [stdout] | [INFO] [stdout] 57 | let trans = option.unwrap().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Transition` does not implement `Clone`, so calling `clone` on `&Transition` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 57 - let trans = option.unwrap().clone(); [INFO] [stdout] 57 + let trans = option.unwrap(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Transition`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 12 + #[derive(Clone)] [INFO] [stdout] 13 | pub struct Transition { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Free` should have a snake case name [INFO] [stdout] --> src/machine.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | pub unsafe extern "C" fn Free(value: *mut c_void) { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `free` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/machine.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | Box::from_raw(value as *mut SMachine); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 110 | let _ = Box::from_raw(value as *mut SMachine); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.5, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f39557201af64fe5062872ceec0af3ea28fece7c2d20f2e8308ea08ef23b7fed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f39557201af64fe5062872ceec0af3ea28fece7c2d20f2e8308ea08ef23b7fed", kill_on_drop: false }` [INFO] [stdout] f39557201af64fe5062872ceec0af3ea28fece7c2d20f2e8308ea08ef23b7fed