[INFO] cloning repository https://github.com/knuckerr/sftp_with_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/knuckerr/sftp_with_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknuckerr%2Fsftp_with_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknuckerr%2Fsftp_with_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a7181b46399c4c605606fdce763f1f63de1e4e6a [INFO] testing knuckerr/sftp_with_rust against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fknuckerr%2Fsftp_with_rust" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/knuckerr/sftp_with_rust 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 git repo https://github.com/knuckerr/sftp_with_rust [INFO] finished tweaking git repo https://github.com/knuckerr/sftp_with_rust [INFO] tweaked toml for git repo https://github.com/knuckerr/sftp_with_rust written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate git repo https://github.com/knuckerr/sftp_with_rust already has a lockfile, it will not be regenerated [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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] 91a1d0ab046d6960826d6205c989cf288299c2c4e803075f4ded97077443e3db [INFO] running `Command { std: "docker" "start" "-a" "91a1d0ab046d6960826d6205c989cf288299c2c4e803075f4ded97077443e3db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91a1d0ab046d6960826d6205c989cf288299c2c4e803075f4ded97077443e3db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91a1d0ab046d6960826d6205c989cf288299c2c4e803075f4ded97077443e3db", kill_on_drop: false }` [INFO] [stdout] 91a1d0ab046d6960826d6205c989cf288299c2c4e803075f4ded97077443e3db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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] f5fee092bae23c2cbddb17c5b3e005e256cb2e533abca2c07017bd778e7b2bda [INFO] running `Command { std: "docker" "start" "-a" "f5fee092bae23c2cbddb17c5b3e005e256cb2e533abca2c07017bd778e7b2bda", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.3 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.40 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libssh2-sys v0.2.11 [INFO] [stderr] Compiling tokio-executor v0.1.5 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling clicolors-control v1.0.0 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling filetime v0.2.4 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling syn v0.15.24 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling tokio-io v0.1.10 [INFO] [stderr] Compiling number_prefix v0.2.8 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling tokio-reactor v0.1.7 [INFO] [stderr] Compiling inotify v0.6.1 [INFO] [stderr] Compiling notify v4.0.6 [INFO] [stderr] Compiling console v0.7.2 [INFO] [stderr] Compiling serde_json v1.0.34 [INFO] [stderr] Compiling indicatif v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Compiling ssh2 v0.3.3 [INFO] [stderr] Compiling my_sftp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 31 | fn create_ssh(arguments: Arguments) -> Result<(), Box> { [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] 31 - fn create_ssh(arguments: Arguments) -> Result<(), Box> { [INFO] [stdout] 31 + fn create_ssh(arguments: Arguments) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mirror.rs:45:89 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn notify(sess: Rc, path_original: &str, server: Server) -> 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] 45 - pub fn notify(sess: Rc, path_original: &str, server: Server) -> Result<(), Box> { [INFO] [stdout] 45 + pub fn notify(sess: Rc, path_original: &str, server: Server) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mirror.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> 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] 149 - ) -> Result, Box> { [INFO] [stdout] 149 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mirror.rs:221:90 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn clean_old_files(sess: Rc, server: Server, path1: &str) -> 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] 221 - pub fn clean_old_files(sess: Rc, server: Server, path1: &str) -> Result<(), Box> { [INFO] [stdout] 221 + pub fn clean_old_files(sess: Rc, server: Server, path1: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mirror.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | ) -> 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] 262 - ) -> Result<(), Box> { [INFO] [stdout] 262 + ) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mirror.rs:315:92 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn fix_version_path(sess: Rc, project: &str, version: &str) -> 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] 315 - pub fn fix_version_path(sess: Rc, project: &str, version: &str) -> Result<(), Box> { [INFO] [stdout] 315 + pub fn fix_version_path(sess: Rc, project: &str, version: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mirror.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | ) -> 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] 336 - ) -> Result<(), Box> { [INFO] [stdout] 336 + ) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new() -> 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] 38 - pub fn new() -> Result> { [INFO] [stdout] 38 + pub fn new() -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:48:85 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn create_backup(&self, sess: Rc, version: &str) -> 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] 48 - pub fn create_backup(&self, sess: Rc, version: &str) -> Result<(), Box> { [INFO] [stdout] 48 + pub fn create_backup(&self, sess: Rc, version: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:74:70 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn list_versions(&self, sess: 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] 74 - pub fn list_versions(&self, sess: Rc) -> Result<(), Box> { [INFO] [stdout] 74 + pub fn list_versions(&self, sess: Rc) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:88:89 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn revision(&self, sess: Rc, revision_version: &str) -> 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] 88 - pub fn revision(&self, sess: Rc, revision_version: &str) -> Result<(), Box> { [INFO] [stdout] 88 + pub fn revision(&self, sess: Rc, revision_version: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/mirror.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Modified` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mirror.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.79s [INFO] running `Command { std: "docker" "inspect" "f5fee092bae23c2cbddb17c5b3e005e256cb2e533abca2c07017bd778e7b2bda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5fee092bae23c2cbddb17c5b3e005e256cb2e533abca2c07017bd778e7b2bda", kill_on_drop: false }` [INFO] [stdout] f5fee092bae23c2cbddb17c5b3e005e256cb2e533abca2c07017bd778e7b2bda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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] 21b3adca0c9b8746368c1201f4eb56d8ae83a0d0e5a06e6346f43ff958d5e8ac [INFO] running `Command { std: "docker" "start" "-a" "21b3adca0c9b8746368c1201f4eb56d8ae83a0d0e5a06e6346f43ff958d5e8ac", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling my_sftp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 31 | fn create_ssh(arguments: Arguments) -> Result<(), Box> { [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] 31 - fn create_ssh(arguments: Arguments) -> Result<(), Box> { [INFO] [stdout] 31 + fn create_ssh(arguments: Arguments) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mirror.rs:45:89 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn notify(sess: Rc, path_original: &str, server: Server) -> 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] 45 - pub fn notify(sess: Rc, path_original: &str, server: Server) -> Result<(), Box> { [INFO] [stdout] 45 + pub fn notify(sess: Rc, path_original: &str, server: Server) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mirror.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> 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] 149 - ) -> Result, Box> { [INFO] [stdout] 149 + ) -> Result, Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mirror.rs:221:90 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn clean_old_files(sess: Rc, server: Server, path1: &str) -> 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] 221 - pub fn clean_old_files(sess: Rc, server: Server, path1: &str) -> Result<(), Box> { [INFO] [stdout] 221 + pub fn clean_old_files(sess: Rc, server: Server, path1: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mirror.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | ) -> 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] 262 - ) -> Result<(), Box> { [INFO] [stdout] 262 + ) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mirror.rs:315:92 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn fix_version_path(sess: Rc, project: &str, version: &str) -> 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] 315 - pub fn fix_version_path(sess: Rc, project: &str, version: &str) -> Result<(), Box> { [INFO] [stdout] 315 + pub fn fix_version_path(sess: Rc, project: &str, version: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mirror.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | ) -> 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] 336 - ) -> Result<(), Box> { [INFO] [stdout] 336 + ) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new() -> 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] 38 - pub fn new() -> Result> { [INFO] [stdout] 38 + pub fn new() -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:48:85 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn create_backup(&self, sess: Rc, version: &str) -> 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] 48 - pub fn create_backup(&self, sess: Rc, version: &str) -> Result<(), Box> { [INFO] [stdout] 48 + pub fn create_backup(&self, sess: Rc, version: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:74:70 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn list_versions(&self, sess: 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] 74 - pub fn list_versions(&self, sess: Rc) -> Result<(), Box> { [INFO] [stdout] 74 + pub fn list_versions(&self, sess: Rc) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:88:89 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn revision(&self, sess: Rc, revision_version: &str) -> 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] 88 - pub fn revision(&self, sess: Rc, revision_version: &str) -> Result<(), Box> { [INFO] [stdout] 88 + pub fn revision(&self, sess: Rc, revision_version: &str) -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/mirror.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | size: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Modified` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mirror.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.40s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/my_sftp-aa3d532ed392ab86) [INFO] running `Command { std: "docker" "inspect" "21b3adca0c9b8746368c1201f4eb56d8ae83a0d0e5a06e6346f43ff958d5e8ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21b3adca0c9b8746368c1201f4eb56d8ae83a0d0e5a06e6346f43ff958d5e8ac", kill_on_drop: false }` [INFO] [stdout] 21b3adca0c9b8746368c1201f4eb56d8ae83a0d0e5a06e6346f43ff958d5e8ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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] 09648c7b335f43b9eecb5b33ae8e0ea90b854cb9e4883b0f1f0521e4ff70ace4 [INFO] running `Command { std: "docker" "start" "-a" "09648c7b335f43b9eecb5b33ae8e0ea90b854cb9e4883b0f1f0521e4ff70ace4", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:31:55 [INFO] [stderr] | [INFO] [stderr] 31 | fn create_ssh(arguments: Arguments) -> Result<(), Box> { [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] 31 - fn create_ssh(arguments: Arguments) -> Result<(), Box> { [INFO] [stderr] 31 + fn create_ssh(arguments: Arguments) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mirror.rs:45:89 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn notify(sess: Rc, path_original: &str, server: Server) -> 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] 45 - pub fn notify(sess: Rc, path_original: &str, server: Server) -> Result<(), Box> { [INFO] [stderr] 45 + pub fn notify(sess: Rc, path_original: &str, server: Server) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mirror.rs:149:32 [INFO] [stderr] | [INFO] [stderr] 149 | ) -> 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] 149 - ) -> Result, Box> { [INFO] [stderr] 149 + ) -> Result, Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mirror.rs:221:90 [INFO] [stderr] | [INFO] [stderr] 221 | pub fn clean_old_files(sess: Rc, server: Server, path1: &str) -> 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] 221 - pub fn clean_old_files(sess: Rc, server: Server, path1: &str) -> Result<(), Box> { [INFO] [stderr] 221 + pub fn clean_old_files(sess: Rc, server: Server, path1: &str) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mirror.rs:262:21 [INFO] [stderr] | [INFO] [stderr] 262 | ) -> 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] 262 - ) -> Result<(), Box> { [INFO] [stderr] 262 + ) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mirror.rs:315:92 [INFO] [stderr] | [INFO] [stderr] 315 | pub fn fix_version_path(sess: Rc, project: &str, version: &str) -> 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] 315 - pub fn fix_version_path(sess: Rc, project: &str, version: &str) -> Result<(), Box> { [INFO] [stderr] 315 + pub fn fix_version_path(sess: Rc, project: &str, version: &str) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mirror.rs:336:21 [INFO] [stderr] | [INFO] [stderr] 336 | ) -> 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] 336 - ) -> Result<(), Box> { [INFO] [stderr] 336 + ) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:38:41 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn new() -> 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] 38 - pub fn new() -> Result> { [INFO] [stderr] 38 + pub fn new() -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:48:85 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn create_backup(&self, sess: Rc, version: &str) -> 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] 48 - pub fn create_backup(&self, sess: Rc, version: &str) -> Result<(), Box> { [INFO] [stderr] 48 + pub fn create_backup(&self, sess: Rc, version: &str) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:74:70 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn list_versions(&self, sess: 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] 74 - pub fn list_versions(&self, sess: Rc) -> Result<(), Box> { [INFO] [stderr] 74 + pub fn list_versions(&self, sess: Rc) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/server.rs:88:89 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn revision(&self, sess: Rc, revision_version: &str) -> 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] 88 - pub fn revision(&self, sess: Rc, revision_version: &str) -> Result<(), Box> { [INFO] [stderr] 88 + pub fn revision(&self, sess: Rc, revision_version: &str) -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `size` [INFO] [stderr] --> src/mirror.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | size: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Modified` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/mirror.rs:34:10 [INFO] [stderr] | [INFO] [stderr] 34 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `my_sftp` (bin "my_sftp" test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/my_sftp-aa3d532ed392ab86) [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] running `Command { std: "docker" "inspect" "09648c7b335f43b9eecb5b33ae8e0ea90b854cb9e4883b0f1f0521e4ff70ace4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09648c7b335f43b9eecb5b33ae8e0ea90b854cb9e4883b0f1f0521e4ff70ace4", kill_on_drop: false }` [INFO] [stdout] 09648c7b335f43b9eecb5b33ae8e0ea90b854cb9e4883b0f1f0521e4ff70ace4