[INFO] fetching crate syntex_errors 0.59.1... [INFO] checking syntex_errors-0.59.1 against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] extracting crate syntex_errors 0.59.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate syntex_errors 0.59.1 on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb4cec7bc903d7f8d9a7eb4437ff69ede3f3d142e62678ad044953f53ac9d8c4 [INFO] running `Command { std: "docker" "start" "-a" "bb4cec7bc903d7f8d9a7eb4437ff69ede3f3d142e62678ad044953f53ac9d8c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb4cec7bc903d7f8d9a7eb4437ff69ede3f3d142e62678ad044953f53ac9d8c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb4cec7bc903d7f8d9a7eb4437ff69ede3f3d142e62678ad044953f53ac9d8c4", kill_on_drop: false }` [INFO] [stdout] bb4cec7bc903d7f8d9a7eb4437ff69ede3f3d142e62678ad044953f53ac9d8c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42161ce80ecd44f0d401e96e0e9898238b0b169b31fee67fdd11032d1fa98857 [INFO] running `Command { std: "docker" "start" "-a" "42161ce80ecd44f0d401e96e0e9898238b0b169b31fee67fdd11032d1fa98857", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking term v0.4.6 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Compiling quote v1.0.9 [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] [stderr] error: could not compile `syntex_errors` [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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" "42161ce80ecd44f0d401e96e0e9898238b0b169b31fee67fdd11032d1fa98857", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42161ce80ecd44f0d401e96e0e9898238b0b169b31fee67fdd11032d1fa98857", kill_on_drop: false }` [INFO] [stdout] 42161ce80ecd44f0d401e96e0e9898238b0b169b31fee67fdd11032d1fa98857