[INFO] cloning repository https://github.com/binarycleric/bettis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/binarycleric/bettis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinarycleric%2Fbettis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinarycleric%2Fbettis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04890ea1dd82f0f0c25f8751755a3b41c23febf3 [INFO] checking binarycleric/bettis against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinarycleric%2Fbettis" "/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/binarycleric/bettis on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/binarycleric/bettis [INFO] finished tweaking git repo https://github.com/binarycleric/bettis [INFO] tweaked toml for git repo https://github.com/binarycleric/bettis written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/binarycleric/bettis 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded resp v1.0.2 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b78d45351f8a2e89538d51902d3cd1a714cb20c7b466119e47d9e8c0c0ae3c37 [INFO] running `Command { std: "docker" "start" "-a" "b78d45351f8a2e89538d51902d3cd1a714cb20c7b466119e47d9e8c0c0ae3c37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b78d45351f8a2e89538d51902d3cd1a714cb20c7b466119e47d9e8c0c0ae3c37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b78d45351f8a2e89538d51902d3cd1a714cb20c7b466119e47d9e8c0c0ae3c37", kill_on_drop: false }` [INFO] [stdout] b78d45351f8a2e89538d51902d3cd1a714cb20c7b466119e47d9e8c0c0ae3c37 [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" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb54ee98f582f785c5f1381cec0a91b9faafe962ae66403e3c5dee93d9c521b8 [INFO] running `Command { std: "docker" "start" "-a" "bb54ee98f582f785c5f1381cec0a91b9faafe962ae66403e3c5dee93d9c521b8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking resp v1.0.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.11 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking chrono v0.4.2 [INFO] [stderr] Checking simple_logger v0.5.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking bettis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/storage/mod.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use self::chrono::{DateTime, Utc, NaiveDateTime, Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/storage/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/storage/mod.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use self::chrono::{DateTime, Utc, NaiveDateTime, Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/storage/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | self.db.insert(&key, value.encode()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = self.db.insert(&key, value.encode()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage/mod.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | self.db.remove(&key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = self.db.remove(&key); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage/mod.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | self.db.remove(&key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = self.db.remove(&key); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage/mod.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | self.ttls.insert(key, &*ttl.to_rfc3339()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 79 | let _ = self.ttls.insert(key, &*ttl.to_rfc3339()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage/mod.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | database.set_ttl(TEST_KEY.to_string(), expected_ttl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 121 | let _ = database.set_ttl(TEST_KEY.to_string(), expected_ttl); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/command/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | values = array.get(1..).unwrap().clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[Value]` does not implement `Clone`, so calling `clone` on `&[Value]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | self.db.insert(&key, value.encode()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = self.db.insert(&key, value.encode()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage/mod.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | self.db.remove(&key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = self.db.remove(&key); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage/mod.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | self.db.remove(&key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = self.db.remove(&key); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/storage/mod.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | self.ttls.insert(key, &*ttl.to_rfc3339()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 79 | let _ = self.ttls.insert(key, &*ttl.to_rfc3339()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/command/mod.rs:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | values = array.get(1..).unwrap().clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[Value]` does not implement `Clone`, so calling `clone` on `&[Value]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.90s [INFO] running `Command { std: "docker" "inspect" "bb54ee98f582f785c5f1381cec0a91b9faafe962ae66403e3c5dee93d9c521b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb54ee98f582f785c5f1381cec0a91b9faafe962ae66403e3c5dee93d9c521b8", kill_on_drop: false }` [INFO] [stdout] bb54ee98f582f785c5f1381cec0a91b9faafe962ae66403e3c5dee93d9c521b8