[INFO] fetching crate syntex_errors 0.59.1... [INFO] checking syntex_errors-0.59.1 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate syntex_errors 0.59.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate syntex_errors 0.59.1 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7d529483d41879019d9966137125d4fa99de1175783cf2df4a83b0022f40ac0 [INFO] running `Command { std: "docker" "start" "-a" "a7d529483d41879019d9966137125d4fa99de1175783cf2df4a83b0022f40ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7d529483d41879019d9966137125d4fa99de1175783cf2df4a83b0022f40ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7d529483d41879019d9966137125d4fa99de1175783cf2df4a83b0022f40ac0", kill_on_drop: false }` [INFO] [stdout] a7d529483d41879019d9966137125d4fa99de1175783cf2df4a83b0022f40ac0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b1c2618dfb99e65e6db408d99d13bc1014b1a80548c6d610c7eeeb764d74c05 [INFO] running `Command { std: "docker" "start" "-a" "8b1c2618dfb99e65e6db408d99d13bc1014b1a80548c6d610c7eeeb764d74c05", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking syntex_pos v0.59.1 [INFO] [stderr] Checking syntex_errors v0.59.1 (/opt/rustwide/workdir) [INFO] [stdout] error: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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: `#[deny(bare_trait_objects)]` implied by `#[deny(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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | cm: Option>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn CodeMapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^ help: use `dyn`: `dyn CodeMapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Write + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^ help: use `dyn`: `dyn CodeMapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn term::Terminal + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:1282:13 [INFO] [stdout] | [INFO] [stdout] 1282 | Raw(Box), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Write + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/snippet.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | codemap: Rc, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn CodeMapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^ help: use `dyn`: `dyn CodeMapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:253:26 [INFO] [stdout] | [INFO] [stdout] 253 | emitter: RefCell>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Emitter` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:264:43 [INFO] [stdout] | [INFO] [stdout] 264 | ... cm: Option>) [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn CodeMapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:272:32 [INFO] [stdout] | [INFO] [stdout] 272 | e: Box) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Emitter` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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: `#[deny(bare_trait_objects)]` implied by `#[deny(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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | cm: Option>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn CodeMapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^ help: use `dyn`: `dyn CodeMapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Write + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^ help: use `dyn`: `dyn CodeMapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn term::Terminal + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/emitter.rs:1282:13 [INFO] [stdout] | [INFO] [stdout] 1282 | Raw(Box), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Write + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/snippet.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | codemap: Rc, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn CodeMapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] | ^^^^^^^^^^ help: use `dyn`: `dyn CodeMapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:253:26 [INFO] [stdout] | [INFO] [stdout] 253 | emitter: RefCell>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Emitter` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:264:43 [INFO] [stdout] | [INFO] [stdout] 264 | ... cm: Option>) [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn CodeMapper` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:272:32 [INFO] [stdout] | [INFO] [stdout] 272 | e: Box) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Emitter` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `syntex_errors` due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8b1c2618dfb99e65e6db408d99d13bc1014b1a80548c6d610c7eeeb764d74c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b1c2618dfb99e65e6db408d99d13bc1014b1a80548c6d610c7eeeb764d74c05", kill_on_drop: false }` [INFO] [stdout] 8b1c2618dfb99e65e6db408d99d13bc1014b1a80548c6d610c7eeeb764d74c05