[INFO] cloning repository https://github.com/KaKnife/crystal
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KaKnife/crystal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaKnife%2Fcrystal", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaKnife%2Fcrystal'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dd806013887b714da7e90b543881b5a68f02f306
[INFO] testing KaKnife/crystal against beta-2020-10-09 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKaKnife%2Fcrystal" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/KaKnife/crystal on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/KaKnife/crystal
[INFO] removed workspace from git repo https://github.com/KaKnife/crystal
[INFO] finished tweaking git repo https://github.com/KaKnife/crystal
[INFO] tweaked toml for git repo https://github.com/KaKnife/crystal written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/KaKnife/crystal already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/alexcrichton/curl-rust.git`
[INFO] [stderr]     Updating git submodule `https://github.com/alexcrichton/curl`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 6046f9c38a932f1ba1741574428adad88e70fc7dd685a8c490b85c65df721a4b
[INFO] running `Command { std: "docker" "start" "-a" "6046f9c38a932f1ba1741574428adad88e70fc7dd685a8c490b85c65df721a4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6046f9c38a932f1ba1741574428adad88e70fc7dd685a8c490b85c65df721a4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6046f9c38a932f1ba1741574428adad88e70fc7dd685a8c490b85c65df721a4b", kill_on_drop: false }`
[INFO] [stdout] 6046f9c38a932f1ba1741574428adad88e70fc7dd685a8c490b85c65df721a4b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eea08aaf2b8997e94a8f9a29c4b9204f77aff58a077720d8fe522faf3ffee4c0
[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" "eea08aaf2b8997e94a8f9a29c4b9204f77aff58a077720d8fe522faf3ffee4c0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.39
[INFO] [stderr]    Compiling cc v1.0.6
[INFO] [stderr]    Compiling quick-error v1.2.1
[INFO] [stderr]    Compiling termcolor v0.3.5
[INFO] [stderr]    Compiling getopts v0.2.17
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]    Compiling libarchive3-sys v0.1.2
[INFO] [stderr]    Compiling regex-syntax v0.5.2
[INFO] [stderr]    Compiling thread_local v0.3.5
[INFO] [stderr]    Compiling humantime v1.1.1
[INFO] [stderr]    Compiling memchr v2.0.1
[INFO] [stderr]    Compiling socket2 v0.3.3
[INFO] [stderr]    Compiling atty v0.2.8
[INFO] [stderr]    Compiling libarchive v0.1.1
[INFO] [stderr]    Compiling aho-corasick v0.6.4
[INFO] [stderr]    Compiling openssl-sys v0.9.27
[INFO] [stderr]    Compiling libz-sys v1.0.18
[INFO] [stderr]    Compiling curl-sys v0.4.1 (https://github.com/alexcrichton/curl-rust.git#a15e3e35)
[INFO] [stderr]    Compiling regex v0.2.8
[INFO] [stderr]    Compiling env_logger v0.5.5
[INFO] [stderr]    Compiling curl v0.4.11 (https://github.com/alexcrichton/curl-rust.git#a15e3e35)
[INFO] [stderr]    Compiling crystal v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/consts.rs:16:29
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const INFRQ_BASE: i32 = (1 << 0);
[INFO] [stdout]    |                             ^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/consts.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub const INFRQ_DESC: i32 = (1 << 1);
[INFO] [stdout]    |                             ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/consts.rs:18:30
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const INFRQ_FILES: i32 = (1 << 2);
[INFO] [stdout]    |                              ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/consts.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const INFRQ_SCRIPTLET: i32 = (1 << 3);
[INFO] [stdout]    |                                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/consts.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const INFRQ_DSIZE: i32 = (1 << 4);
[INFO] [stdout]    |                              ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/consts.rs:23:30
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const INFRQ_ERROR: i32 = (1 << 30);
[INFO] [stdout]    |                              ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/consts.rs:33:40
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub const PKG_LOCALITY_NATIVE: usize = (1 << 0);
[INFO] [stdout]    |                                        ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/consts.rs:34:41
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub const PKG_LOCALITY_FOREIGN: usize = (1 << 1);
[INFO] [stdout]    |                                         ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/package.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     None = (1 << 0),
[INFO] [stdout]    |            ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/package.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |     MD5Sum = (1 << 1),
[INFO] [stdout]    |              ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/package.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |     SHA256Sum = (1 << 2),
[INFO] [stdout]    |                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/package.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |     Signature = (1 << 3),
[INFO] [stdout]    |                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/question.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |     InstallIgnorepkg = (1 << 0),
[INFO] [stdout]    |                        ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/question.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |     ReplacePkg = (1 << 1),
[INFO] [stdout]    |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/question.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 12 |     ConflictPkg = (1 << 2),
[INFO] [stdout]    |                   ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/question.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |     CorruptedPkg = (1 << 3),
[INFO] [stdout]    |                    ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/question.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 |     RemovePkgs = (1 << 4),
[INFO] [stdout]    |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/question.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 |     SelectProvider = (1 << 5),
[INFO] [stdout]    |                      ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/question.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |     ImportKey = (1 << 6),
[INFO] [stdout]    |                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parse.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | /     Fn(&String, usize, &String, &Option<String>, &Option<String>, &mut Section, &mut Config)
[INFO] [stdout] 16 | |         -> Result<()>;
[INFO] [stdout]    | |_____________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     dyn Fn(&String, usize, &String, &Option<String>, &Option<String>, &mut Section, &mut Config)
[INFO] [stdout] 16 |         -> Result<()>;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/pacman/query.rs:423:44
[INFO] [stdout]     |
[INFO] [stdout] 423 |         let strname = String::from(strname.trim_left_matches(LOCAL_PREFIX));
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/error.rs:31:30
[INFO] [stdout]    |
[INFO] [stdout] 31 |         write!(f, "{}", self.description())
[INFO] [stdout]    |                              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/error.rs:202:40
[INFO] [stdout]     |
[INFO] [stdout] 202 |             &Error::IO(ref err) => err.description(),
[INFO] [stdout]     |                                        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/error.rs:203:47
[INFO] [stdout]     |
[INFO] [stdout] 203 |             &Error::CurlError(ref err) => err.description(),
[INFO] [stdout]     |                                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/error.rs:204:53
[INFO] [stdout]     |
[INFO] [stdout] 204 |             &Error::SystemTimeError(ref err) => err.description(),
[INFO] [stdout]     |                                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]     --> src/db.rs:1172:12
[INFO] [stdout]      |
[INFO] [stdout] 1172 |     newurl.trim_right_matches('/');
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/parse.rs:125:25
[INFO] [stdout]     |
[INFO] [stdout] 125 |             name = name.trim_left_matches('[');
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> src/parse.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 |             name = name.trim_right_matches("]");
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/parse.rs:388:43
[INFO] [stdout]     |
[INFO] [stdout] 388 |             value = String::from(original.trim_left_matches("Package"));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/parse.rs:392:43
[INFO] [stdout]     |
[INFO] [stdout] 392 |             value = String::from(original.trim_left_matches("Database"));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused logical operation that must be used
[INFO] [stdout]    --> src/pacman/sync.rs:274:9
[INFO] [stdout]     |
[INFO] [stdout] 274 |         found == found || dump_pkg_search(db, targets, 1, handle, config.quiet).is_err();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `str::<impl str>::replace` that must be used
[INFO] [stdout]     --> src/util.rs:2346:9
[INFO] [stdout]      |
[INFO] [stdout] 2346 |         string.replace("%n", &pkg.get_name());
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this returns the replaced string as a new allocation, without modifying the original
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `str::<impl str>::replace` that must be used
[INFO] [stdout]     --> src/util.rs:2348:9
[INFO] [stdout]      |
[INFO] [stdout] 2348 |         string.replace("%v", &pkg.get_version());
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this returns the replaced string as a new allocation, without modifying the original
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `str::<impl str>::replace` that must be used
[INFO] [stdout]     --> src/util.rs:2350:9
[INFO] [stdout]      |
[INFO] [stdout] 2350 |         string.replace("%l", &pkg_get_location(&pkg, sync_dbs));
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this returns the replaced string as a new allocation, without modifying the original
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `str::<impl str>::replace` that must be used
[INFO] [stdout]     --> src/util.rs:2357:13
[INFO] [stdout]      |
[INFO] [stdout] 2357 |             string.replace("%s", &size);
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this returns the replaced string as a new allocation, without modifying the original
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/db.rs:489:9
[INFO] [stdout]     |
[INFO] [stdout] 489 |         builder.support_compression(ReadCompression::All);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/db.rs:490:9
[INFO] [stdout]     |
[INFO] [stdout] 490 |         builder.support_format(ReadFormat::All);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 37 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3m 12s
[INFO] running `Command { std: "docker" "inspect" "eea08aaf2b8997e94a8f9a29c4b9204f77aff58a077720d8fe522faf3ffee4c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eea08aaf2b8997e94a8f9a29c4b9204f77aff58a077720d8fe522faf3ffee4c0", kill_on_drop: false }`
[INFO] [stdout] eea08aaf2b8997e94a8f9a29c4b9204f77aff58a077720d8fe522faf3ffee4c0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "+beta-2020-10-09" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 91d6af1920ecdfcb07ec2dff1ca5bc89cc09b7e422c4d3298df71adbf9aafa3d
[INFO] running `Command { std: "docker" "start" "-a" "91d6af1920ecdfcb07ec2dff1ca5bc89cc09b7e422c4d3298df71adbf9aafa3d", kill_on_drop: false }`
[INFO] [stderr]    Compiling crystal v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/consts.rs:16:29
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const INFRQ_BASE: i32 = (1 << 0);
[INFO] [stdout]    |                             ^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/consts.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub const INFRQ_DESC: i32 = (1 << 1);
[INFO] [stdout]    |                             ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/consts.rs:18:30
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const INFRQ_FILES: i32 = (1 << 2);
[INFO] [stdout]    |                              ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/consts.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub const INFRQ_SCRIPTLET: i32 = (1 << 3);
[INFO] [stdout]    |                                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/consts.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const INFRQ_DSIZE: i32 = (1 << 4);
[INFO] [stdout]    |                              ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/consts.rs:23:30
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const INFRQ_ERROR: i32 = (1 << 30);
[INFO] [stdout]    |                              ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/consts.rs:33:40
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub const PKG_LOCALITY_NATIVE: usize = (1 << 0);
[INFO] [stdout]    |                                        ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/consts.rs:34:41
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub const PKG_LOCALITY_FOREIGN: usize = (1 << 1);
[INFO] [stdout]    |                                         ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/package.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     None = (1 << 0),
[INFO] [stdout]    |            ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/package.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 |     MD5Sum = (1 << 1),
[INFO] [stdout]    |              ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/package.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 |     SHA256Sum = (1 << 2),
[INFO] [stdout]    |                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/package.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 |     Signature = (1 << 3),
[INFO] [stdout]    |                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/question.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 |     InstallIgnorepkg = (1 << 0),
[INFO] [stdout]    |                        ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/question.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |     ReplacePkg = (1 << 1),
[INFO] [stdout]    |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/question.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 12 |     ConflictPkg = (1 << 2),
[INFO] [stdout]    |                   ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/question.rs:13:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |     CorruptedPkg = (1 << 3),
[INFO] [stdout]    |                    ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/question.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 |     RemovePkgs = (1 << 4),
[INFO] [stdout]    |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/question.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 |     SelectProvider = (1 << 5),
[INFO] [stdout]    |                      ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/question.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |     ImportKey = (1 << 6),
[INFO] [stdout]    |                 ^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/parse.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | /     Fn(&String, usize, &String, &Option<String>, &Option<String>, &mut Section, &mut Config)
[INFO] [stdout] 16 | |         -> Result<()>;
[INFO] [stdout]    | |_____________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     dyn Fn(&String, usize, &String, &Option<String>, &Option<String>, &mut Section, &mut Config)
[INFO] [stdout] 16 |         -> Result<()>;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/pacman/query.rs:423:44
[INFO] [stdout]     |
[INFO] [stdout] 423 |         let strname = String::from(strname.trim_left_matches(LOCAL_PREFIX));
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/error.rs:31:30
[INFO] [stdout]    |
[INFO] [stdout] 31 |         write!(f, "{}", self.description())
[INFO] [stdout]    |                              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/error.rs:202:40
[INFO] [stdout]     |
[INFO] [stdout] 202 |             &Error::IO(ref err) => err.description(),
[INFO] [stdout]     |                                        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/error.rs:203:47
[INFO] [stdout]     |
[INFO] [stdout] 203 |             &Error::CurlError(ref err) => err.description(),
[INFO] [stdout]     |                                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/error.rs:204:53
[INFO] [stdout]     |
[INFO] [stdout] 204 |             &Error::SystemTimeError(ref err) => err.description(),
[INFO] [stdout]     |                                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]     --> src/db.rs:1172:12
[INFO] [stdout]      |
[INFO] [stdout] 1172 |     newurl.trim_right_matches('/');
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/parse.rs:125:25
[INFO] [stdout]     |
[INFO] [stdout] 125 |             name = name.trim_left_matches('[');
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> src/parse.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 |             name = name.trim_right_matches("]");
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/parse.rs:388:43
[INFO] [stdout]     |
[INFO] [stdout] 388 |             value = String::from(original.trim_left_matches("Package"));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/parse.rs:392:43
[INFO] [stdout]     |
[INFO] [stdout] 392 |             value = String::from(original.trim_left_matches("Database"));
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused logical operation that must be used
[INFO] [stdout]    --> src/pacman/sync.rs:274:9
[INFO] [stdout]     |
[INFO] [stdout] 274 |         found == found || dump_pkg_search(db, targets, 1, handle, config.quiet).is_err();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `str::<impl str>::replace` that must be used
[INFO] [stdout]     --> src/util.rs:2346:9
[INFO] [stdout]      |
[INFO] [stdout] 2346 |         string.replace("%n", &pkg.get_name());
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this returns the replaced string as a new allocation, without modifying the original
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `str::<impl str>::replace` that must be used
[INFO] [stdout]     --> src/util.rs:2348:9
[INFO] [stdout]      |
[INFO] [stdout] 2348 |         string.replace("%v", &pkg.get_version());
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this returns the replaced string as a new allocation, without modifying the original
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `str::<impl str>::replace` that must be used
[INFO] [stdout]     --> src/util.rs:2350:9
[INFO] [stdout]      |
[INFO] [stdout] 2350 |         string.replace("%l", &pkg_get_location(&pkg, sync_dbs));
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this returns the replaced string as a new allocation, without modifying the original
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `str::<impl str>::replace` that must be used
[INFO] [stdout]     --> src/util.rs:2357:13
[INFO] [stdout]      |
[INFO] [stdout] 2357 |             string.replace("%s", &size);
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this returns the replaced string as a new allocation, without modifying the original
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/db.rs:489:9
[INFO] [stdout]     |
[INFO] [stdout] 489 |         builder.support_compression(ReadCompression::All);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/db.rs:490:9
[INFO] [stdout]     |
[INFO] [stdout] 490 |         builder.support_format(ReadFormat::All);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 37 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.93s
[INFO] running `Command { std: "docker" "inspect" "91d6af1920ecdfcb07ec2dff1ca5bc89cc09b7e422c4d3298df71adbf9aafa3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91d6af1920ecdfcb07ec2dff1ca5bc89cc09b7e422c4d3298df71adbf9aafa3d", kill_on_drop: false }`
[INFO] [stdout] 91d6af1920ecdfcb07ec2dff1ca5bc89cc09b7e422c4d3298df71adbf9aafa3d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "+beta-2020-10-09" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 192a51878898689e190d8d445fe1f8078e79fe2fca39f32bbc9f39850935aba6
[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" "192a51878898689e190d8d445fe1f8078e79fe2fca39f32bbc9f39850935aba6", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/consts.rs:16:29
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub const INFRQ_BASE: i32 = (1 << 0);
[INFO] [stderr]    |                             ^^^^^^^^ help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/consts.rs:17:29
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub const INFRQ_DESC: i32 = (1 << 1);
[INFO] [stderr]    |                             ^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/consts.rs:18:30
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub const INFRQ_FILES: i32 = (1 << 2);
[INFO] [stderr]    |                              ^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/consts.rs:19:34
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub const INFRQ_SCRIPTLET: i32 = (1 << 3);
[INFO] [stderr]    |                                  ^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/consts.rs:20:30
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub const INFRQ_DSIZE: i32 = (1 << 4);
[INFO] [stderr]    |                              ^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/consts.rs:23:30
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub const INFRQ_ERROR: i32 = (1 << 30);
[INFO] [stderr]    |                              ^^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/consts.rs:33:40
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub const PKG_LOCALITY_NATIVE: usize = (1 << 0);
[INFO] [stderr]    |                                        ^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]   --> src/consts.rs:34:41
[INFO] [stderr]    |
[INFO] [stderr] 34 | pub const PKG_LOCALITY_FOREIGN: usize = (1 << 1);
[INFO] [stderr]    |                                         ^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around const expression
[INFO] [stderr]   --> src/package.rs:43:12
[INFO] [stderr]    |
[INFO] [stderr] 43 |     None = (1 << 0),
[INFO] [stderr]    |            ^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around const expression
[INFO] [stderr]   --> src/package.rs:44:14
[INFO] [stderr]    |
[INFO] [stderr] 44 |     MD5Sum = (1 << 1),
[INFO] [stderr]    |              ^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around const expression
[INFO] [stderr]   --> src/package.rs:45:17
[INFO] [stderr]    |
[INFO] [stderr] 45 |     SHA256Sum = (1 << 2),
[INFO] [stderr]    |                 ^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around const expression
[INFO] [stderr]   --> src/package.rs:46:17
[INFO] [stderr]    |
[INFO] [stderr] 46 |     Signature = (1 << 3),
[INFO] [stderr]    |                 ^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around const expression
[INFO] [stderr]   --> src/question.rs:10:24
[INFO] [stderr]    |
[INFO] [stderr] 10 |     InstallIgnorepkg = (1 << 0),
[INFO] [stderr]    |                        ^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around const expression
[INFO] [stderr]   --> src/question.rs:11:18
[INFO] [stderr]    |
[INFO] [stderr] 11 |     ReplacePkg = (1 << 1),
[INFO] [stderr]    |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around const expression
[INFO] [stderr]   --> src/question.rs:12:19
[INFO] [stderr]    |
[INFO] [stderr] 12 |     ConflictPkg = (1 << 2),
[INFO] [stderr]    |                   ^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around const expression
[INFO] [stderr]   --> src/question.rs:13:20
[INFO] [stderr]    |
[INFO] [stderr] 13 |     CorruptedPkg = (1 << 3),
[INFO] [stderr]    |                    ^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around const expression
[INFO] [stderr]   --> src/question.rs:14:18
[INFO] [stderr]    |
[INFO] [stderr] 14 |     RemovePkgs = (1 << 4),
[INFO] [stderr]    |                  ^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around const expression
[INFO] [stderr]   --> src/question.rs:15:22
[INFO] [stderr]    |
[INFO] [stderr] 15 |     SelectProvider = (1 << 5),
[INFO] [stderr]    |                      ^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around const expression
[INFO] [stderr]   --> src/question.rs:16:17
[INFO] [stderr]    |
[INFO] [stderr] 16 |     ImportKey = (1 << 6),
[INFO] [stderr]    |                 ^^^^^^^^ help: remove these parentheses
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/parse.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | /     Fn(&String, usize, &String, &Option<String>, &Option<String>, &mut Section, &mut Config)
[INFO] [stderr] 16 | |         -> Result<()>;
[INFO] [stderr]    | |_____________________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 15 |     dyn Fn(&String, usize, &String, &Option<String>, &Option<String>, &mut Section, &mut Config)
[INFO] [stderr] 16 |         -> Result<()>;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stderr]    --> src/pacman/query.rs:423:44
[INFO] [stderr]     |
[INFO] [stderr] 423 |         let strname = String::from(strname.trim_left_matches(LOCAL_PREFIX));
[INFO] [stderr]     |                                            ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/error.rs:31:30
[INFO] [stderr]    |
[INFO] [stderr] 31 |         write!(f, "{}", self.description())
[INFO] [stderr]    |                              ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]    --> src/error.rs:202:40
[INFO] [stderr]     |
[INFO] [stderr] 202 |             &Error::IO(ref err) => err.description(),
[INFO] [stderr]     |                                        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]    --> src/error.rs:203:47
[INFO] [stderr]     |
[INFO] [stderr] 203 |             &Error::CurlError(ref err) => err.description(),
[INFO] [stderr]     |                                               ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]    --> src/error.rs:204:53
[INFO] [stderr]     |
[INFO] [stderr] 204 |             &Error::SystemTimeError(ref err) => err.description(),
[INFO] [stderr]     |                                                     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]     --> src/db.rs:1172:12
[INFO] [stderr]      |
[INFO] [stderr] 1172 |     newurl.trim_right_matches('/');
[INFO] [stderr]      |            ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stderr]    --> src/parse.rs:125:25
[INFO] [stderr]     |
[INFO] [stderr] 125 |             name = name.trim_left_matches('[');
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]    --> src/parse.rs:126:25
[INFO] [stderr]     |
[INFO] [stderr] 126 |             name = name.trim_right_matches("]");
[INFO] [stderr]     |                         ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stderr]    --> src/parse.rs:388:43
[INFO] [stderr]     |
[INFO] [stderr] 388 |             value = String::from(original.trim_left_matches("Package"));
[INFO] [stderr]     |                                           ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stderr]    --> src/parse.rs:392:43
[INFO] [stderr]     |
[INFO] [stderr] 392 |             value = String::from(original.trim_left_matches("Database"));
[INFO] [stderr]     |                                           ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: unused logical operation that must be used
[INFO] [stderr]    --> src/pacman/sync.rs:274:9
[INFO] [stderr]     |
[INFO] [stderr] 274 |         found == found || dump_pkg_search(db, targets, 1, handle, config.quiet).is_err();
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `str::<impl str>::replace` that must be used
[INFO] [stderr]     --> src/util.rs:2346:9
[INFO] [stderr]      |
[INFO] [stderr] 2346 |         string.replace("%n", &pkg.get_name());
[INFO] [stderr]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: this returns the replaced string as a new allocation, without modifying the original
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `str::<impl str>::replace` that must be used
[INFO] [stderr]     --> src/util.rs:2348:9
[INFO] [stderr]      |
[INFO] [stderr] 2348 |         string.replace("%v", &pkg.get_version());
[INFO] [stderr]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: this returns the replaced string as a new allocation, without modifying the original
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `str::<impl str>::replace` that must be used
[INFO] [stderr]     --> src/util.rs:2350:9
[INFO] [stderr]      |
[INFO] [stderr] 2350 |         string.replace("%l", &pkg_get_location(&pkg, sync_dbs));
[INFO] [stderr]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: this returns the replaced string as a new allocation, without modifying the original
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `str::<impl str>::replace` that must be used
[INFO] [stderr]     --> src/util.rs:2357:13
[INFO] [stderr]      |
[INFO] [stderr] 2357 |             string.replace("%s", &size);
[INFO] [stderr]      |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: this returns the replaced string as a new allocation, without modifying the original
[INFO] [stderr] 
[INFO] [stderr] warning: unused `std::result::Result` that must be used
[INFO] [stderr]    --> src/db.rs:489:9
[INFO] [stderr]     |
[INFO] [stderr] 489 |         builder.support_compression(ReadCompression::All);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: unused `std::result::Result` that must be used
[INFO] [stderr]    --> src/db.rs:490:9
[INFO] [stderr]     |
[INFO] [stderr] 490 |         builder.support_format(ReadFormat::All);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] 
[INFO] [stderr] warning: 37 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/crystal-1d1c26fde1ef552d
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "192a51878898689e190d8d445fe1f8078e79fe2fca39f32bbc9f39850935aba6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "192a51878898689e190d8d445fe1f8078e79fe2fca39f32bbc9f39850935aba6", kill_on_drop: false }`
[INFO] [stdout] 192a51878898689e190d8d445fe1f8078e79fe2fca39f32bbc9f39850935aba6
