[INFO] cloning repository https://github.com/AzenForze/RankedPairs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AzenForze/RankedPairs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAzenForze%2FRankedPairs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAzenForze%2FRankedPairs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 740b4c8508d02a8238a64e8c1ce77c7ab22c5723 [INFO] testing AzenForze/RankedPairs against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAzenForze%2FRankedPairs" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AzenForze/RankedPairs on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AzenForze/RankedPairs [INFO] finished tweaking git repo https://github.com/AzenForze/RankedPairs [INFO] tweaked toml for git repo https://github.com/AzenForze/RankedPairs written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/AzenForze/RankedPairs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcf5b75e4d00873dc4a792c3afd6984924587762c1525fa2d9df9914ebf2c974 [INFO] running `Command { std: "docker" "start" "-a" "fcf5b75e4d00873dc4a792c3afd6984924587762c1525fa2d9df9914ebf2c974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcf5b75e4d00873dc4a792c3afd6984924587762c1525fa2d9df9914ebf2c974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf5b75e4d00873dc4a792c3afd6984924587762c1525fa2d9df9914ebf2c974", kill_on_drop: false }` [INFO] [stdout] fcf5b75e4d00873dc4a792c3afd6984924587762c1525fa2d9df9914ebf2c974 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8b70baa62204a294aa158fdb9f21fa503afe3ce639c92bed9112c276b152847 [INFO] running `Command { std: "docker" "start" "-a" "c8b70baa62204a294aa158fdb9f21fa503afe3ce639c92bed9112c276b152847", kill_on_drop: false }` [INFO] [stderr] Compiling ranked_pairs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a, R:'a, C:'a, Q, U> Borrow< KeyPair +'a > for Pair where [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair +'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | fn borrow(&self) -> &(KeyPair+'a) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair+'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | impl<'a, R:Eq+?Sized,C:Eq+?Sized> PartialEq for KeyPair + 'a [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | fn eq(&self, other: &KeyPair) -> bool [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | impl<'a, R:Eq+?Sized,C:Eq+?Sized> Eq for KeyPair + 'a {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:59:49 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a, R:Hash+?Sized, C:Hash+?Sized> Hash for KeyPair + 'a [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:86:50 [INFO] [stdout] | [INFO] [stdout] 86 | self.map.get_mut(&BPair(row, column) as &KeyPair) [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:105:55 [INFO] [stdout] | [INFO] [stdout] 105 | self.map.contains_key(&BPair(row, column) as &KeyPair) [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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/election.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [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/election.rs:120:62 [INFO] [stdout] | [INFO] [stdout] 120 | ElectionParseError::AmountParseError(ref e) => e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `or_insert` [INFO] [stdout] --> src/table.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn or_insert(self, val: V) -> &'a mut V [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "c8b70baa62204a294aa158fdb9f21fa503afe3ce639c92bed9112c276b152847", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8b70baa62204a294aa158fdb9f21fa503afe3ce639c92bed9112c276b152847", kill_on_drop: false }` [INFO] [stdout] c8b70baa62204a294aa158fdb9f21fa503afe3ce639c92bed9112c276b152847 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee5e33da2f4c374119a59593fa71224dcfb767ece1c91cc8bec1107e5e833901 [INFO] running `Command { std: "docker" "start" "-a" "ee5e33da2f4c374119a59593fa71224dcfb767ece1c91cc8bec1107e5e833901", kill_on_drop: false }` [INFO] [stderr] Compiling ranked_pairs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a, R:'a, C:'a, Q, U> Borrow< KeyPair +'a > for Pair where [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair +'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | fn borrow(&self) -> &(KeyPair+'a) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair+'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | impl<'a, R:Eq+?Sized,C:Eq+?Sized> PartialEq for KeyPair + 'a [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | fn eq(&self, other: &KeyPair) -> bool [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | impl<'a, R:Eq+?Sized,C:Eq+?Sized> Eq for KeyPair + 'a {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:59:49 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a, R:Hash+?Sized, C:Hash+?Sized> Hash for KeyPair + 'a [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:86:50 [INFO] [stdout] | [INFO] [stdout] 86 | self.map.get_mut(&BPair(row, column) as &KeyPair) [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:105:55 [INFO] [stdout] | [INFO] [stdout] 105 | self.map.contains_key(&BPair(row, column) as &KeyPair) [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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/election.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [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/election.rs:120:62 [INFO] [stdout] | [INFO] [stdout] 120 | ElectionParseError::AmountParseError(ref e) => e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `or_insert` [INFO] [stdout] --> src/table.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn or_insert(self, val: V) -> &'a mut V [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `RankedPairsTests` should have a snake case name [INFO] [stdout] --> src/ranked_pairs.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | mod RankedPairsTests [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ranked_pairs_tests` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.16s [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ee5e33da2f4c374119a59593fa71224dcfb767ece1c91cc8bec1107e5e833901", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee5e33da2f4c374119a59593fa71224dcfb767ece1c91cc8bec1107e5e833901", kill_on_drop: false }` [INFO] [stdout] ee5e33da2f4c374119a59593fa71224dcfb767ece1c91cc8bec1107e5e833901 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 21b282caf5f9e232fa3537c57bcc73968c0d11b8dd7ac9ed95e43869ca23a0bb [INFO] running `Command { std: "docker" "start" "-a" "21b282caf5f9e232fa3537c57bcc73968c0d11b8dd7ac9ed95e43869ca23a0bb", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] running 3 tests [INFO] [stderr] --> src/table.rs:37:36 [INFO] [stderr] | [INFO] [stderr] 37 | impl<'a, R:'a, C:'a, Q, U> Borrow< KeyPair +'a > for Pair where [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair +'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/table.rs:43:27 [INFO] [stderr] | [INFO] [stderr] 43 | fn borrow(&self) -> &(KeyPair+'a) [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair+'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/table.rs:49:49 [INFO] [stderr] | [INFO] [stderr] 49 | impl<'a, R:Eq+?Sized,C:Eq+?Sized> PartialEq for KeyPair + 'a [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/table.rs:51:26 [INFO] [stderr] | [INFO] [stderr] 51 | fn eq(&self, other: &KeyPair) -> bool [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/table.rs:57:42 [INFO] [stderr] | [INFO] [stderr] 57 | impl<'a, R:Eq+?Sized,C:Eq+?Sized> Eq for KeyPair + 'a {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/table.rs:59:49 [INFO] [stderr] | [INFO] [stderr] 59 | impl<'a, R:Hash+?Sized, C:Hash+?Sized> Hash for KeyPair + 'a [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/table.rs:86:50 [INFO] [stderr] | [INFO] [stderr] 86 | self.map.get_mut(&BPair(row, column) as &KeyPair) [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/table.rs:105:55 [INFO] [stderr] | [INFO] [stderr] 105 | self.map.contains_key(&BPair(row, column) as &KeyPair) [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn KeyPair` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/election.rs:105:30 [INFO] [stderr] | [INFO] [stderr] 105 | write!(f, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [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/election.rs:120:62 [INFO] [stderr] | [INFO] [stderr] 120 | ElectionParseError::AmountParseError(ref e) => e.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `or_insert` [INFO] [stderr] --> src/table.rs:163:12 [INFO] [stderr] | [INFO] [stderr] 163 | pub fn or_insert(self, val: V) -> &'a mut V [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: module `RankedPairsTests` should have a snake case name [INFO] [stderr] --> src/ranked_pairs.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | mod RankedPairsTests [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ranked_pairs_tests` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ranked_pairs-c0017fdf4e65f934) [INFO] [stdout] test ranked_pairs::RankedPairsTests::test_three ... ok [INFO] [stdout] test ranked_pairs::RankedPairsTests::test_two ... ok [INFO] [stdout] test ranked_pairs::RankedPairsTests::test_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "21b282caf5f9e232fa3537c57bcc73968c0d11b8dd7ac9ed95e43869ca23a0bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21b282caf5f9e232fa3537c57bcc73968c0d11b8dd7ac9ed95e43869ca23a0bb", kill_on_drop: false }` [INFO] [stdout] 21b282caf5f9e232fa3537c57bcc73968c0d11b8dd7ac9ed95e43869ca23a0bb