[INFO] fetching crate pathtracer 0.6.5... [INFO] testing pathtracer-0.6.5 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate pathtracer 0.6.5 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate pathtracer 0.6.5 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 crates.io crate pathtracer 0.6.5 [INFO] finished tweaking crates.io crate pathtracer 0.6.5 [INFO] tweaked toml for crates.io crate pathtracer 0.6.5 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate pathtracer 0.6.5 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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2bda4d44d84c8b4455a93be72cf023bdccdee279b658bcfbdb768353fdb2a19c [INFO] running `Command { std: "docker" "start" "-a" "2bda4d44d84c8b4455a93be72cf023bdccdee279b658bcfbdb768353fdb2a19c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bda4d44d84c8b4455a93be72cf023bdccdee279b658bcfbdb768353fdb2a19c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bda4d44d84c8b4455a93be72cf023bdccdee279b658bcfbdb768353fdb2a19c", kill_on_drop: false }` [INFO] [stdout] 2bda4d44d84c8b4455a93be72cf023bdccdee279b658bcfbdb768353fdb2a19c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] df5d0deed393a91a531514e471d320d779ae4c97318b47ce4a7feb7250a69f6a [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" "df5d0deed393a91a531514e471d320d779ae4c97318b47ce4a7feb7250a69f6a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling pythagoras v0.1.1 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling png v0.14.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling image v0.21.3 [INFO] [stderr] Compiling pathtracer v0.6.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coordinate/mod.rs:19:48 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_list(list: &[(i16, i16)], get: &Fn(Coordinate, usize) -> T) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Coordinate, usize) -> T` [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/coordinate/mod.rs:56:56 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn calc(start: Coordinate, variable: usize, call: &Fn(usize) -> Coordinate) -> Coordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> Coordinate` [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/data/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | pub lambda_tag: &'a Fn(&str) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/data/mod.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn convert_file(path: &str, lambda: &Fn(&str) -> bool) -> Result, io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/data/mod.rs:46:40 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn convert(content: &str, lambda: &Fn(&str) -> bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/data/mod.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | lambda_tag: &'a Fn(&str) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/map/gif.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | predicate: &'a Fn(&T) -> T, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> T` [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/map/gif.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(interval: u8, map: Vec, predicate: &'a Fn(&T) -> T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> T` [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/map/gif.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | predicate: &'a Fn(&Node) -> Node, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Node) -> Node` [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/map/network.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | algorithm: &Fn(&Network, Node, Node) -> io::Result>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Network, Node, Node) -> io::Result>` [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: unnecessary parentheses around type [INFO] [stdout] --> src/map/mod.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | ) -> (image::ImageBuffer, Vec>, (Coordinate)) { [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tools/mod.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | plot_kind: &Fn(Coordinate, Coordinate) -> Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Coordinate, Coordinate) -> Vec` [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/lib.rs:838:13 [INFO] [stdout] | [INFO] [stdout] 838 | f: &Fn(Coordinate, Coordinate) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Coordinate, Coordinate) -> bool` [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/lib.rs:1224:35 [INFO] [stdout] | [INFO] [stdout] 1224 | pub fn each(&mut self, func: &Fn(&mut Node)) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Node)` [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/lib.rs:1245:30 [INFO] [stdout] | [INFO] [stdout] 1245 | pub fn all(&self, func: &Fn(&Node) -> bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Node) -> bool` [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/lib.rs:1269:30 [INFO] [stdout] | [INFO] [stdout] 1269 | pub fn any(&self, func: &Fn(&Node) -> bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Node) -> bool` [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/lib.rs:1301:40 [INFO] [stdout] | [INFO] [stdout] 1301 | pub fn node_plot(&mut self, calc: &Fn(usize) -> Coordinate) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> Coordinate` [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/lib.rs:1536:18 [INFO] [stdout] | [INFO] [stdout] 1536 | filter: &Fn(&T) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> bool` [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/lib.rs:1569:18 [INFO] [stdout] | [INFO] [stdout] 1569 | filter: &Fn(&T) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> bool` [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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.97s [INFO] running `Command { std: "docker" "inspect" "df5d0deed393a91a531514e471d320d779ae4c97318b47ce4a7feb7250a69f6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df5d0deed393a91a531514e471d320d779ae4c97318b47ce4a7feb7250a69f6a", kill_on_drop: false }` [INFO] [stdout] df5d0deed393a91a531514e471d320d779ae4c97318b47ce4a7feb7250a69f6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] c1d31f7ef149e3896e4d0b62f0a662def9cde729abf824eebe25a1f916c7b084 [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" "c1d31f7ef149e3896e4d0b62f0a662def9cde729abf824eebe25a1f916c7b084", kill_on_drop: false }` [INFO] [stderr] Compiling pathtracer v0.6.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coordinate/mod.rs:19:48 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_list(list: &[(i16, i16)], get: &Fn(Coordinate, usize) -> T) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Coordinate, usize) -> T` [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/coordinate/mod.rs:56:56 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn calc(start: Coordinate, variable: usize, call: &Fn(usize) -> Coordinate) -> Coordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> Coordinate` [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/data/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | pub lambda_tag: &'a Fn(&str) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/data/mod.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn convert_file(path: &str, lambda: &Fn(&str) -> bool) -> Result, io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/data/mod.rs:46:40 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn convert(content: &str, lambda: &Fn(&str) -> bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/data/mod.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | lambda_tag: &'a Fn(&str) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/map/gif.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | predicate: &'a Fn(&T) -> T, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> T` [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/map/gif.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(interval: u8, map: Vec, predicate: &'a Fn(&T) -> T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> T` [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/map/gif.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | predicate: &'a Fn(&Node) -> Node, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Node) -> Node` [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/map/network.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | algorithm: &Fn(&Network, Node, Node) -> io::Result>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Network, Node, Node) -> io::Result>` [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: unnecessary parentheses around type [INFO] [stdout] --> src/map/mod.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | ) -> (image::ImageBuffer, Vec>, (Coordinate)) { [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tools/mod.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | plot_kind: &Fn(Coordinate, Coordinate) -> Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Coordinate, Coordinate) -> Vec` [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/lib.rs:838:13 [INFO] [stdout] | [INFO] [stdout] 838 | f: &Fn(Coordinate, Coordinate) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Coordinate, Coordinate) -> bool` [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/lib.rs:1224:35 [INFO] [stdout] | [INFO] [stdout] 1224 | pub fn each(&mut self, func: &Fn(&mut Node)) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Node)` [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/lib.rs:1245:30 [INFO] [stdout] | [INFO] [stdout] 1245 | pub fn all(&self, func: &Fn(&Node) -> bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Node) -> bool` [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/lib.rs:1269:30 [INFO] [stdout] | [INFO] [stdout] 1269 | pub fn any(&self, func: &Fn(&Node) -> bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Node) -> bool` [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/lib.rs:1301:40 [INFO] [stdout] | [INFO] [stdout] 1301 | pub fn node_plot(&mut self, calc: &Fn(usize) -> Coordinate) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> Coordinate` [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/lib.rs:1536:18 [INFO] [stdout] | [INFO] [stdout] 1536 | filter: &Fn(&T) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> bool` [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/lib.rs:1569:18 [INFO] [stdout] | [INFO] [stdout] 1569 | filter: &Fn(&T) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> bool` [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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/coordinate/mod.rs:19:48 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_list(list: &[(i16, i16)], get: &Fn(Coordinate, usize) -> T) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Coordinate, usize) -> T` [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/coordinate/mod.rs:56:56 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn calc(start: Coordinate, variable: usize, call: &Fn(usize) -> Coordinate) -> Coordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> Coordinate` [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/data/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | pub lambda_tag: &'a Fn(&str) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/data/mod.rs:27:42 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn convert_file(path: &str, lambda: &Fn(&str) -> bool) -> Result, io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/data/mod.rs:46:40 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn convert(content: &str, lambda: &Fn(&str) -> bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/data/mod.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | lambda_tag: &'a Fn(&str) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/map/gif.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | predicate: &'a Fn(&T) -> T, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> T` [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/map/gif.rs:19:58 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(interval: u8, map: Vec, predicate: &'a Fn(&T) -> T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> T` [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/map/gif.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | predicate: &'a Fn(&Node) -> Node, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Node) -> Node` [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/map/gif.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | fn define(case: &Fn(Gif) -> std::io::Result<()>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Gif) -> std::io::Result<()>` [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/map/network.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | algorithm: &Fn(&Network, Node, Node) -> io::Result>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Network, Node, Node) -> io::Result>` [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: unnecessary parentheses around type [INFO] [stdout] --> src/map/mod.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | ) -> (image::ImageBuffer, Vec>, (Coordinate)) { [INFO] [stdout] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tools/mod.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | plot_kind: &Fn(Coordinate, Coordinate) -> Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Coordinate, Coordinate) -> Vec` [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/lib.rs:838:13 [INFO] [stdout] | [INFO] [stdout] 838 | f: &Fn(Coordinate, Coordinate) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Coordinate, Coordinate) -> bool` [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/lib.rs:1224:35 [INFO] [stdout] | [INFO] [stdout] 1224 | pub fn each(&mut self, func: &Fn(&mut Node)) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Node)` [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/lib.rs:1245:30 [INFO] [stdout] | [INFO] [stdout] 1245 | pub fn all(&self, func: &Fn(&Node) -> bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Node) -> bool` [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/lib.rs:1269:30 [INFO] [stdout] | [INFO] [stdout] 1269 | pub fn any(&self, func: &Fn(&Node) -> bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Node) -> bool` [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/lib.rs:1301:40 [INFO] [stdout] | [INFO] [stdout] 1301 | pub fn node_plot(&mut self, calc: &Fn(usize) -> Coordinate) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> Coordinate` [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/lib.rs:1536:18 [INFO] [stdout] | [INFO] [stdout] 1536 | filter: &Fn(&T) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> bool` [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/lib.rs:1569:18 [INFO] [stdout] | [INFO] [stdout] 1569 | filter: &Fn(&T) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> bool` [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: panic message is not a string literal [INFO] [stdout] --> src/tests/mod.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | format!("expected {}, got {}", i, a.get_link_avail_index()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 128 | "expected {}, got {}", i, a.get_link_avail_index() [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.60s [INFO] running `Command { std: "docker" "inspect" "c1d31f7ef149e3896e4d0b62f0a662def9cde729abf824eebe25a1f916c7b084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1d31f7ef149e3896e4d0b62f0a662def9cde729abf824eebe25a1f916c7b084", kill_on_drop: false }` [INFO] [stdout] c1d31f7ef149e3896e4d0b62f0a662def9cde729abf824eebe25a1f916c7b084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] ee1330f0626bbcb5c0f3c8ecf084d0f3783b324fd517599bb80501ee7daaae20 [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" "ee1330f0626bbcb5c0f3c8ecf084d0f3783b324fd517599bb80501ee7daaae20", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/coordinate/mod.rs:19:48 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn from_list(list: &[(i16, i16)], get: &Fn(Coordinate, usize) -> T) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Coordinate, usize) -> T` [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/coordinate/mod.rs:56:56 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn calc(start: Coordinate, variable: usize, call: &Fn(usize) -> Coordinate) -> Coordinate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> Coordinate` [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/data/mod.rs:20:25 [INFO] [stderr] | [INFO] [stderr] 20 | pub lambda_tag: &'a Fn(&str) -> bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/data/mod.rs:27:42 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn convert_file(path: &str, lambda: &Fn(&str) -> bool) -> Result, io::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/data/mod.rs:46:40 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn convert(content: &str, lambda: &Fn(&str) -> bool) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/data/mod.rs:59:25 [INFO] [stderr] | [INFO] [stderr] 59 | lambda_tag: &'a Fn(&str) -> bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/map/gif.rs:15:20 [INFO] [stderr] | [INFO] [stderr] 15 | predicate: &'a Fn(&T) -> T, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> T` [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/map/gif.rs:19:58 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn new(interval: u8, map: Vec, predicate: &'a Fn(&T) -> T) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> T` [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/map/gif.rs:101:24 [INFO] [stderr] | [INFO] [stderr] 101 | predicate: &'a Fn(&Node) -> Node, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Node) -> Node` [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/map/network.rs:30:17 [INFO] [stderr] | [INFO] [stderr] 30 | algorithm: &Fn(&Network, Node, Node) -> io::Result>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Network, Node, Node) -> io::Result>` [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: unnecessary parentheses around type [INFO] [stderr] --> src/map/mod.rs:19:46 [INFO] [stderr] | [INFO] [stderr] 19 | ) -> (image::ImageBuffer, Vec>, (Coordinate)) { [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tools/mod.rs:190:17 [INFO] [stderr] | [INFO] [stderr] 190 | plot_kind: &Fn(Coordinate, Coordinate) -> Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Coordinate, Coordinate) -> Vec` [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/lib.rs:838:13 [INFO] [stderr] | [INFO] [stderr] 838 | f: &Fn(Coordinate, Coordinate) -> bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Coordinate, Coordinate) -> bool` [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/lib.rs:1224:35 [INFO] [stderr] | [INFO] [stderr] 1224 | pub fn each(&mut self, func: &Fn(&mut Node)) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Node)` [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] [stdout] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] running 86 tests [INFO] [stderr] --> src/lib.rs:1245:30 [INFO] [stdout] test coordinate::tests::test_diff_args_placement ... ok [INFO] [stderr] | [INFO] [stdout] test coordinate::tests::test_eq ... ok [INFO] [stderr] 1245 | pub fn all(&self, func: &Fn(&Node) -> bool) -> bool { [INFO] [stdout] test coordinate::tests::test_clone ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Node) -> bool` [INFO] [stdout] test coordinate::tests::test_eq_macros ... ok [INFO] [stderr] | [INFO] [stdout] test coordinate::tests::test_rotate_around_moved_axis_2 ... ok [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] [stdout] test coordinate::tests::test_rotate_around_moved_axis_1 ... ok [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stdout] test coordinate::tests::test_rotate_around_no_rotates ... ok [INFO] [stderr] [INFO] [stdout] test coordinate::tests::test_rotate_around_one_circle ... ok [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] test coordinate::tests::test_rotate_around_radians_2 ... ok [INFO] [stderr] --> src/lib.rs:1269:30 [INFO] [stderr] | [INFO] [stderr] 1269 | pub fn any(&self, func: &Fn(&Node) -> bool) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Node) -> bool` [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/lib.rs:1301:40 [INFO] [stderr] | [INFO] [stderr] 1301 | pub fn node_plot(&mut self, calc: &Fn(usize) -> Coordinate) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> Coordinate` [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/lib.rs:1536:18 [INFO] [stderr] | [INFO] [stderr] 1536 | filter: &Fn(&T) -> bool, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> bool` [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/lib.rs:1569:18 [INFO] [stderr] | [INFO] [stderr] 1569 | filter: &Fn(&T) -> bool, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> bool` [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: 19 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/coordinate/mod.rs:19:48 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn from_list(list: &[(i16, i16)], get: &Fn(Coordinate, usize) -> T) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Coordinate, usize) -> T` [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/coordinate/mod.rs:56:56 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn calc(start: Coordinate, variable: usize, call: &Fn(usize) -> Coordinate) -> Coordinate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> Coordinate` [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/data/mod.rs:20:25 [INFO] [stderr] | [INFO] [stderr] 20 | pub lambda_tag: &'a Fn(&str) -> bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/data/mod.rs:27:42 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn convert_file(path: &str, lambda: &Fn(&str) -> bool) -> Result, io::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/data/mod.rs:46:40 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn convert(content: &str, lambda: &Fn(&str) -> bool) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/data/mod.rs:59:25 [INFO] [stderr] | [INFO] [stderr] 59 | lambda_tag: &'a Fn(&str) -> bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&str) -> bool` [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/map/gif.rs:15:20 [INFO] [stderr] | [INFO] [stderr] 15 | predicate: &'a Fn(&T) -> T, [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> T` [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/map/gif.rs:19:58 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn new(interval: u8, map: Vec, predicate: &'a Fn(&T) -> T) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> T` [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/map/gif.rs:101:24 [INFO] [stderr] | [INFO] [stderr] 101 | predicate: &'a Fn(&Node) -> Node, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Node) -> Node` [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/map/gif.rs:181:22 [INFO] [stderr] | [INFO] [stderr] 181 | fn define(case: &Fn(Gif) -> std::io::Result<()>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Gif) -> std::io::Result<()>` [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/map/network.rs:30:17 [INFO] [stderr] | [INFO] [stderr] 30 | algorithm: &Fn(&Network, Node, Node) -> io::Result>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Network, Node, Node) -> io::Result>` [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: unnecessary parentheses around type [INFO] [stderr] --> src/map/mod.rs:19:46 [INFO] [stderr] | [INFO] [stderr] 19 | ) -> (image::ImageBuffer, Vec>, (Coordinate)) { [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tools/mod.rs:190:17 [INFO] [stderr] | [INFO] [stderr] 190 | plot_kind: &Fn(Coordinate, Coordinate) -> Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Coordinate, Coordinate) -> Vec` [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/lib.rs:838:13 [INFO] [stderr] | [INFO] [stderr] 838 | f: &Fn(Coordinate, Coordinate) -> bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Coordinate, Coordinate) -> bool` [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/lib.rs:1224:35 [INFO] [stderr] | [INFO] [stderr] 1224 | pub fn each(&mut self, func: &Fn(&mut Node)) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Node)` [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/lib.rs:1245:30 [INFO] [stderr] | [INFO] [stderr] 1245 | pub fn all(&self, func: &Fn(&Node) -> bool) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Node) -> bool` [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/lib.rs:1269:30 [INFO] [stderr] | [INFO] [stderr] 1269 | pub fn any(&self, func: &Fn(&Node) -> bool) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Node) -> bool` [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/lib.rs:1301:40 [INFO] [stderr] | [INFO] [stderr] 1301 | pub fn node_plot(&mut self, calc: &Fn(usize) -> Coordinate) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> Coordinate` [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/lib.rs:1536:18 [INFO] [stderr] | [INFO] [stderr] 1536 | filter: &Fn(&T) -> bool, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> bool` [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/lib.rs:1569:18 [INFO] [stderr] | [INFO] [stderr] 1569 | filter: &Fn(&T) -> bool, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&T) -> bool` [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: panic message is not a string literal [INFO] [stderr] --> src/tests/mod.rs:128:25 [INFO] [stderr] | [INFO] [stderr] 128 | format!("expected {}, got {}", i, a.get_link_avail_index()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 128 | "expected {}, got {}", i, a.get_link_avail_index() [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 21 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/pathtracer-515c6d9736e4ac3e) [INFO] [stdout] test coordinate::tests::test_clone_macros ... ok [INFO] [stdout] test group::tests::test_count_some ... ok [INFO] [stdout] test macros::tests::cluster ... ok [INFO] [stdout] test coordinate::tests::test_diff ... ok [INFO] [stdout] test macros::tests::cluster_any_type ... ok [INFO] [stdout] test macros::tests::coordinate ... ok [INFO] [stdout] test data::tests::test_convert ... ok [INFO] [stdout] test coordinate::tests::test_rotate_around_radians_1 ... ok [INFO] [stdout] test coordinate::tests::test_gen_radius ... ok [INFO] [stdout] test coordinate::tests::test_gen_within_radius ... ok [INFO] [stdout] test map::gif::tests::cycles_every_frame ... ok [INFO] [stdout] test coordinate::tests::test_rotate_around_radians_3 ... ok [INFO] [stdout] test macros::tests::coordinate_any_type ... ok [INFO] [stdout] test data::tests::test_link_groups ... ok [INFO] [stdout] test macros::tests::node ... ok [INFO] [stdout] test macros::tests::node_any_type ... ok [INFO] [stdout] test map::gif::tests::cycles_predicate ... ok [INFO] [stdout] test data::tests::test_convert_inner ... ok [INFO] [stdout] test group::tests::test_add_node ... ok [INFO] [stdout] test map::gif::tests::cycles_every_other ... ok [INFO] [stdout] test group::tests::test_count_none ... ok [INFO] [stdout] test map::network::tests::invalid_network_2 ... ok [INFO] [stdout] test map::network::tests::invalid_network_3 ... ok [INFO] [stdout] test map::network::tests::simple_network_end_in_the_middle ... ok [INFO] [stdout] test map::network::tests::simple_network ... ok [INFO] [stdout] test map::network::tests::simple_network_shortest_leg ... ok [INFO] [stdout] test map::network::tests::simple_networks_have_same_path ... ok [INFO] [stdout] test node::tests::test_get_node_names_fail ... ok [INFO] [stdout] test map::tests::test_min_max ... ok [INFO] [stdout] test map::tests::test_min_max_2 ... ok [INFO] [stdout] test tests::examples::git_log ... ok [INFO] [stdout] test tests::examples::hello_world ... ok [INFO] [stdout] test map::tests::test_gen_canvas ... ok [INFO] [stdout] test tests::examples::hello_world_gif ... ok [INFO] [stdout] test tests::examples::mvp ... ok [INFO] [stdout] test map::gif::tests::test_gif_new ... ok [INFO] [stdout] test map::tests::test_gen_canvas_2 ... ok [INFO] [stdout] test tests::examples::types ... ok [INFO] [stdout] test tests::from::group_conversion ... ok [INFO] [stdout] test tests::examples::node_plot ... ok [INFO] [stdout] test tests::from::coordinate_conversion ... ok [INFO] [stdout] test data::tests::test_convert_file ... FAILED [INFO] [stdout] test tests::from_list::coordinate ... ok [INFO] [stdout] test tests::from::node_conversion ... ok [INFO] [stdout] test map::network::tests::invalid_network_1 ... ok [INFO] [stdout] test tests::from_list::group ... ok [INFO] [stdout] test tests::from_list::node ... ok [INFO] [stdout] test tests::integration::links::max_links ... ok [INFO] [stdout] test tests::integration::links::groups_many ... ok [INFO] [stdout] test tests::integration::links::adding_and_disconnecting ... ok [INFO] [stdout] test tests::integration::links::multiple_disconnects ... ok [INFO] [stdout] test tests::integration::links::groups_one ... ok [INFO] [stdout] test tests::integration::path::group_to_node ... ok [INFO] [stdout] test tests::integration::rotate::group_children_inc2 ... ok [INFO] [stdout] test tests::integration::rotate::group_children_no_move_incr ... ok [INFO] [stdout] test tests::integration::rotate::group ... ok [INFO] [stdout] test tools::tests::test_gen_rgba ... ok [INFO] [stdout] test tools::tests::test_plot_start_and_end ... ok [INFO] [stdout] test tests::integration::rotate::group_children_no_move ... ok [INFO] [stdout] test tools::tests::test_random_item ... ok [INFO] [stdout] test tools::tests::test_roll ... ok [INFO] [stdout] test tools::tests::test_seed_rgba_consistancy ... ok [INFO] [stdout] test tools::tests::test_border ... ok [INFO] [stdout] test tools::tests::test_seed_rgba ... ok [INFO] [stdout] test tools::tests::test_plot_straight_line ... ok [INFO] [stdout] test tests::integration::path::nodes ... ok [INFO] [stdout] test map::network::tests::invalid_network_4 ... ok [INFO] [stdout] test tests::integration::path::node_to_group ... ok [INFO] [stdout] test map::network::tests::invalid_gets ... ok [INFO] [stdout] test map::network::tests::simple_network_start_in_the_middle ... ok [INFO] [stdout] test map::network::tests::valid_gets ... ok [INFO] [stdout] test tests::examples::graph ... ok [INFO] [stdout] test tests::examples::random ... ok [INFO] [stdout] test map::gif::tests::blank_frames ... ok [INFO] [stdout] test tests::examples::city ... ok [INFO] [stdout] test tests::examples::ellipse ... ok [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] [stdout] test tests::examples::cycles ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- data::tests::test_convert_file stdout ---- [INFO] [stdout] thread 'data::tests::test_convert_file' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: Other, message: "Read-only file system" }', src/data/mod.rs:165:44 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f7fab200d0 - std::backtrace_rs::backtrace::libunwind::trace::h1037ca7e6eeef65c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55f7fab200d0 - std::backtrace_rs::backtrace::trace_unsynchronized::haaefac1bc3669450 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55f7fab200d0 - std::sys_common::backtrace::_print_fmt::h863a6f5e6d995885 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55f7fab200d0 - ::fmt::h767e17e1aa7df6a8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55f7fab42a9c - core::fmt::write::h7aa6cd0067dca82a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x55f7fab1d065 - std::io::Write::write_fmt::h6f1a9b91376a1376 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x55f7fab2223b - std::sys_common::backtrace::_print::h2769edb26a7eb606 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55f7fab2223b - std::sys_common::backtrace::print::ha71f3549862b4cb6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55f7fab2223b - std::panicking::default_hook::{{closure}}::h95488a3bade217f6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55f7fab21d4c - std::panicking::default_hook::h290aa602c0fb11df [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55f7fab228e1 - std::panicking::rust_panic_with_hook::hf32c4fa635e215f2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55f7fab223e7 - std::panicking::begin_panic_handler::{{closure}}::h95197ccd88846f7a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55f7fab205ac - std::sys_common::backtrace::__rust_end_short_backtrace::h7641df9566f7b7d0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55f7fab22349 - rust_begin_unwind [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55f7faa315c1 - core::panicking::panic_fmt::hbe99dddd3092ba3c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55f7faa316b3 - core::result::unwrap_failed::hf79563fef9d11ab8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/result.rs:1355:5 [INFO] [stdout] 16: 0x55f7faa6ee2e - core::result::Result::unwrap::h3acb6d871f4ee6f4 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/result.rs:1037:23 [INFO] [stdout] 17: 0x55f7faa70d26 - pathtracer::data::tests::test_convert_file::h1bf262078f060c51 [INFO] [stdout] at /opt/rustwide/workdir/src/data/mod.rs:165:24 [INFO] [stdout] 18: 0x55f7faa70cca - pathtracer::data::tests::test_convert_file::{{closure}}::h197ec743d7cbfbba [INFO] [stdout] at /opt/rustwide/workdir/src/data/mod.rs:163:5 [INFO] [stdout] 19: 0x55f7faa409ae - core::ops::function::FnOnce::call_once::h77ced79d75afcad7 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55f7faa9f9b3 - core::ops::function::FnOnce::call_once::h673fbe3f96486fd2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55f7faa9f9b3 - test::__rust_begin_short_backtrace::h8eedc24e104ef6a0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:577:5 [INFO] [stdout] 22: 0x55f7faa9e460 - as core::ops::function::FnOnce>::call_once::h028d0969d3f94d78 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 23: 0x55f7faa9e460 - as core::ops::function::FnOnce<()>>::call_once::h7634b01590b1722b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 24: 0x55f7faa9e460 - std::panicking::try::do_call::hf74f869706dec63b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x55f7faa9e460 - std::panicking::try::hd0b7346ebfaaae44 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x55f7faa9e460 - std::panic::catch_unwind::hdbf6904f7c253080 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 27: 0x55f7faa9e460 - test::run_test_in_process::h87e95a014ac91067 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:600:18 [INFO] [stdout] 28: 0x55f7faa9e460 - test::run_test::run_test_inner::{{closure}}::hdd69ae44aaab3470 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55f7faa79732 - test::run_test::run_test_inner::{{closure}}::hc159305704d5b68a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55f7faa79732 - std::sys_common::backtrace::__rust_begin_short_backtrace::h33d8a8ad5f788fcc [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x55f7faa7d4a8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h6181011ddf4b8353 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 32: 0x55f7faa7d4a8 - as core::ops::function::FnOnce<()>>::call_once::hf924ea0a0f25a1c0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 33: 0x55f7faa7d4a8 - std::panicking::try::do_call::hd58061792d05fa5c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x55f7faa7d4a8 - std::panicking::try::h3080747417e5af37 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x55f7faa7d4a8 - std::panic::catch_unwind::hfeba515dcf36cb66 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 36: 0x55f7faa7d4a8 - std::thread::Builder::spawn_unchecked::{{closure}}::h29d57a62faff749b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 37: 0x55f7faa7d4a8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h44709d312d2a9c59 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55f7fab275a7 - as core::ops::function::FnOnce>::call_once::h902e2cf6655e1b0c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 39: 0x55f7fab275a7 - as core::ops::function::FnOnce>::call_once::h893a5452154309d1 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 40: 0x55f7fab275a7 - std::sys::unix::thread::Thread::new::thread_start::hdedcb57c96ab37cd [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 41: 0x7f46ae991609 - start_thread [INFO] [stdout] 42: 0x7f46ae769293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] data::tests::test_convert_file [INFO] [stdout] [INFO] [stdout] test result: FAILED. 85 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.22s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ee1330f0626bbcb5c0f3c8ecf084d0f3783b324fd517599bb80501ee7daaae20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee1330f0626bbcb5c0f3c8ecf084d0f3783b324fd517599bb80501ee7daaae20", kill_on_drop: false }` [INFO] [stdout] ee1330f0626bbcb5c0f3c8ecf084d0f3783b324fd517599bb80501ee7daaae20