[INFO] cloning repository https://github.com/fantamp/gen-ammo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fantamp/gen-ammo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffantamp%2Fgen-ammo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffantamp%2Fgen-ammo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9b323c784d1a79df8a641e00c4d7ad423d2fe82 [INFO] testing fantamp/gen-ammo against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffantamp%2Fgen-ammo" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fantamp/gen-ammo 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/fantamp/gen-ammo [INFO] finished tweaking git repo https://github.com/fantamp/gen-ammo [INFO] tweaked toml for git repo https://github.com/fantamp/gen-ammo written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/fantamp/gen-ammo 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 0508bb1a0ab60c030daac19a9c83f685f8898ca18aaeabe683c9b7de4dfe89ba [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" "0508bb1a0ab60c030daac19a9c83f685f8898ca18aaeabe683c9b7de4dfe89ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0508bb1a0ab60c030daac19a9c83f685f8898ca18aaeabe683c9b7de4dfe89ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0508bb1a0ab60c030daac19a9c83f685f8898ca18aaeabe683c9b7de4dfe89ba", kill_on_drop: false }` [INFO] [stdout] 0508bb1a0ab60c030daac19a9c83f685f8898ca18aaeabe683c9b7de4dfe89ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] e630c42d250c3e7623b15ec4ffb2e32d47db7b9973221624c9134123e7e73eb0 [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" "e630c42d250c3e7623b15ec4ffb2e32d47db7b9973221624c9134123e7e73eb0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.18 [INFO] [stderr] Compiling gcc v0.3.41 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling term_size v0.2.1 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling miniz-sys v0.1.7 [INFO] [stderr] Compiling twoway v0.1.3 [INFO] [stderr] Compiling clap v2.19.3 [INFO] [stderr] Compiling flate2 v0.2.14 [INFO] [stderr] Compiling logut v0.1.0 (/opt/rustwide/workdir/logut) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> logut/src/read.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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] --> logut/src/read.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | fn process_lines(raw: &mut BufRead, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [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] --> logut/src/read.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | fn process_lines(raw: &mut BufRead, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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] --> logut/src/read.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let mut reader: Box = match GzDecoder::new(Cursor::new(&prefetched)) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [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] --> logut/src/read.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | pub sources: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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] --> logut/src/read.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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] --> logut/src/read.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | pub reader: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [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] --> logut/src/read.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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] --> logut/src/read.rs:77:47 [INFO] [stdout] | [INFO] [stdout] 77 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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] --> logut/src/read.rs:90:47 [INFO] [stdout] | [INFO] [stdout] 90 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gen_ammo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/ammo_proc.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | rng: Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn rand::Rng` [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/ammo_proc.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | subprocessor: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/ammo_proc.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(set_size: usize, subprocessor: Box) -> ReserviorSampling { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ammo_proc.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | try!(self.subprocessor.process(&bullet.get_data())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ammo_proc.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | rng: Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn rand::Rng` [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/ammo_proc.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | subprocessor: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/ammo_proc.rs:74:84 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(input_lines_count: usize, target_set_size: usize, subprocessor: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/ammo_proc.rs:74:107 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(input_lines_count: usize, target_set_size: usize, subprocessor: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ammo_proc.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | try!(self.subprocessor.process(bullet)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ammo_proc.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | subprocessors: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/ammo_proc.rs:115:39 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new(subprocessors: Vec>) -> RoundRobin { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ammo_proc.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | try!(self.subprocessors[self.current].process(bullet)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ammo_proc.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | try!(consumer.finish()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ammo_proc.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | writer: Box, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ammo_proc.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let f = try!(File::create(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ammo_proc.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | let p = Box::new(try!(Command::new("sh") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ammo_proc.rs:166:30 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn to_stream(to: Box) -> Result { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | type ReaderFabric = Fn() -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [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/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | type ReaderFabric = Fn() -> Box; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/main.rs:167:46 [INFO] [stdout] | [INFO] [stdout] 167 | fn make_writer(conf: &RunConf) -> Result, error::ProcError> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/main.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | let mut writers: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ammo_proc::AmmoProcessor` [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/main.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | check: Box bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8]) -> 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/main.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | source: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/main.rs:192:47 [INFO] [stdout] | [INFO] [stdout] 192 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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/main.rs:204:46 [INFO] [stdout] | [INFO] [stdout] 204 | fn make_reader(conf: &RunConf) -> Result, std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/main.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | let source: Box = if conf.in_files.len() <= 0 { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/main.rs:212:34 [INFO] [stdout] | [INFO] [stdout] 212 | let mut readers: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/main.rs:214:29 [INFO] [stdout] | [INFO] [stdout] 214 | let reader: Box = match source { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/main.rs:237:47 [INFO] [stdout] | [INFO] [stdout] 237 | fn make_processor(conf: &RunConf, writer: Box) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/main.rs:237:81 [INFO] [stdout] | [INFO] [stdout] 237 | fn make_processor(conf: &RunConf, writer: Box) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/main.rs:249:63 [INFO] [stdout] | [INFO] [stdout] 249 | fn make_log_line_process_func<'a>(ammo_processor: &'a mut Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/main.rs:249:86 [INFO] [stdout] | [INFO] [stdout] 249 | fn make_log_line_process_func<'a>(ammo_processor: &'a mut Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8]) + '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: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | ProcError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.93s [INFO] running `Command { std: "docker" "inspect" "e630c42d250c3e7623b15ec4ffb2e32d47db7b9973221624c9134123e7e73eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e630c42d250c3e7623b15ec4ffb2e32d47db7b9973221624c9134123e7e73eb0", kill_on_drop: false }` [INFO] [stdout] e630c42d250c3e7623b15ec4ffb2e32d47db7b9973221624c9134123e7e73eb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 7371dc3321cd7e054866b537f5de7a187bda03650b33259f15afff16df488feb [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" "7371dc3321cd7e054866b537f5de7a187bda03650b33259f15afff16df488feb", kill_on_drop: false }` [INFO] [stderr] Compiling gen_ammo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> logut/src/read.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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] --> logut/src/read.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | fn process_lines(raw: &mut BufRead, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [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] --> logut/src/read.rs:12:51 [INFO] [stdout] | [INFO] [stdout] 12 | fn process_lines(raw: &mut BufRead, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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] --> logut/src/read.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let mut reader: Box = match GzDecoder::new(Cursor::new(&prefetched)) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [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] --> logut/src/read.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | pub sources: Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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] --> logut/src/read.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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] --> logut/src/read.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | pub reader: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [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] --> logut/src/read.rs:65:47 [INFO] [stdout] | [INFO] [stdout] 65 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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] --> logut/src/read.rs:77:47 [INFO] [stdout] | [INFO] [stdout] 77 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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] --> logut/src/read.rs:90:47 [INFO] [stdout] | [INFO] [stdout] 90 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/ammo_proc.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | rng: Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn rand::Rng` [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/ammo_proc.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | subprocessor: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/ammo_proc.rs:28:51 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(set_size: usize, subprocessor: Box) -> ReserviorSampling { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ammo_proc.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | try!(self.subprocessor.process(&bullet.get_data())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ammo_proc.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | rng: Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn rand::Rng` [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/ammo_proc.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | subprocessor: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/ammo_proc.rs:74:84 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(input_lines_count: usize, target_set_size: usize, subprocessor: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/ammo_proc.rs:74:107 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(input_lines_count: usize, target_set_size: usize, subprocessor: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ammo_proc.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | try!(self.subprocessor.process(bullet)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ammo_proc.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | subprocessors: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/ammo_proc.rs:115:39 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new(subprocessors: Vec>) -> RoundRobin { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ammo_proc.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | try!(self.subprocessors[self.current].process(bullet)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ammo_proc.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | try!(consumer.finish()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ammo_proc.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | writer: Box, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ammo_proc.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let f = try!(File::create(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ammo_proc.rs:158:26 [INFO] [stdout] | [INFO] [stdout] 158 | let p = Box::new(try!(Command::new("sh") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ammo_proc.rs:166:30 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn to_stream(to: Box) -> Result { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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/main.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | type ReaderFabric = Fn() -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [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/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | type ReaderFabric = Fn() -> Box; [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/main.rs:167:46 [INFO] [stdout] | [INFO] [stdout] 167 | fn make_writer(conf: &RunConf) -> Result, error::ProcError> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/main.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | let mut writers: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ammo_proc::AmmoProcessor` [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/main.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | check: Box bool>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8]) -> 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/main.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | source: Box, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/main.rs:192:47 [INFO] [stdout] | [INFO] [stdout] 192 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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/main.rs:204:46 [INFO] [stdout] | [INFO] [stdout] 204 | fn make_reader(conf: &RunConf) -> Result, std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/main.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | let source: Box = if conf.in_files.len() <= 0 { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/main.rs:212:34 [INFO] [stdout] | [INFO] [stdout] 212 | let mut readers: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/main.rs:214:29 [INFO] [stdout] | [INFO] [stdout] 214 | let reader: Box = match source { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/main.rs:237:47 [INFO] [stdout] | [INFO] [stdout] 237 | fn make_processor(conf: &RunConf, writer: Box) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/main.rs:237:81 [INFO] [stdout] | [INFO] [stdout] 237 | fn make_processor(conf: &RunConf, writer: Box) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/main.rs:249:63 [INFO] [stdout] | [INFO] [stdout] 249 | fn make_log_line_process_func<'a>(ammo_processor: &'a mut Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/main.rs:249:86 [INFO] [stdout] | [INFO] [stdout] 249 | fn make_log_line_process_func<'a>(ammo_processor: &'a mut Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8]) + '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/main.rs:358:38 [INFO] [stdout] | [INFO] [stdout] 358 | let closure = move || -> Box { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/error.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | ProcError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.86s [INFO] running `Command { std: "docker" "inspect" "7371dc3321cd7e054866b537f5de7a187bda03650b33259f15afff16df488feb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7371dc3321cd7e054866b537f5de7a187bda03650b33259f15afff16df488feb", kill_on_drop: false }` [INFO] [stdout] 7371dc3321cd7e054866b537f5de7a187bda03650b33259f15afff16df488feb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] d589943e66d7eeea7460e68b5927feb2d078bd6d684a56664608de26b913dd60 [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" "d589943e66d7eeea7460e68b5927feb2d078bd6d684a56664608de26b913dd60", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> logut/src/read.rs:8:47 [INFO] [stderr] | [INFO] [stderr] 8 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()>; [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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] --> logut/src/read.rs:12:28 [INFO] [stderr] | [INFO] [stderr] 12 | fn process_lines(raw: &mut BufRead, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [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] --> logut/src/read.rs:12:51 [INFO] [stderr] | [INFO] [stderr] 12 | fn process_lines(raw: &mut BufRead, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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] --> logut/src/read.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | let mut reader: Box = match GzDecoder::new(Cursor::new(&prefetched)) { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [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] --> logut/src/read.rs:41:26 [INFO] [stderr] | [INFO] [stderr] 41 | pub sources: Vec>, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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] --> logut/src/read.rs:45:47 [INFO] [stderr] | [INFO] [stderr] 45 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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] --> logut/src/read.rs:60:21 [INFO] [stderr] | [INFO] [stderr] 60 | pub reader: Box, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [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] --> logut/src/read.rs:65:47 [INFO] [stderr] | [INFO] [stderr] 65 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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] --> logut/src/read.rs:77:47 [INFO] [stderr] | [INFO] [stderr] 77 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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] --> logut/src/read.rs:90:47 [INFO] [stderr] | [INFO] [stderr] 90 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:30:32 [INFO] [stderr] | [INFO] [stderr] 30 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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/ammo_proc.rs:23:14 [INFO] [stderr] | [INFO] [stderr] 23 | rng: Box, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn rand::Rng` [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/ammo_proc.rs:24:23 [INFO] [stderr] | [INFO] [stderr] 24 | subprocessor: Box, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/ammo_proc.rs:28:51 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn new(set_size: usize, subprocessor: Box) -> ReserviorSampling { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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 macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ammo_proc.rs:57:17 [INFO] [stderr] | [INFO] [stderr] 57 | try!(self.subprocessor.process(&bullet.get_data())); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ammo_proc.rs:69:14 [INFO] [stderr] | [INFO] [stderr] 69 | rng: Box, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn rand::Rng` [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/ammo_proc.rs:70:23 [INFO] [stderr] | [INFO] [stderr] 70 | subprocessor: Box, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/ammo_proc.rs:74:84 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn new(input_lines_count: usize, target_set_size: usize, subprocessor: Box) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/ammo_proc.rs:74:107 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn new(input_lines_count: usize, target_set_size: usize, subprocessor: Box) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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 macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ammo_proc.rs:97:13 [INFO] [stderr] | [INFO] [stderr] 97 | try!(self.subprocessor.process(bullet)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ammo_proc.rs:110:28 [INFO] [stderr] | [INFO] [stderr] 110 | subprocessors: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/ammo_proc.rs:115:39 [INFO] [stderr] | [INFO] [stderr] 115 | pub fn new(subprocessors: Vec>) -> RoundRobin { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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 macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ammo_proc.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | try!(self.subprocessors[self.current].process(bullet)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ammo_proc.rs:134:13 [INFO] [stderr] | [INFO] [stderr] 134 | try!(consumer.finish()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ammo_proc.rs:142:17 [INFO] [stderr] | [INFO] [stderr] 142 | writer: Box, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Write` [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 macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ammo_proc.rs:152:17 [INFO] [stderr] | [INFO] [stderr] 152 | let f = try!(File::create(filename)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ammo_proc.rs:158:26 [INFO] [stderr] | [INFO] [stderr] 158 | let p = Box::new(try!(Command::new("sh") [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ammo_proc.rs:166:30 [INFO] [stderr] | [INFO] [stderr] 166 | pub fn to_stream(to: Box) -> Result { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Write` [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/main.rs:28:21 [INFO] [stderr] | [INFO] [stderr] 28 | type ReaderFabric = Fn() -> Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [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/main.rs:28:33 [INFO] [stderr] | [INFO] [stderr] 28 | type ReaderFabric = Fn() -> Box; [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/main.rs:167:46 [INFO] [stderr] | [INFO] [stderr] 167 | fn make_writer(conf: &RunConf) -> Result, error::ProcError> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/main.rs:169:30 [INFO] [stderr] | [INFO] [stderr] 169 | let mut writers: Vec> = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ammo_proc::AmmoProcessor` [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/main.rs:187:16 [INFO] [stderr] | [INFO] [stderr] 187 | check: Box bool>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8]) -> 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/main.rs:188:17 [INFO] [stderr] | [INFO] [stderr] 188 | source: Box, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/main.rs:192:47 [INFO] [stderr] | [INFO] [stderr] 192 | fn process_lines(&mut self, feed_to: &mut FnMut(&[u8])) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8])` [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/main.rs:204:46 [INFO] [stderr] | [INFO] [stderr] 204 | fn make_reader(conf: &RunConf) -> Result, std::io::Error> { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/main.rs:209:21 [INFO] [stderr] | [INFO] [stderr] 209 | let source: Box = if conf.in_files.len() <= 0 { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/main.rs:212:34 [INFO] [stderr] | [INFO] [stderr] 212 | let mut readers: Vec> = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/main.rs:214:29 [INFO] [stderr] | [INFO] [stderr] 214 | let reader: Box = match source { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/main.rs:237:47 [INFO] [stderr] | [INFO] [stderr] 237 | fn make_processor(conf: &RunConf, writer: Box) -> io::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/main.rs:237:81 [INFO] [stderr] | [INFO] [stderr] 237 | fn make_processor(conf: &RunConf, writer: Box) -> io::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/main.rs:249:63 [INFO] [stderr] | [INFO] [stderr] 249 | fn make_log_line_process_func<'a>(ammo_processor: &'a mut Box) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn AmmoProcessor` [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/main.rs:249:86 [INFO] [stderr] | [INFO] [stderr] 249 | fn make_log_line_process_func<'a>(ammo_processor: &'a mut Box) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8]) + '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/main.rs:358:38 [INFO] [stderr] | [INFO] [stderr] 358 | let closure = move || -> Box { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn ReadByLine` [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/error.rs:25:43 [INFO] [stderr] | [INFO] [stderr] 25 | ProcError::Io(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 35 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gen_ammo-2f5804f4eea9db4e) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test tests::gen_files_with_prefix_no_gzip ... ok [INFO] [stdout] test tests::in_mem_algo_conf ... ok [INFO] [stdout] test tests::many_in_files2 ... ok [INFO] [stdout] test tests::many_out_files ... ok [INFO] [stdout] test tests::stream_algo_conf ... ok [INFO] [stdout] test ammo::tests::test_make_bullet_data_from_log_record ... ok [INFO] [stdout] test tests::filter_aux_requests ... ok [INFO] [stdout] test tests::many_in_files ... ok [INFO] [stdout] test tests::count_1 ... ok [INFO] [stdout] test tests::gen_files_with_prefix_gzip ... ok [INFO] [stdout] test ammo::tests::test_write_bullet ... ok [INFO] [stdout] test tests::simple_run ... ok [INFO] [stdout] test tests::no_args ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d589943e66d7eeea7460e68b5927feb2d078bd6d684a56664608de26b913dd60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d589943e66d7eeea7460e68b5927feb2d078bd6d684a56664608de26b913dd60", kill_on_drop: false }` [INFO] [stdout] d589943e66d7eeea7460e68b5927feb2d078bd6d684a56664608de26b913dd60