[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAzenForze%2FRankedPairs" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AzenForze/RankedPairs on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-13/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2c592d689aa8b1b68a5c2ab7e9a4d49f5794f2c2b7fe9e862a2db8e38f1490d [INFO] running `Command { std: "docker" "start" "-a" "d2c592d689aa8b1b68a5c2ab7e9a4d49f5794f2c2b7fe9e862a2db8e38f1490d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2c592d689aa8b1b68a5c2ab7e9a4d49f5794f2c2b7fe9e862a2db8e38f1490d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2c592d689aa8b1b68a5c2ab7e9a4d49f5794f2c2b7fe9e862a2db8e38f1490d", kill_on_drop: false }` [INFO] [stdout] d2c592d689aa8b1b68a5c2ab7e9a4d49f5794f2c2b7fe9e862a2db8e38f1490d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47cb041cb0d6380ddfcf4b3e6dab23334f72888c96d594c8fbc027691eada154 [INFO] running `Command { std: "docker" "start" "-a" "47cb041cb0d6380ddfcf4b3e6dab23334f72888c96d594c8fbc027691eada154", 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.23s [INFO] running `Command { std: "docker" "inspect" "47cb041cb0d6380ddfcf4b3e6dab23334f72888c96d594c8fbc027691eada154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47cb041cb0d6380ddfcf4b3e6dab23334f72888c96d594c8fbc027691eada154", kill_on_drop: false }` [INFO] [stdout] 47cb041cb0d6380ddfcf4b3e6dab23334f72888c96d594c8fbc027691eada154 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5232a5774e8c5c5308476fc6aa468f3f3c24e756a6a33fbf9bfdada5bceb3c7d [INFO] running `Command { std: "docker" "start" "-a" "5232a5774e8c5c5308476fc6aa468f3f3c24e756a6a33fbf9bfdada5bceb3c7d", 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.23s [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5232a5774e8c5c5308476fc6aa468f3f3c24e756a6a33fbf9bfdada5bceb3c7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5232a5774e8c5c5308476fc6aa468f3f3c24e756a6a33fbf9bfdada5bceb3c7d", kill_on_drop: false }` [INFO] [stdout] 5232a5774e8c5c5308476fc6aa468f3f3c24e756a6a33fbf9bfdada5bceb3c7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bfb3aef79c9b6398f1c2fa6c9565aee3c8d2d6873eedc68570aaf38328bc19ae [INFO] running `Command { std: "docker" "start" "-a" "bfb3aef79c9b6398f1c2fa6c9565aee3c8d2d6873eedc68570aaf38328bc19ae", 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] [stdout] test ranked_pairs::RankedPairsTests::test_three ... ok [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.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ranked_pairs-c0017fdf4e65f934) [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" "bfb3aef79c9b6398f1c2fa6c9565aee3c8d2d6873eedc68570aaf38328bc19ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfb3aef79c9b6398f1c2fa6c9565aee3c8d2d6873eedc68570aaf38328bc19ae", kill_on_drop: false }` [INFO] [stdout] bfb3aef79c9b6398f1c2fa6c9565aee3c8d2d6873eedc68570aaf38328bc19ae