[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] checking ankrugold/redismachine against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fankrugold%2Fredismachine" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ankrugold/redismachine on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-4-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cexpr v0.3.5 [INFO] [stderr] Downloaded redis-module v0.5.0 [INFO] [stderr] Downloaded termcolor v1.0.5 [INFO] [stderr] Downloaded wincolor v1.0.2 [INFO] [stderr] Downloaded which v3.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca32bdb2714926d754a6e9490dcd61a70537c9317203b933b4bfa61f644c73b5 [INFO] running `Command { std: "docker" "start" "-a" "ca32bdb2714926d754a6e9490dcd61a70537c9317203b933b4bfa61f644c73b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca32bdb2714926d754a6e9490dcd61a70537c9317203b933b4bfa61f644c73b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca32bdb2714926d754a6e9490dcd61a70537c9317203b933b4bfa61f644c73b5", kill_on_drop: false }` [INFO] [stdout] ca32bdb2714926d754a6e9490dcd61a70537c9317203b933b4bfa61f644c73b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b126d50b9e39ae5827010bd3206511f27721511574da98ce2cfd726a84dab24 [INFO] running `Command { std: "docker" "start" "-a" "1b126d50b9e39ae5827010bd3206511f27721511574da98ce2cfd726a84dab24", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling which v3.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling cexpr v0.3.5 [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] Checking 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: 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: 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 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: 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] [stdout] warning: 6 warnings emitted [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] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.89s [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 3` [INFO] running `Command { std: "docker" "inspect" "1b126d50b9e39ae5827010bd3206511f27721511574da98ce2cfd726a84dab24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b126d50b9e39ae5827010bd3206511f27721511574da98ce2cfd726a84dab24", kill_on_drop: false }` [INFO] [stdout] 1b126d50b9e39ae5827010bd3206511f27721511574da98ce2cfd726a84dab24 [INFO] checking ankrugold/redismachine against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fankrugold%2Fredismachine" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ankrugold/redismachine on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-4-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d25a1ce3b1005d94db09bce2a9984d862eea1ab48c70a5898eab754829af959c [INFO] running `Command { std: "docker" "start" "-a" "d25a1ce3b1005d94db09bce2a9984d862eea1ab48c70a5898eab754829af959c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d25a1ce3b1005d94db09bce2a9984d862eea1ab48c70a5898eab754829af959c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d25a1ce3b1005d94db09bce2a9984d862eea1ab48c70a5898eab754829af959c", kill_on_drop: false }` [INFO] [stdout] d25a1ce3b1005d94db09bce2a9984d862eea1ab48c70a5898eab754829af959c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed53732b6a7f7b655253dfeb8a076b087bebba9bc61d74880f8353f18fa79213 [INFO] running `Command { std: "docker" "start" "-a" "ed53732b6a7f7b655253dfeb8a076b087bebba9bc61d74880f8353f18fa79213", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling vec_map v0.8.1 [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 quote v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling quote v1.0.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 num-traits v0.1.43 [INFO] [stderr] Compiling cexpr v0.3.5 [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] Checking 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: 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: 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] [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] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.60s [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 3` [INFO] running `Command { std: "docker" "inspect" "ed53732b6a7f7b655253dfeb8a076b087bebba9bc61d74880f8353f18fa79213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed53732b6a7f7b655253dfeb8a076b087bebba9bc61d74880f8353f18fa79213", kill_on_drop: false }` [INFO] [stdout] ed53732b6a7f7b655253dfeb8a076b087bebba9bc61d74880f8353f18fa79213