[INFO] fetching crate syntex_errors 0.59.1... [INFO] testing syntex_errors-0.59.1 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate syntex_errors 0.59.1 into /workspace/builds/worker-48/source [INFO] validating manifest of crates.io crate syntex_errors 0.59.1 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate syntex_errors 0.59.1 [INFO] finished tweaking crates.io crate syntex_errors 0.59.1 [INFO] tweaked toml for crates.io crate syntex_errors 0.59.1 written to /workspace/builds/worker-48/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c72ebc86fcbc93d7d2cb9c5a9f39cce6b8ce27a6fa9dfb6353647c64c19022a [INFO] running `Command { std: "docker" "start" "-a" "4c72ebc86fcbc93d7d2cb9c5a9f39cce6b8ce27a6fa9dfb6353647c64c19022a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c72ebc86fcbc93d7d2cb9c5a9f39cce6b8ce27a6fa9dfb6353647c64c19022a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c72ebc86fcbc93d7d2cb9c5a9f39cce6b8ce27a6fa9dfb6353647c64c19022a", kill_on_drop: false }` [INFO] [stdout] 4c72ebc86fcbc93d7d2cb9c5a9f39cce6b8ce27a6fa9dfb6353647c64c19022a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccdebe9c57c9badeda4084cd613e2b18d799d225b2404b8adfa2393b6a1f27d4 [INFO] running `Command { std: "docker" "start" "-a" "ccdebe9c57c9badeda4084cd613e2b18d799d225b2404b8adfa2393b6a1f27d4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling syntex_pos v0.59.1 [INFO] [stderr] Compiling syntex_errors v0.59.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/emitter.rs:1257:9 [INFO] [stdout] | [INFO] [stdout] 1257 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Loc` is imported redundantly [INFO] [stdout] --> src/lib.rs:113:35 [INFO] [stdout] | [INFO] [stdout] 42 | use syntax_pos::{BytePos, Loc, FileLinesResult, FileName, MultiSpan, Span, NO_EXPANSION}; [INFO] [stdout] | --- the item `Loc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 113 | use syntax_pos::{CharPos, Loc, Pos}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | cm: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` implied by `#[warn(warnings)]` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - cm: Option>, [INFO] [stdout] 102 + cm: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:1277:27 [INFO] [stdout] | [INFO] [stdout] 1277 | pub type BufferedStderr = term::Terminal + Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1277 - pub type BufferedStderr = term::Terminal + Send; [INFO] [stdout] 1277 + pub type BufferedStderr = dyn term::Terminal + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:1282:13 [INFO] [stdout] | [INFO] [stdout] 1282 | Raw(Box), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1282 - Raw(Box), [INFO] [stdout] 1282 + Raw(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:253:26 [INFO] [stdout] | [INFO] [stdout] 253 | emitter: RefCell>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 253 - emitter: RefCell>, [INFO] [stdout] 253 + emitter: RefCell>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/snippet.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | codemap: Rc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - codemap: Rc, [INFO] [stdout] 20 + codemap: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn splice_lines(&self, cm: &CodeMapper) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - pub fn splice_lines(&self, cm: &CodeMapper) -> Vec { [INFO] [stdout] 112 + pub fn splice_lines(&self, cm: &dyn CodeMapper) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:264:43 [INFO] [stdout] | [INFO] [stdout] 264 | ... cm: Option>) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 264 - cm: Option>) [INFO] [stdout] 264 + cm: Option>) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:272:32 [INFO] [stdout] | [INFO] [stdout] 272 | e: Box) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 272 - e: Box) [INFO] [stdout] 272 + e: Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic.rs:124:40 [INFO] [stdout] | [INFO] [stdout] 124 | ... label: &fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - label: &fmt::Display, [INFO] [stdout] 124 + label: &dyn fmt::Display, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic.rs:133:46 [INFO] [stdout] | [INFO] [stdout] 133 | ... label: &fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 - label: &fmt::Display, [INFO] [stdout] 133 + label: &dyn fmt::Display, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic.rs:136:55 [INFO] [stdout] | [INFO] [stdout] 136 | ... expected_extra: &fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - expected_extra: &fmt::Display, [INFO] [stdout] 136 + expected_extra: &dyn fmt::Display, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic.rs:137:52 [INFO] [stdout] | [INFO] [stdout] 137 | ... found_extra: &fmt::Display) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 137 - found_extra: &fmt::Display) [INFO] [stdout] 137 + found_extra: &dyn fmt::Display) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic_builder.rs:124:49 [INFO] [stdout] | [INFO] [stdout] 124 | ... label: &fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - label: &fmt::Display, [INFO] [stdout] 124 + label: &dyn fmt::Display, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic_builder.rs:130:55 [INFO] [stdout] | [INFO] [stdout] 130 | ... label: &fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 - label: &fmt::Display, [INFO] [stdout] 130 + label: &dyn fmt::Display, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic_builder.rs:133:64 [INFO] [stdout] | [INFO] [stdout] 133 | ... expected_extra: &fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 - expected_extra: &fmt::Display, [INFO] [stdout] 133 + expected_extra: &dyn fmt::Display, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic_builder.rs:134:61 [INFO] [stdout] | [INFO] [stdout] 134 | ... found_extra: &fmt::Display) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - found_extra: &fmt::Display) [INFO] [stdout] 134 + found_extra: &dyn fmt::Display) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:112:66 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn stderr(color_config: ColorConfig, code_map: Option>) -> EmitterWriter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - pub fn stderr(color_config: ColorConfig, code_map: Option>) -> EmitterWriter { [INFO] [stdout] 112 + pub fn stderr(color_config: ColorConfig, code_map: Option>) -> EmitterWriter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 - pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stdout] 127 + pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:127:60 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 - pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stdout] 127 + pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lock.rs:113:48 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn acquire_global_lock(_name: &str) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 - pub fn acquire_global_lock(_name: &str) -> Box { [INFO] [stdout] 113 + pub fn acquire_global_lock(_name: &str) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `codemap` [INFO] [stdout] --> src/snippet.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | codemap: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(warnings)]` [INFO] [stdout] note: `SnippetData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/snippet.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `files` [INFO] [stdout] --> src/snippet.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | files: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SnippetData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/snippet.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `file` [INFO] [stdout] --> src/snippet.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | file: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/snippet.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `primary_span` [INFO] [stdout] --> src/snippet.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | primary_span: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/snippet.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lines` [INFO] [stdout] --> src/snippet.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | lines: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/snippet.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:420:16 [INFO] [stdout] | [INFO] [stdout] 420 | panic!(ExplicitBug); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` implied by `#[warn(warnings)]` [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 420 | panic!("{}", ExplicitBug); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 420 | std::panic::panic_any(ExplicitBug); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:472:16 [INFO] [stdout] | [INFO] [stdout] 472 | panic!(ExplicitBug); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 472 | panic!("{}", ExplicitBug); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 472 | std::panic::panic_any(ExplicitBug); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:506:16 [INFO] [stdout] | [INFO] [stdout] 506 | panic!(self.fatal(&s)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 506 | panic!("{}", self.fatal(&s)); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 506 | std::panic::panic_any(self.fatal(&s)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.93s [INFO] running `Command { std: "docker" "inspect" "ccdebe9c57c9badeda4084cd613e2b18d799d225b2404b8adfa2393b6a1f27d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccdebe9c57c9badeda4084cd613e2b18d799d225b2404b8adfa2393b6a1f27d4", kill_on_drop: false }` [INFO] [stdout] ccdebe9c57c9badeda4084cd613e2b18d799d225b2404b8adfa2393b6a1f27d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48e0e026ce09c75fcacb594a17cc25a727f1ccd529a93aaf4d6dd8629cf46412 [INFO] running `Command { std: "docker" "start" "-a" "48e0e026ce09c75fcacb594a17cc25a727f1ccd529a93aaf4d6dd8629cf46412", kill_on_drop: false }` [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/emitter.rs:1257:9 [INFO] [stdout] | [INFO] [stdout] 1257 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Loc` is imported redundantly [INFO] [stdout] --> src/lib.rs:113:35 [INFO] [stdout] | [INFO] [stdout] 42 | use syntax_pos::{BytePos, Loc, FileLinesResult, FileName, MultiSpan, Span, NO_EXPANSION}; [INFO] [stdout] | --- the item `Loc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 113 | use syntax_pos::{CharPos, Loc, Pos}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | cm: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` implied by `#[warn(warnings)]` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - cm: Option>, [INFO] [stdout] 102 + cm: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:1277:27 [INFO] [stdout] | [INFO] [stdout] 1277 | pub type BufferedStderr = term::Terminal + Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1277 - pub type BufferedStderr = term::Terminal + Send; [INFO] [stdout] 1277 + pub type BufferedStderr = dyn term::Terminal + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:1282:13 [INFO] [stdout] | [INFO] [stdout] 1282 | Raw(Box), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1282 - Raw(Box), [INFO] [stdout] 1282 + Raw(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:253:26 [INFO] [stdout] | [INFO] [stdout] 253 | emitter: RefCell>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 253 - emitter: RefCell>, [INFO] [stdout] 253 + emitter: RefCell>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/snippet.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | codemap: Rc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - codemap: Rc, [INFO] [stdout] 20 + codemap: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn splice_lines(&self, cm: &CodeMapper) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - pub fn splice_lines(&self, cm: &CodeMapper) -> Vec { [INFO] [stdout] 112 + pub fn splice_lines(&self, cm: &dyn CodeMapper) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:264:43 [INFO] [stdout] | [INFO] [stdout] 264 | ... cm: Option>) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 264 - cm: Option>) [INFO] [stdout] 264 + cm: Option>) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:272:32 [INFO] [stdout] | [INFO] [stdout] 272 | e: Box) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 272 - e: Box) [INFO] [stdout] 272 + e: Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic.rs:124:40 [INFO] [stdout] | [INFO] [stdout] 124 | ... label: &fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - label: &fmt::Display, [INFO] [stdout] 124 + label: &dyn fmt::Display, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic.rs:133:46 [INFO] [stdout] | [INFO] [stdout] 133 | ... label: &fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 - label: &fmt::Display, [INFO] [stdout] 133 + label: &dyn fmt::Display, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic.rs:136:55 [INFO] [stdout] | [INFO] [stdout] 136 | ... expected_extra: &fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - expected_extra: &fmt::Display, [INFO] [stdout] 136 + expected_extra: &dyn fmt::Display, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic.rs:137:52 [INFO] [stdout] | [INFO] [stdout] 137 | ... found_extra: &fmt::Display) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 137 - found_extra: &fmt::Display) [INFO] [stdout] 137 + found_extra: &dyn fmt::Display) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic_builder.rs:124:49 [INFO] [stdout] | [INFO] [stdout] 124 | ... label: &fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - label: &fmt::Display, [INFO] [stdout] 124 + label: &dyn fmt::Display, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic_builder.rs:130:55 [INFO] [stdout] | [INFO] [stdout] 130 | ... label: &fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 - label: &fmt::Display, [INFO] [stdout] 130 + label: &dyn fmt::Display, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic_builder.rs:133:64 [INFO] [stdout] | [INFO] [stdout] 133 | ... expected_extra: &fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 - expected_extra: &fmt::Display, [INFO] [stdout] 133 + expected_extra: &dyn fmt::Display, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic_builder.rs:134:61 [INFO] [stdout] | [INFO] [stdout] 134 | ... found_extra: &fmt::Display) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - found_extra: &fmt::Display) [INFO] [stdout] 134 + found_extra: &dyn fmt::Display) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:112:66 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn stderr(color_config: ColorConfig, code_map: Option>) -> EmitterWriter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - pub fn stderr(color_config: ColorConfig, code_map: Option>) -> EmitterWriter { [INFO] [stdout] 112 + pub fn stderr(color_config: ColorConfig, code_map: Option>) -> EmitterWriter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 - pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stdout] 127 + pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:127:60 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 - pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stdout] 127 + pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lock.rs:113:48 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn acquire_global_lock(_name: &str) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 - pub fn acquire_global_lock(_name: &str) -> Box { [INFO] [stdout] 113 + pub fn acquire_global_lock(_name: &str) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `codemap` [INFO] [stdout] --> src/snippet.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | codemap: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(warnings)]` [INFO] [stdout] note: `SnippetData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/snippet.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `files` [INFO] [stdout] --> src/snippet.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | files: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SnippetData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/snippet.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `file` [INFO] [stdout] --> src/snippet.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | file: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/snippet.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `primary_span` [INFO] [stdout] --> src/snippet.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | primary_span: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/snippet.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lines` [INFO] [stdout] --> src/snippet.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | lines: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/snippet.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:420:16 [INFO] [stdout] | [INFO] [stdout] 420 | panic!(ExplicitBug); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` implied by `#[warn(warnings)]` [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 420 | panic!("{}", ExplicitBug); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 420 | std::panic::panic_any(ExplicitBug); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:472:16 [INFO] [stdout] | [INFO] [stdout] 472 | panic!(ExplicitBug); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 472 | panic!("{}", ExplicitBug); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 472 | std::panic::panic_any(ExplicitBug); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syntex_errors v0.59.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:506:16 [INFO] [stdout] | [INFO] [stdout] 506 | panic!(self.fatal(&s)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 506 | panic!("{}", self.fatal(&s)); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 506 | std::panic::panic_any(self.fatal(&s)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/emitter.rs:1257:9 [INFO] [stdout] | [INFO] [stdout] 1257 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Loc` is imported redundantly [INFO] [stdout] --> src/lib.rs:113:35 [INFO] [stdout] | [INFO] [stdout] 42 | use syntax_pos::{BytePos, Loc, FileLinesResult, FileName, MultiSpan, Span, NO_EXPANSION}; [INFO] [stdout] | --- the item `Loc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 113 | use syntax_pos::{CharPos, Loc, Pos}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | cm: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` implied by `#[warn(warnings)]` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - cm: Option>, [INFO] [stdout] 102 + cm: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:1277:27 [INFO] [stdout] | [INFO] [stdout] 1277 | pub type BufferedStderr = term::Terminal + Send; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1277 - pub type BufferedStderr = term::Terminal + Send; [INFO] [stdout] 1277 + pub type BufferedStderr = dyn term::Terminal + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:1282:13 [INFO] [stdout] | [INFO] [stdout] 1282 | Raw(Box), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 1282 - Raw(Box), [INFO] [stdout] 1282 + Raw(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:253:26 [INFO] [stdout] | [INFO] [stdout] 253 | emitter: RefCell>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 253 - emitter: RefCell>, [INFO] [stdout] 253 + emitter: RefCell>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/snippet.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | codemap: Rc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - codemap: Rc, [INFO] [stdout] 20 + codemap: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn splice_lines(&self, cm: &CodeMapper) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - pub fn splice_lines(&self, cm: &CodeMapper) -> Vec { [INFO] [stdout] 112 + pub fn splice_lines(&self, cm: &dyn CodeMapper) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:264:43 [INFO] [stdout] | [INFO] [stdout] 264 | ... cm: Option>) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 264 - cm: Option>) [INFO] [stdout] 264 + cm: Option>) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:272:32 [INFO] [stdout] | [INFO] [stdout] 272 | e: Box) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 272 - e: Box) [INFO] [stdout] 272 + e: Box) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic.rs:124:40 [INFO] [stdout] | [INFO] [stdout] 124 | ... label: &fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - label: &fmt::Display, [INFO] [stdout] 124 + label: &dyn fmt::Display, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic.rs:133:46 [INFO] [stdout] | [INFO] [stdout] 133 | ... label: &fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 - label: &fmt::Display, [INFO] [stdout] 133 + label: &dyn fmt::Display, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic.rs:136:55 [INFO] [stdout] | [INFO] [stdout] 136 | ... expected_extra: &fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - expected_extra: &fmt::Display, [INFO] [stdout] 136 + expected_extra: &dyn fmt::Display, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic.rs:137:52 [INFO] [stdout] | [INFO] [stdout] 137 | ... found_extra: &fmt::Display) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 137 - found_extra: &fmt::Display) [INFO] [stdout] 137 + found_extra: &dyn fmt::Display) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic_builder.rs:124:49 [INFO] [stdout] | [INFO] [stdout] 124 | ... label: &fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - label: &fmt::Display, [INFO] [stdout] 124 + label: &dyn fmt::Display, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic_builder.rs:130:55 [INFO] [stdout] | [INFO] [stdout] 130 | ... label: &fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 - label: &fmt::Display, [INFO] [stdout] 130 + label: &dyn fmt::Display, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic_builder.rs:133:64 [INFO] [stdout] | [INFO] [stdout] 133 | ... expected_extra: &fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 - expected_extra: &fmt::Display, [INFO] [stdout] 133 + expected_extra: &dyn fmt::Display, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/diagnostic_builder.rs:134:61 [INFO] [stdout] | [INFO] [stdout] 134 | ... found_extra: &fmt::Display) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - found_extra: &fmt::Display) [INFO] [stdout] 134 + found_extra: &dyn fmt::Display) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:112:66 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn stderr(color_config: ColorConfig, code_map: Option>) -> EmitterWriter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - pub fn stderr(color_config: ColorConfig, code_map: Option>) -> EmitterWriter { [INFO] [stdout] 112 + pub fn stderr(color_config: ColorConfig, code_map: Option>) -> EmitterWriter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 - pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stdout] 127 + pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:127:60 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 - pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stdout] 127 + pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lock.rs:113:48 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn acquire_global_lock(_name: &str) -> Box { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 - pub fn acquire_global_lock(_name: &str) -> Box { [INFO] [stdout] 113 + pub fn acquire_global_lock(_name: &str) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `codemap` [INFO] [stdout] --> src/snippet.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | codemap: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(warnings)]` [INFO] [stdout] note: `SnippetData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/snippet.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `files` [INFO] [stdout] --> src/snippet.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | files: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SnippetData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/snippet.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `file` [INFO] [stdout] --> src/snippet.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | file: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/snippet.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `primary_span` [INFO] [stdout] --> src/snippet.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | primary_span: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/snippet.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lines` [INFO] [stdout] --> src/snippet.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | lines: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/snippet.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:420:16 [INFO] [stdout] | [INFO] [stdout] 420 | panic!(ExplicitBug); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` implied by `#[warn(warnings)]` [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 420 | panic!("{}", ExplicitBug); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 420 | std::panic::panic_any(ExplicitBug); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:472:16 [INFO] [stdout] | [INFO] [stdout] 472 | panic!(ExplicitBug); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 472 | panic!("{}", ExplicitBug); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 472 | std::panic::panic_any(ExplicitBug); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:506:16 [INFO] [stdout] | [INFO] [stdout] 506 | panic!(self.fatal(&s)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 506 | panic!("{}", self.fatal(&s)); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 506 | std::panic::panic_any(self.fatal(&s)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.01s [INFO] running `Command { std: "docker" "inspect" "48e0e026ce09c75fcacb594a17cc25a727f1ccd529a93aaf4d6dd8629cf46412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48e0e026ce09c75fcacb594a17cc25a727f1ccd529a93aaf4d6dd8629cf46412", kill_on_drop: false }` [INFO] [stdout] 48e0e026ce09c75fcacb594a17cc25a727f1ccd529a93aaf4d6dd8629cf46412 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e059be88be337237e0e131c55cd2b33afe28b9e91fa3cf4de83af9a53cd44b79 [INFO] running `Command { std: "docker" "start" "-a" "e059be88be337237e0e131c55cd2b33afe28b9e91fa3cf4de83af9a53cd44b79", kill_on_drop: false }` [INFO] [stderr] warning: the item `libc` is imported redundantly [INFO] [stderr] --> src/emitter.rs:1257:9 [INFO] [stderr] | [INFO] [stderr] 1257 | use libc; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | extern crate libc; [INFO] [stderr] | ------------------ the item `libc` is already imported here [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(unused_imports)]` implied by `#[warn(warnings)]` [INFO] [stderr] [INFO] [stderr] warning: the item `Loc` is imported redundantly [INFO] [stderr] --> src/lib.rs:113:35 [INFO] [stderr] | [INFO] [stderr] 42 | use syntax_pos::{BytePos, Loc, FileLinesResult, FileName, MultiSpan, Span, NO_EXPANSION}; [INFO] [stderr] | --- the item `Loc` is already imported here [INFO] [stderr] ... [INFO] [stderr] 113 | use syntax_pos::{CharPos, Loc, Pos}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/emitter.rs:102:19 [INFO] [stderr] | [INFO] [stderr] 102 | cm: Option>, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` implied by `#[warn(warnings)]` [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 102 - cm: Option>, [INFO] [stderr] 102 + cm: Option>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/emitter.rs:1277:27 [INFO] [stderr] | [INFO] [stderr] 1277 | pub type BufferedStderr = term::Terminal + Send; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1277 - pub type BufferedStderr = term::Terminal + Send; [INFO] [stderr] 1277 + pub type BufferedStderr = dyn term::Terminal + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/emitter.rs:1282:13 [INFO] [stderr] | [INFO] [stderr] 1282 | Raw(Box), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 1282 - Raw(Box), [INFO] [stderr] 1282 + Raw(Box), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:253:26 [INFO] [stderr] | [INFO] [stderr] 253 | emitter: RefCell>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 253 - emitter: RefCell>, [INFO] [stderr] 253 + emitter: RefCell>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/snippet.rs:20:17 [INFO] [stderr] | [INFO] [stderr] 20 | codemap: Rc, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 20 - codemap: Rc, [INFO] [stderr] 20 + codemap: Rc, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:112:37 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn splice_lines(&self, cm: &CodeMapper) -> Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 112 - pub fn splice_lines(&self, cm: &CodeMapper) -> Vec { [INFO] [stderr] 112 + pub fn splice_lines(&self, cm: &dyn CodeMapper) -> Vec { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:264:43 [INFO] [stderr] | [INFO] [stderr] 264 | ... cm: Option>) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 264 - cm: Option>) [INFO] [stderr] 264 + cm: Option>) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:272:32 [INFO] [stderr] | [INFO] [stderr] 272 | e: Box) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 272 - e: Box) [INFO] [stderr] 272 + e: Box) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/diagnostic.rs:124:40 [INFO] [stderr] | [INFO] [stderr] 124 | ... label: &fmt::Display, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 124 - label: &fmt::Display, [INFO] [stderr] 124 + label: &dyn fmt::Display, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/diagnostic.rs:133:46 [INFO] [stderr] | [INFO] [stderr] 133 | ... label: &fmt::Display, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 133 - label: &fmt::Display, [INFO] [stderr] 133 + label: &dyn fmt::Display, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/diagnostic.rs:136:55 [INFO] [stderr] | [INFO] [stderr] 136 | ... expected_extra: &fmt::Display, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 136 - expected_extra: &fmt::Display, [INFO] [stderr] 136 + expected_extra: &dyn fmt::Display, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/diagnostic.rs:137:52 [INFO] [stderr] | [INFO] [stderr] 137 | ... found_extra: &fmt::Display) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 137 - found_extra: &fmt::Display) [INFO] [stderr] 137 + found_extra: &dyn fmt::Display) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/diagnostic_builder.rs:124:49 [INFO] [stderr] | [INFO] [stderr] 124 | ... label: &fmt::Display, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 124 - label: &fmt::Display, [INFO] [stderr] 124 + label: &dyn fmt::Display, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/diagnostic_builder.rs:130:55 [INFO] [stderr] | [INFO] [stderr] 130 | ... label: &fmt::Display, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 130 - label: &fmt::Display, [INFO] [stderr] 130 + label: &dyn fmt::Display, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/diagnostic_builder.rs:133:64 [INFO] [stderr] | [INFO] [stderr] 133 | ... expected_extra: &fmt::Display, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 133 - expected_extra: &fmt::Display, [INFO] [stderr] 133 + expected_extra: &dyn fmt::Display, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/diagnostic_builder.rs:134:61 [INFO] [stderr] | [INFO] [stderr] 134 | ... found_extra: &fmt::Display) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 134 - found_extra: &fmt::Display) [INFO] [stderr] 134 + found_extra: &dyn fmt::Display) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/emitter.rs:112:66 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn stderr(color_config: ColorConfig, code_map: Option>) -> EmitterWriter { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 112 - pub fn stderr(color_config: ColorConfig, code_map: Option>) -> EmitterWriter { [INFO] [stderr] 112 + pub fn stderr(color_config: ColorConfig, code_map: Option>) -> EmitterWriter { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/emitter.rs:127:25 [INFO] [stderr] | [INFO] [stderr] 127 | pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 127 - pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stderr] 127 + pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/emitter.rs:127:60 [INFO] [stderr] | [INFO] [stderr] 127 | pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 127 - pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stderr] 127 + pub fn new(dst: Box, code_map: Option>) -> EmitterWriter { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lock.rs:113:48 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn acquire_global_lock(_name: &str) -> Box { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 113 - pub fn acquire_global_lock(_name: &str) -> Box { [INFO] [stderr] 113 + pub fn acquire_global_lock(_name: &str) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `codemap` [INFO] [stderr] --> src/snippet.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | codemap: Rc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(dead_code)]` implied by `#[warn(warnings)]` [INFO] [stderr] note: `SnippetData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/snippet.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `files` [INFO] [stderr] --> src/snippet.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | files: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SnippetData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/snippet.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `file` [INFO] [stderr] --> src/snippet.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | file: Rc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FileInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/snippet.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `primary_span` [INFO] [stderr] --> src/snippet.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | primary_span: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FileInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/snippet.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `lines` [INFO] [stderr] --> src/snippet.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | lines: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FileInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/snippet.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:420:16 [INFO] [stderr] | [INFO] [stderr] 420 | panic!(ExplicitBug); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` implied by `#[warn(warnings)]` [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 420 | panic!("{}", ExplicitBug); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 420 | std::panic::panic_any(ExplicitBug); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:472:16 [INFO] [stderr] | [INFO] [stderr] 472 | panic!(ExplicitBug); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 472 | panic!("{}", ExplicitBug); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 472 | std::panic::panic_any(ExplicitBug); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:506:16 [INFO] [stderr] | [INFO] [stderr] 506 | panic!(self.fatal(&s)); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 506 | panic!("{}", self.fatal(&s)); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 506 | std::panic::panic_any(self.fatal(&s)); [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: `syntex_errors` (lib) generated 30 warnings [INFO] [stderr] warning: `syntex_errors` (lib test) generated 30 warnings (30 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/syntex_errors-6f0759568eb8f68b) [INFO] [stdout] [INFO] [stderr] Doc-tests syntex_errors [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - CodeSuggestion::substitution_parts (line 66) ... ignored [INFO] [stdout] test src/lib.rs - CodeSuggestion::substitution_parts (line 75) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e059be88be337237e0e131c55cd2b33afe28b9e91fa3cf4de83af9a53cd44b79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e059be88be337237e0e131c55cd2b33afe28b9e91fa3cf4de83af9a53cd44b79", kill_on_drop: false }` [INFO] [stdout] e059be88be337237e0e131c55cd2b33afe28b9e91fa3cf4de83af9a53cd44b79