[INFO] fetching crate sors 0.0.2... [INFO] testing sors-0.0.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate sors 0.0.2 into /workspace/builds/worker-75/source [INFO] validating manifest of crates.io crate sors 0.0.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sors 0.0.2 [INFO] finished tweaking crates.io crate sors 0.0.2 [INFO] tweaked toml for crates.io crate sors 0.0.2 written to /workspace/builds/worker-75/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-04-10" "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-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f85883b683afc6535e431a43734b2906ce97c5e7d217ea649af3e0ebeb42443 [INFO] running `Command { std: "docker" "start" "-a" "3f85883b683afc6535e431a43734b2906ce97c5e7d217ea649af3e0ebeb42443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f85883b683afc6535e431a43734b2906ce97c5e7d217ea649af3e0ebeb42443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f85883b683afc6535e431a43734b2906ce97c5e7d217ea649af3e0ebeb42443", kill_on_drop: false }` [INFO] [stdout] 3f85883b683afc6535e431a43734b2906ce97c5e7d217ea649af3e0ebeb42443 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35243b808630dbe07dbdee3c4197d6e3d8ca5bdc6048b439f0dae6276de3439e [INFO] running `Command { std: "docker" "start" "-a" "35243b808630dbe07dbdee3c4197d6e3d8ca5bdc6048b439f0dae6276de3439e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling pipeline v0.5.0 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling subprocess v0.1.20 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling rustyline v4.1.0 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling markdown v0.2.0 [INFO] [stderr] Compiling snafu-derive v0.3.1 [INFO] [stderr] Compiling snafu v0.3.1 [INFO] [stderr] Compiling sors v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | callbacks: &'a mut CliCallbacks, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - callbacks: &'a mut CliCallbacks, [INFO] [stdout] 33 + callbacks: &'a mut dyn CliCallbacks, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Func = Box Result<()>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub type Func = Box Result<()>>; [INFO] [stdout] 7 + pub type Func = Box Result<()>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | CustomError { source: Box }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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 - CustomError { source: Box }, [INFO] [stdout] 20 + CustomError { source: Box }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:467:100 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 467 - pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] 467 + pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:483:81 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 483 - pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] 483 + pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:496:77 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 496 - pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] 496 + pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:197:58 [INFO] [stdout] | [INFO] [stdout] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] 197 + where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(callbacks: &'a mut CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - pub fn new(callbacks: &'a mut CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] 39 + pub fn new(callbacks: &'a mut dyn CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | callbacks: &'a mut CliCallbacks, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - callbacks: &'a mut CliCallbacks, [INFO] [stdout] 33 + callbacks: &'a mut dyn CliCallbacks, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Func = Box Result<()>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub type Func = Box Result<()>>; [INFO] [stdout] 7 + pub type Func = Box Result<()>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | CustomError { source: Box }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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 - CustomError { source: Box }, [INFO] [stdout] 20 + CustomError { source: Box }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:467:100 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 467 - pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] 467 + pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:483:81 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 483 - pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] 483 + pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:496:77 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 496 - pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] 496 + pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:197:58 [INFO] [stdout] | [INFO] [stdout] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] 197 + where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(callbacks: &'a mut CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - pub fn new(callbacks: &'a mut CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] 39 + pub fn new(callbacks: &'a mut dyn CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helper.rs:36:75 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn display_clocks(clocks: &[Rc], doc: &Doc, callbacks: &mut CliCallbacks) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - pub fn display_clocks(clocks: &[Rc], doc: &Doc, callbacks: &mut CliCallbacks) { [INFO] [stdout] 36 + pub fn display_clocks(clocks: &[Rc], doc: &Doc, callbacks: &mut dyn CliCallbacks) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 53.96s [INFO] running `Command { std: "docker" "inspect" "35243b808630dbe07dbdee3c4197d6e3d8ca5bdc6048b439f0dae6276de3439e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35243b808630dbe07dbdee3c4197d6e3d8ca5bdc6048b439f0dae6276de3439e", kill_on_drop: false }` [INFO] [stdout] 35243b808630dbe07dbdee3c4197d6e3d8ca5bdc6048b439f0dae6276de3439e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b7d0ba9b94be15b2f260aae0f19ebcbd59b574022addc103bfdf00aa5888c1b [INFO] running `Command { std: "docker" "start" "-a" "6b7d0ba9b94be15b2f260aae0f19ebcbd59b574022addc103bfdf00aa5888c1b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | callbacks: &'a mut CliCallbacks, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - callbacks: &'a mut CliCallbacks, [INFO] [stdout] 33 + callbacks: &'a mut dyn CliCallbacks, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Func = Box Result<()>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub type Func = Box Result<()>>; [INFO] [stdout] 7 + pub type Func = Box Result<()>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sors v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | CustomError { source: Box }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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 - CustomError { source: Box }, [INFO] [stdout] 20 + CustomError { source: Box }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:467:100 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 467 - pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] 467 + pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:483:81 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 483 - pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] 483 + pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:496:77 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 496 - pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] 496 + pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:197:58 [INFO] [stdout] | [INFO] [stdout] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] 197 + where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(callbacks: &'a mut CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - pub fn new(callbacks: &'a mut CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] 39 + pub fn new(callbacks: &'a mut dyn CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | callbacks: &'a mut CliCallbacks, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - callbacks: &'a mut CliCallbacks, [INFO] [stdout] 33 + callbacks: &'a mut dyn CliCallbacks, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Func = Box Result<()>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub type Func = Box Result<()>>; [INFO] [stdout] 7 + pub type Func = Box Result<()>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | CustomError { source: Box }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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 - CustomError { source: Box }, [INFO] [stdout] 20 + CustomError { source: Box }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:467:100 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 467 - pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] 467 + pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:483:81 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 483 - pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] 483 + pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:496:77 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 496 - pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] 496 + pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:197:58 [INFO] [stdout] | [INFO] [stdout] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] 197 + where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(callbacks: &'a mut CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - pub fn new(callbacks: &'a mut CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] 39 + pub fn new(callbacks: &'a mut dyn CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | callbacks: &'a mut CliCallbacks, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - callbacks: &'a mut CliCallbacks, [INFO] [stdout] 33 + callbacks: &'a mut dyn CliCallbacks, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Func = Box Result<()>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub type Func = Box Result<()>>; [INFO] [stdout] 7 + pub type Func = Box Result<()>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | CustomError { source: Box }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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 - CustomError { source: Box }, [INFO] [stdout] 20 + CustomError { source: Box }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:467:100 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 467 - pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] 467 + pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:483:81 [INFO] [stdout] | [INFO] [stdout] 483 | pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 483 - pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] 483 + pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:496:77 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 496 - pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stdout] 496 + pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/doc.rs:197:58 [INFO] [stdout] | [INFO] [stdout] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] 197 + where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(callbacks: &'a mut CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - pub fn new(callbacks: &'a mut CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] 39 + pub fn new(callbacks: &'a mut dyn CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helper.rs:36:75 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn display_clocks(clocks: &[Rc], doc: &Doc, callbacks: &mut CliCallbacks) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - pub fn display_clocks(clocks: &[Rc], doc: &Doc, callbacks: &mut CliCallbacks) { [INFO] [stdout] 36 + pub fn display_clocks(clocks: &[Rc], doc: &Doc, callbacks: &mut dyn CliCallbacks) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.30s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/sors-8ce4385ea5369aff) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/sors_cli-f0ee7f8428ffcdc8) [INFO] running `Command { std: "docker" "inspect" "6b7d0ba9b94be15b2f260aae0f19ebcbd59b574022addc103bfdf00aa5888c1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b7d0ba9b94be15b2f260aae0f19ebcbd59b574022addc103bfdf00aa5888c1b", kill_on_drop: false }` [INFO] [stdout] 6b7d0ba9b94be15b2f260aae0f19ebcbd59b574022addc103bfdf00aa5888c1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b7c9245b2aaa0fe652d3ac65521c98b74199e12df01be51bc87e6a50146f292f [INFO] running `Command { std: "docker" "start" "-a" "b7c9245b2aaa0fe652d3ac65521c98b74199e12df01be51bc87e6a50146f292f", 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] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cli.rs:33:24 [INFO] [stderr] | [INFO] [stderr] 33 | callbacks: &'a mut CliCallbacks, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 33 - callbacks: &'a mut CliCallbacks, [INFO] [stderr] 33 + callbacks: &'a mut dyn CliCallbacks, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cli.rs:7:27 [INFO] [stderr] | [INFO] [stderr] 7 | pub type Func = Box Result<()>>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 7 - pub type Func = Box Result<()>>; [INFO] [stderr] 7 + pub type Func = Box Result<()>>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:20:31 [INFO] [stderr] | [INFO] [stderr] 20 | CustomError { source: Box }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) 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 - CustomError { source: Box }, [INFO] [stderr] 20 + CustomError { source: Box }, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/doc.rs:467:100 [INFO] [stderr] | [INFO] [stderr] 467 | pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 467 - pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stderr] 467 + pub fn rec_print(doc: &mut Doc, task_id: &Uuid, level: usize, max_depth: usize, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/doc.rs:483:81 [INFO] [stderr] | [INFO] [stderr] 483 | pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 483 - pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stderr] 483 + pub fn dump_html_rec(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/doc.rs:496:77 [INFO] [stderr] | [INFO] [stderr] 496 | pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 496 - pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut CliCallbacks) -> Result<()> { [INFO] [stderr] 496 + pub fn dump_html(doc: &Doc, dir: &Path, task_ref: &Uuid, callbacks: &mut dyn CliCallbacks) -> Result<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/doc.rs:197:58 [INFO] [stderr] | [INFO] [stderr] 197 | where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 197 - where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stderr] 197 + where F: Fn(&mut Rc) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cli.rs:39:35 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn new(callbacks: &'a mut CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 39 - pub fn new(callbacks: &'a mut CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stderr] 39 + pub fn new(callbacks: &'a mut dyn CliCallbacks, state_callbacks: C2) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `sors` (lib) generated 8 warnings [INFO] [stderr] warning: `sors` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/helper.rs:36:75 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn display_clocks(clocks: &[Rc], doc: &Doc, callbacks: &mut CliCallbacks) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 36 - pub fn display_clocks(clocks: &[Rc], doc: &Doc, callbacks: &mut CliCallbacks) { [INFO] [stderr] 36 + pub fn display_clocks(clocks: &[Rc], doc: &Doc, callbacks: &mut dyn CliCallbacks) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `sors` (bin "sors-cli" test) generated 9 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.58s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sors-8ce4385ea5369aff) [INFO] [stdout] [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sors_cli-f0ee7f8428ffcdc8) [INFO] [stdout] [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] [stderr] Doc-tests sors [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/doc.rs - doc::Doc::new (line 134) ... ok [INFO] [stdout] test src/doc.rs - doc::Doc (line 21) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.29s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b7c9245b2aaa0fe652d3ac65521c98b74199e12df01be51bc87e6a50146f292f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7c9245b2aaa0fe652d3ac65521c98b74199e12df01be51bc87e6a50146f292f", kill_on_drop: false }` [INFO] [stdout] b7c9245b2aaa0fe652d3ac65521c98b74199e12df01be51bc87e6a50146f292f