[INFO] cloning repository https://github.com/jhnstrk/fitreader-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jhnstrk/fitreader-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhnstrk%2Ffitreader-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhnstrk%2Ffitreader-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d42544034441e435d412c92b3103756b9b791e6f [INFO] testing jhnstrk/fitreader-rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhnstrk%2Ffitreader-rs" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jhnstrk/fitreader-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jhnstrk/fitreader-rs [INFO] finished tweaking git repo https://github.com/jhnstrk/fitreader-rs [INFO] tweaked toml for git repo https://github.com/jhnstrk/fitreader-rs written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/jhnstrk/fitreader-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e76ebc349d5eb27febae00ac1e56f7746507af619bde05314ccc04af9fa235c0 [INFO] running `Command { std: "docker" "start" "-a" "e76ebc349d5eb27febae00ac1e56f7746507af619bde05314ccc04af9fa235c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e76ebc349d5eb27febae00ac1e56f7746507af619bde05314ccc04af9fa235c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e76ebc349d5eb27febae00ac1e56f7746507af619bde05314ccc04af9fa235c0", kill_on_drop: false }` [INFO] [stdout] e76ebc349d5eb27febae00ac1e56f7746507af619bde05314ccc04af9fa235c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40cf7f0c2eb5d27a5580d784e5ef6335f4e22b3f0a69a07d00db346d69a5cf6e [INFO] running `Command { std: "docker" "start" "-a" "40cf7f0c2eb5d27a5580d784e5ef6335f4e22b3f0a69a07d00db346d69a5cf6e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling serde v1.0.88 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.88 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.38 [INFO] [stderr] Compiling fit_reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/fitfile.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | if (file_crc == computed_crc) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - if (file_crc == computed_crc) { [INFO] [stdout] 55 + if file_crc == computed_crc { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn fit_read_u8(context: &mut FitFileContext, reader: &mut Read) -> Result { [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] 7 - pub fn fit_read_u8(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 7 + pub fn fit_read_u8(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn fit_read_i8(context: &mut FitFileContext, reader: &mut Read) -> 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] 15 - pub fn fit_read_i8(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 15 + pub fn fit_read_i8(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:22:64 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn fit_read_u16(context: &mut FitFileContext, reader: &mut Read) -> 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] 22 - pub fn fit_read_u16(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 22 + pub fn fit_read_u16(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:39:64 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn fit_read_i16(context: &mut FitFileContext, reader: &mut Read) -> 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] 39 - pub fn fit_read_i16(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 39 + pub fn fit_read_i16(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:55:64 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn fit_read_u32(context: &mut FitFileContext, reader: &mut Read) -> 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] 55 - pub fn fit_read_u32(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 55 + pub fn fit_read_u32(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:71:64 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn fit_read_i32(context: &mut FitFileContext, reader: &mut Read) -> 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] 71 - pub fn fit_read_i32(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 71 + pub fn fit_read_i32(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:87:64 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn fit_read_u64(context: &mut FitFileContext, reader: &mut Read) -> 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] 87 - pub fn fit_read_u64(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 87 + pub fn fit_read_u64(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:105:64 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn fit_read_i64(context: &mut FitFileContext, reader: &mut Read) -> 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] 105 - pub fn fit_read_i64(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 105 + pub fn fit_read_i64(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:121:64 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn fit_read_f32(context: &mut FitFileContext, reader: &mut Read) -> 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] 121 - pub fn fit_read_f32(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 121 + pub fn fit_read_f32(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:137:64 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn fit_read_f64(context: &mut FitFileContext, reader: &mut Read) -> 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] 137 - pub fn fit_read_f64(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 137 + pub fn fit_read_f64(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:155:67 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn fit_read_string(context: &mut FitFileContext, reader: &mut Read, width: &u8) -> 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] 155 - pub fn fit_read_string(context: &mut FitFileContext, reader: &mut Read, width: &u8) -> Result { [INFO] [stdout] 155 + pub fn fit_read_string(context: &mut FitFileContext, reader: &mut dyn Read, width: &u8) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:6:64 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn fit_write_u8(context: &mut FitFileContext, writer: &mut Write, byte: u8) -> Result<(), std::io::Error> { [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] 6 - pub fn fit_write_u8(context: &mut FitFileContext, writer: &mut Write, byte: u8) -> Result<(), std::io::Error> { [INFO] [stdout] 6 + pub fn fit_write_u8(context: &mut FitFileContext, writer: &mut dyn Write, byte: u8) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:12:64 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn fit_write_i8(context: &mut FitFileContext, writer: &mut Write, byte: i8) -> Result<(), std::io::Error> { [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] 12 - pub fn fit_write_i8(context: &mut FitFileContext, writer: &mut Write, byte: i8) -> Result<(), std::io::Error> { [INFO] [stdout] 12 + pub fn fit_write_i8(context: &mut FitFileContext, writer: &mut dyn Write, byte: i8) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn fit_write_u16(context: &mut FitFileContext, writer: &mut Write, v: u16) -> Result<(), std::io::Error> { [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] 17 - pub fn fit_write_u16(context: &mut FitFileContext, writer: &mut Write, v: u16) -> Result<(), std::io::Error> { [INFO] [stdout] 17 + pub fn fit_write_u16(context: &mut FitFileContext, writer: &mut dyn Write, v: u16) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:27:65 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn fit_write_i16(context: &mut FitFileContext, writer: &mut Write, v: i16) -> Result<(), std::io::Error> { [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] 27 - pub fn fit_write_i16(context: &mut FitFileContext, writer: &mut Write, v: i16) -> Result<(), std::io::Error> { [INFO] [stdout] 27 + pub fn fit_write_i16(context: &mut FitFileContext, writer: &mut dyn Write, v: i16) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:37:65 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn fit_write_u32(context: &mut FitFileContext, writer: &mut Write, v: u32) -> Result<(), std::io::Error> { [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] 37 - pub fn fit_write_u32(context: &mut FitFileContext, writer: &mut Write, v: u32) -> Result<(), std::io::Error> { [INFO] [stdout] 37 + pub fn fit_write_u32(context: &mut FitFileContext, writer: &mut dyn Write, v: u32) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:47:65 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn fit_write_i32(context: &mut FitFileContext, writer: &mut Write, v: i32) -> Result<(), std::io::Error> { [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] 47 - pub fn fit_write_i32(context: &mut FitFileContext, writer: &mut Write, v: i32) -> Result<(), std::io::Error> { [INFO] [stdout] 47 + pub fn fit_write_i32(context: &mut FitFileContext, writer: &mut dyn Write, v: i32) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:57:65 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn fit_write_u64(context: &mut FitFileContext, writer: &mut Write, v: u64) -> Result<(), std::io::Error> { [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] 57 - pub fn fit_write_u64(context: &mut FitFileContext, writer: &mut Write, v: u64) -> Result<(), std::io::Error> { [INFO] [stdout] 57 + pub fn fit_write_u64(context: &mut FitFileContext, writer: &mut dyn Write, v: u64) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:67:65 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn fit_write_i64(context: &mut FitFileContext, writer: &mut Write, v: i64) -> Result<(), std::io::Error> { [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] 67 - pub fn fit_write_i64(context: &mut FitFileContext, writer: &mut Write, v: i64) -> Result<(), std::io::Error> { [INFO] [stdout] 67 + pub fn fit_write_i64(context: &mut FitFileContext, writer: &mut dyn Write, v: i64) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:77:65 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn fit_write_f32(context: &mut FitFileContext, writer: &mut Write, v: f32) -> Result<(), std::io::Error> { [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] 77 - pub fn fit_write_f32(context: &mut FitFileContext, writer: &mut Write, v: f32) -> Result<(), std::io::Error> { [INFO] [stdout] 77 + pub fn fit_write_f32(context: &mut FitFileContext, writer: &mut dyn Write, v: f32) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:87:65 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn fit_write_f64(context: &mut FitFileContext, writer: &mut Write, v: f64) -> Result<(), std::io::Error> { [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] 87 - pub fn fit_write_f64(context: &mut FitFileContext, writer: &mut Write, v: f64) -> Result<(), std::io::Error> { [INFO] [stdout] 87 + pub fn fit_write_f64(context: &mut FitFileContext, writer: &mut dyn Write, v: f64) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:97:68 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn fit_write_string(context: &mut FitFileContext, writer: &mut Write, v: &str, width: &u8) -> Result<(), std::io::Error> { [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] 97 - pub fn fit_write_string(context: &mut FitFileContext, writer: &mut Write, v: &str, width: &u8) -> Result<(), std::io::Error> { [INFO] [stdout] 97 + pub fn fit_write_string(context: &mut FitFileContext, writer: &mut dyn Write, v: &str, width: &u8) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitheader.rs:14:70 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read_global_header(context: &mut FitFileContext, reader: &mut Read) -> std::io::Result< FitFileHeader > { [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] 14 - pub fn read_global_header(context: &mut FitFileContext, reader: &mut Read) -> std::io::Result< FitFileHeader > { [INFO] [stdout] 14 + pub fn read_global_header(context: &mut FitFileContext, reader: &mut dyn Read) -> std::io::Result< FitFileHeader > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitheader.rs:65:71 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn write_global_header(context: &mut FitFileContext, writer: &mut Write, header: &FitFileHeader) [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] 65 - pub fn write_global_header(context: &mut FitFileContext, writer: &mut Write, header: &FitFileHeader) [INFO] [stdout] 65 + pub fn write_global_header(context: &mut FitFileContext, writer: &mut dyn Write, header: &FitFileHeader) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdefnmesg.rs:15:64 [INFO] [stdout] | [INFO] [stdout] 15 | fn read_field_defn( context: &mut FitFileContext, reader: &mut Read) [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] 15 - fn read_field_defn( context: &mut FitFileContext, reader: &mut Read) [INFO] [stdout] 15 + fn read_field_defn( context: &mut FitFileContext, reader: &mut dyn Read) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdefnmesg.rs:42:65 [INFO] [stdout] | [INFO] [stdout] 42 | fn write_field_defn( context: &mut FitFileContext, writer: &mut Write, field_defn: &FitFieldDefinition ) [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] 42 - fn write_field_defn( context: &mut FitFileContext, writer: &mut Write, field_defn: &FitFieldDefinition ) [INFO] [stdout] 42 + fn write_field_defn( context: &mut FitFileContext, writer: &mut dyn Write, field_defn: &FitFieldDefinition ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdefnmesg.rs:57:68 [INFO] [stdout] | [INFO] [stdout] 57 | fn read_dev_field_defn( context: &mut FitFileContext, reader: &mut Read) [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] 57 - fn read_dev_field_defn( context: &mut FitFileContext, reader: &mut Read) [INFO] [stdout] 57 + fn read_dev_field_defn( context: &mut FitFileContext, reader: &mut dyn Read) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdefnmesg.rs:70:69 [INFO] [stdout] | [INFO] [stdout] 70 | fn write_dev_field_defn( context: &mut FitFileContext, writer: &mut Write, field_defn: &FitDeveloperFieldDefinition ) [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] 70 - fn write_dev_field_defn( context: &mut FitFileContext, writer: &mut Write, field_defn: &FitDeveloperFieldDefinition ) [INFO] [stdout] 70 + fn write_dev_field_defn( context: &mut FitFileContext, writer: &mut dyn Write, field_defn: &FitDeveloperFieldDefinition ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdefnmesg.rs:79:76 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn read_definition_message( context: &mut FitFileContext, reader: &mut Read, [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] 79 - pub fn read_definition_message( context: &mut FitFileContext, reader: &mut Read, [INFO] [stdout] 79 + pub fn read_definition_message( context: &mut FitFileContext, reader: &mut dyn Read, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdefnmesg.rs:120:77 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn write_definition_message( context: &mut FitFileContext, writer: &mut Write, defn_mesg: &FitDefinitionMessage) [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] 120 - pub fn write_definition_message( context: &mut FitFileContext, writer: &mut Write, defn_mesg: &FitDefinitionMessage) [INFO] [stdout] 120 + pub fn write_definition_message( context: &mut FitFileContext, writer: &mut dyn Write, defn_mesg: &FitDefinitionMessage) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdatamesg.rs:13:70 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn read_data_message( context: &mut FitFileContext, reader: &mut Read, [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] 13 - pub fn read_data_message( context: &mut FitFileContext, reader: &mut Read, [INFO] [stdout] 13 + pub fn read_data_message( context: &mut FitFileContext, reader: &mut dyn Read, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdatamesg.rs:195:71 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn write_data_message( context: &mut FitFileContext, writer: &mut Write, mesg: &FitDataMessage) [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] 195 - pub fn write_data_message( context: &mut FitFileContext, writer: &mut Write, mesg: &FitDataMessage) [INFO] [stdout] 195 + pub fn write_data_message( context: &mut FitFileContext, writer: &mut dyn Write, mesg: &FitDataMessage) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitfile.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn read_file_read(source: &mut Read) -> std::io::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] 116 - pub fn read_file_read(source: &mut Read) -> std::io::Result { [INFO] [stdout] 116 + pub fn read_file_read(source: &mut dyn Read) -> std::io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitrecord.rs:319:63 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn read_record(context: &mut FitFileContext, reader: &mut Read) -> Result< FitRecord, std::io::Error> { [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] 319 - pub fn read_record(context: &mut FitFileContext, reader: &mut Read) -> Result< FitRecord, std::io::Error> { [INFO] [stdout] 319 + pub fn read_record(context: &mut FitFileContext, reader: &mut dyn Read) -> Result< FitRecord, std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitrecord.rs:363:64 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn write_record(context: &mut FitFileContext, writer: &mut Write, rec: &FitRecord) [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] 363 - pub fn write_record(context: &mut FitFileContext, writer: &mut Write, rec: &FitRecord) [INFO] [stdout] 363 + pub fn write_record(context: &mut FitFileContext, writer: &mut dyn Write, rec: &FitRecord) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitfield.rs:11:67 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn read_fit_field( context: &mut FitFileContext, reader: &mut Read, [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] 11 - pub fn read_fit_field( context: &mut FitFileContext, reader: &mut Read, [INFO] [stdout] 11 + pub fn read_fit_field( context: &mut FitFileContext, reader: &mut dyn Read, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitfield.rs:136:67 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn write_fit_field(context: &mut FitFileContext, writer: &mut Write, field: &FitFieldData) [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] 136 - pub fn write_fit_field(context: &mut FitFileContext, writer: &mut Write, field: &FitFieldData) [INFO] [stdout] 136 + pub fn write_fit_field(context: &mut FitFileContext, writer: &mut dyn Write, field: &FitFieldData) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FitFileReader` [INFO] [stdout] --> src/fitfile.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct FitFileReader { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fitfile.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(source: R) -> FitFileReader { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_global_header` [INFO] [stdout] --> src/fitfile.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn read_global_header(&mut self) -> std::io::Result< FitFileHeader > { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_next` [INFO] [stdout] --> src/fitfile.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn read_next(&mut self) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `source` [INFO] [stdout] --> src/fitfile.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn source(&self) -> &R {&self.source} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FitFileWriter` [INFO] [stdout] --> src/fitfile.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | struct FitFileWriter { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fitfile.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(target: W) -> FitFileWriter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_global_header` [INFO] [stdout] --> src/fitfile.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn write_global_header(&mut self, header: &FitFileHeader) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_next` [INFO] [stdout] --> src/fitfile.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn write_next(&mut self, rec: &FitRecord) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `finalize` [INFO] [stdout] --> src/fitfile.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn finalize(&mut self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `target` [INFO] [stdout] --> src/fitfile.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn target(&self) -> &W {&self.target} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.34s [INFO] running `Command { std: "docker" "inspect" "40cf7f0c2eb5d27a5580d784e5ef6335f4e22b3f0a69a07d00db346d69a5cf6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40cf7f0c2eb5d27a5580d784e5ef6335f4e22b3f0a69a07d00db346d69a5cf6e", kill_on_drop: false }` [INFO] [stdout] 40cf7f0c2eb5d27a5580d784e5ef6335f4e22b3f0a69a07d00db346d69a5cf6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a4d5799bd0cf48858730d00b3e77a1f2cb9588fcb5c2ea4a9a8116f9560e051 [INFO] running `Command { std: "docker" "start" "-a" "5a4d5799bd0cf48858730d00b3e77a1f2cb9588fcb5c2ea4a9a8116f9560e051", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/fitfile.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | if (file_crc == computed_crc) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - if (file_crc == computed_crc) { [INFO] [stdout] 55 + if file_crc == computed_crc { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn fit_read_u8(context: &mut FitFileContext, reader: &mut Read) -> Result { [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] 7 - pub fn fit_read_u8(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 7 + pub fn fit_read_u8(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn fit_read_i8(context: &mut FitFileContext, reader: &mut Read) -> 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] 15 - pub fn fit_read_i8(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 15 + pub fn fit_read_i8(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:22:64 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn fit_read_u16(context: &mut FitFileContext, reader: &mut Read) -> 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] 22 - pub fn fit_read_u16(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 22 + pub fn fit_read_u16(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:39:64 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn fit_read_i16(context: &mut FitFileContext, reader: &mut Read) -> 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] 39 - pub fn fit_read_i16(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 39 + pub fn fit_read_i16(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:55:64 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn fit_read_u32(context: &mut FitFileContext, reader: &mut Read) -> 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] 55 - pub fn fit_read_u32(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 55 + pub fn fit_read_u32(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:71:64 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn fit_read_i32(context: &mut FitFileContext, reader: &mut Read) -> 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] 71 - pub fn fit_read_i32(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 71 + pub fn fit_read_i32(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:87:64 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn fit_read_u64(context: &mut FitFileContext, reader: &mut Read) -> 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] 87 - pub fn fit_read_u64(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 87 + pub fn fit_read_u64(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:105:64 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn fit_read_i64(context: &mut FitFileContext, reader: &mut Read) -> 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] 105 - pub fn fit_read_i64(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 105 + pub fn fit_read_i64(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:121:64 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn fit_read_f32(context: &mut FitFileContext, reader: &mut Read) -> 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] 121 - pub fn fit_read_f32(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 121 + pub fn fit_read_f32(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:137:64 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn fit_read_f64(context: &mut FitFileContext, reader: &mut Read) -> 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] 137 - pub fn fit_read_f64(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 137 + pub fn fit_read_f64(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:155:67 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn fit_read_string(context: &mut FitFileContext, reader: &mut Read, width: &u8) -> 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] 155 - pub fn fit_read_string(context: &mut FitFileContext, reader: &mut Read, width: &u8) -> Result { [INFO] [stdout] 155 + pub fn fit_read_string(context: &mut FitFileContext, reader: &mut dyn Read, width: &u8) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:6:64 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn fit_write_u8(context: &mut FitFileContext, writer: &mut Write, byte: u8) -> Result<(), std::io::Error> { [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] 6 - pub fn fit_write_u8(context: &mut FitFileContext, writer: &mut Write, byte: u8) -> Result<(), std::io::Error> { [INFO] [stdout] 6 + pub fn fit_write_u8(context: &mut FitFileContext, writer: &mut dyn Write, byte: u8) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:12:64 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn fit_write_i8(context: &mut FitFileContext, writer: &mut Write, byte: i8) -> Result<(), std::io::Error> { [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] 12 - pub fn fit_write_i8(context: &mut FitFileContext, writer: &mut Write, byte: i8) -> Result<(), std::io::Error> { [INFO] [stdout] 12 + pub fn fit_write_i8(context: &mut FitFileContext, writer: &mut dyn Write, byte: i8) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn fit_write_u16(context: &mut FitFileContext, writer: &mut Write, v: u16) -> Result<(), std::io::Error> { [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] 17 - pub fn fit_write_u16(context: &mut FitFileContext, writer: &mut Write, v: u16) -> Result<(), std::io::Error> { [INFO] [stdout] 17 + pub fn fit_write_u16(context: &mut FitFileContext, writer: &mut dyn Write, v: u16) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:27:65 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn fit_write_i16(context: &mut FitFileContext, writer: &mut Write, v: i16) -> Result<(), std::io::Error> { [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] 27 - pub fn fit_write_i16(context: &mut FitFileContext, writer: &mut Write, v: i16) -> Result<(), std::io::Error> { [INFO] [stdout] 27 + pub fn fit_write_i16(context: &mut FitFileContext, writer: &mut dyn Write, v: i16) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:37:65 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn fit_write_u32(context: &mut FitFileContext, writer: &mut Write, v: u32) -> Result<(), std::io::Error> { [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] 37 - pub fn fit_write_u32(context: &mut FitFileContext, writer: &mut Write, v: u32) -> Result<(), std::io::Error> { [INFO] [stdout] 37 + pub fn fit_write_u32(context: &mut FitFileContext, writer: &mut dyn Write, v: u32) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:47:65 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn fit_write_i32(context: &mut FitFileContext, writer: &mut Write, v: i32) -> Result<(), std::io::Error> { [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] 47 - pub fn fit_write_i32(context: &mut FitFileContext, writer: &mut Write, v: i32) -> Result<(), std::io::Error> { [INFO] [stdout] 47 + pub fn fit_write_i32(context: &mut FitFileContext, writer: &mut dyn Write, v: i32) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:57:65 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn fit_write_u64(context: &mut FitFileContext, writer: &mut Write, v: u64) -> Result<(), std::io::Error> { [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] 57 - pub fn fit_write_u64(context: &mut FitFileContext, writer: &mut Write, v: u64) -> Result<(), std::io::Error> { [INFO] [stdout] 57 + pub fn fit_write_u64(context: &mut FitFileContext, writer: &mut dyn Write, v: u64) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:67:65 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn fit_write_i64(context: &mut FitFileContext, writer: &mut Write, v: i64) -> Result<(), std::io::Error> { [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] 67 - pub fn fit_write_i64(context: &mut FitFileContext, writer: &mut Write, v: i64) -> Result<(), std::io::Error> { [INFO] [stdout] 67 + pub fn fit_write_i64(context: &mut FitFileContext, writer: &mut dyn Write, v: i64) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:77:65 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn fit_write_f32(context: &mut FitFileContext, writer: &mut Write, v: f32) -> Result<(), std::io::Error> { [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] 77 - pub fn fit_write_f32(context: &mut FitFileContext, writer: &mut Write, v: f32) -> Result<(), std::io::Error> { [INFO] [stdout] 77 + pub fn fit_write_f32(context: &mut FitFileContext, writer: &mut dyn Write, v: f32) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:87:65 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn fit_write_f64(context: &mut FitFileContext, writer: &mut Write, v: f64) -> Result<(), std::io::Error> { [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] 87 - pub fn fit_write_f64(context: &mut FitFileContext, writer: &mut Write, v: f64) -> Result<(), std::io::Error> { [INFO] [stdout] 87 + pub fn fit_write_f64(context: &mut FitFileContext, writer: &mut dyn Write, v: f64) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:97:68 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn fit_write_string(context: &mut FitFileContext, writer: &mut Write, v: &str, width: &u8) -> Result<(), std::io::Error> { [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] 97 - pub fn fit_write_string(context: &mut FitFileContext, writer: &mut Write, v: &str, width: &u8) -> Result<(), std::io::Error> { [INFO] [stdout] 97 + pub fn fit_write_string(context: &mut FitFileContext, writer: &mut dyn Write, v: &str, width: &u8) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitheader.rs:14:70 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read_global_header(context: &mut FitFileContext, reader: &mut Read) -> std::io::Result< FitFileHeader > { [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] 14 - pub fn read_global_header(context: &mut FitFileContext, reader: &mut Read) -> std::io::Result< FitFileHeader > { [INFO] [stdout] 14 + pub fn read_global_header(context: &mut FitFileContext, reader: &mut dyn Read) -> std::io::Result< FitFileHeader > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitheader.rs:65:71 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn write_global_header(context: &mut FitFileContext, writer: &mut Write, header: &FitFileHeader) [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] 65 - pub fn write_global_header(context: &mut FitFileContext, writer: &mut Write, header: &FitFileHeader) [INFO] [stdout] 65 + pub fn write_global_header(context: &mut FitFileContext, writer: &mut dyn Write, header: &FitFileHeader) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdefnmesg.rs:15:64 [INFO] [stdout] | [INFO] [stdout] 15 | fn read_field_defn( context: &mut FitFileContext, reader: &mut Read) [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] 15 - fn read_field_defn( context: &mut FitFileContext, reader: &mut Read) [INFO] [stdout] 15 + fn read_field_defn( context: &mut FitFileContext, reader: &mut dyn Read) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdefnmesg.rs:42:65 [INFO] [stdout] | [INFO] [stdout] 42 | fn write_field_defn( context: &mut FitFileContext, writer: &mut Write, field_defn: &FitFieldDefinition ) [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] 42 - fn write_field_defn( context: &mut FitFileContext, writer: &mut Write, field_defn: &FitFieldDefinition ) [INFO] [stdout] 42 + fn write_field_defn( context: &mut FitFileContext, writer: &mut dyn Write, field_defn: &FitFieldDefinition ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdefnmesg.rs:57:68 [INFO] [stdout] | [INFO] [stdout] 57 | fn read_dev_field_defn( context: &mut FitFileContext, reader: &mut Read) [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] 57 - fn read_dev_field_defn( context: &mut FitFileContext, reader: &mut Read) [INFO] [stdout] 57 + fn read_dev_field_defn( context: &mut FitFileContext, reader: &mut dyn Read) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdefnmesg.rs:70:69 [INFO] [stdout] | [INFO] [stdout] 70 | fn write_dev_field_defn( context: &mut FitFileContext, writer: &mut Write, field_defn: &FitDeveloperFieldDefinition ) [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] 70 - fn write_dev_field_defn( context: &mut FitFileContext, writer: &mut Write, field_defn: &FitDeveloperFieldDefinition ) [INFO] [stdout] 70 + fn write_dev_field_defn( context: &mut FitFileContext, writer: &mut dyn Write, field_defn: &FitDeveloperFieldDefinition ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdefnmesg.rs:79:76 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn read_definition_message( context: &mut FitFileContext, reader: &mut Read, [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] 79 - pub fn read_definition_message( context: &mut FitFileContext, reader: &mut Read, [INFO] [stdout] 79 + pub fn read_definition_message( context: &mut FitFileContext, reader: &mut dyn Read, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdefnmesg.rs:120:77 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn write_definition_message( context: &mut FitFileContext, writer: &mut Write, defn_mesg: &FitDefinitionMessage) [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] 120 - pub fn write_definition_message( context: &mut FitFileContext, writer: &mut Write, defn_mesg: &FitDefinitionMessage) [INFO] [stdout] 120 + pub fn write_definition_message( context: &mut FitFileContext, writer: &mut dyn Write, defn_mesg: &FitDefinitionMessage) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdatamesg.rs:13:70 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn read_data_message( context: &mut FitFileContext, reader: &mut Read, [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] 13 - pub fn read_data_message( context: &mut FitFileContext, reader: &mut Read, [INFO] [stdout] 13 + pub fn read_data_message( context: &mut FitFileContext, reader: &mut dyn Read, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdatamesg.rs:195:71 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn write_data_message( context: &mut FitFileContext, writer: &mut Write, mesg: &FitDataMessage) [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] 195 - pub fn write_data_message( context: &mut FitFileContext, writer: &mut Write, mesg: &FitDataMessage) [INFO] [stdout] 195 + pub fn write_data_message( context: &mut FitFileContext, writer: &mut dyn Write, mesg: &FitDataMessage) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitfile.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn read_file_read(source: &mut Read) -> std::io::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] 116 - pub fn read_file_read(source: &mut Read) -> std::io::Result { [INFO] [stdout] 116 + pub fn read_file_read(source: &mut dyn Read) -> std::io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitrecord.rs:319:63 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn read_record(context: &mut FitFileContext, reader: &mut Read) -> Result< FitRecord, std::io::Error> { [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] 319 - pub fn read_record(context: &mut FitFileContext, reader: &mut Read) -> Result< FitRecord, std::io::Error> { [INFO] [stdout] 319 + pub fn read_record(context: &mut FitFileContext, reader: &mut dyn Read) -> Result< FitRecord, std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitrecord.rs:363:64 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn write_record(context: &mut FitFileContext, writer: &mut Write, rec: &FitRecord) [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] 363 - pub fn write_record(context: &mut FitFileContext, writer: &mut Write, rec: &FitRecord) [INFO] [stdout] 363 + pub fn write_record(context: &mut FitFileContext, writer: &mut dyn Write, rec: &FitRecord) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitfield.rs:11:67 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn read_fit_field( context: &mut FitFileContext, reader: &mut Read, [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] 11 - pub fn read_fit_field( context: &mut FitFileContext, reader: &mut Read, [INFO] [stdout] 11 + pub fn read_fit_field( context: &mut FitFileContext, reader: &mut dyn Read, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitfield.rs:136:67 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn write_fit_field(context: &mut FitFileContext, writer: &mut Write, field: &FitFieldData) [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] 136 - pub fn write_fit_field(context: &mut FitFileContext, writer: &mut Write, field: &FitFieldData) [INFO] [stdout] 136 + pub fn write_fit_field(context: &mut FitFileContext, writer: &mut dyn Write, field: &FitFieldData) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FitFileReader` [INFO] [stdout] --> src/fitfile.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct FitFileReader { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fit_reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fitfile.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(source: R) -> FitFileReader { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_global_header` [INFO] [stdout] --> src/fitfile.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn read_global_header(&mut self) -> std::io::Result< FitFileHeader > { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_next` [INFO] [stdout] --> src/fitfile.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn read_next(&mut self) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `source` [INFO] [stdout] --> src/fitfile.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn source(&self) -> &R {&self.source} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `FitFileWriter` [INFO] [stdout] --> src/fitfile.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | struct FitFileWriter { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fitfile.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(target: W) -> FitFileWriter { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_global_header` [INFO] [stdout] --> src/fitfile.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn write_global_header(&mut self, header: &FitFileHeader) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_next` [INFO] [stdout] --> src/fitfile.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn write_next(&mut self, rec: &FitRecord) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `finalize` [INFO] [stdout] --> src/fitfile.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn finalize(&mut self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `target` [INFO] [stdout] --> src/fitfile.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn target(&self) -> &W {&self.target} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/fitfile.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | if (file_crc == computed_crc) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - if (file_crc == computed_crc) { [INFO] [stdout] 55 + if file_crc == computed_crc { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn fit_read_u8(context: &mut FitFileContext, reader: &mut Read) -> Result { [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] 7 - pub fn fit_read_u8(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 7 + pub fn fit_read_u8(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn fit_read_i8(context: &mut FitFileContext, reader: &mut Read) -> 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] 15 - pub fn fit_read_i8(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 15 + pub fn fit_read_i8(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:22:64 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn fit_read_u16(context: &mut FitFileContext, reader: &mut Read) -> 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] 22 - pub fn fit_read_u16(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 22 + pub fn fit_read_u16(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:39:64 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn fit_read_i16(context: &mut FitFileContext, reader: &mut Read) -> 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] 39 - pub fn fit_read_i16(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 39 + pub fn fit_read_i16(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:55:64 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn fit_read_u32(context: &mut FitFileContext, reader: &mut Read) -> 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] 55 - pub fn fit_read_u32(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 55 + pub fn fit_read_u32(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:71:64 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn fit_read_i32(context: &mut FitFileContext, reader: &mut Read) -> 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] 71 - pub fn fit_read_i32(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 71 + pub fn fit_read_i32(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:87:64 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn fit_read_u64(context: &mut FitFileContext, reader: &mut Read) -> 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] 87 - pub fn fit_read_u64(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 87 + pub fn fit_read_u64(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:105:64 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn fit_read_i64(context: &mut FitFileContext, reader: &mut Read) -> 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] 105 - pub fn fit_read_i64(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 105 + pub fn fit_read_i64(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:121:64 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn fit_read_f32(context: &mut FitFileContext, reader: &mut Read) -> 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] 121 - pub fn fit_read_f32(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 121 + pub fn fit_read_f32(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:137:64 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn fit_read_f64(context: &mut FitFileContext, reader: &mut Read) -> 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] 137 - pub fn fit_read_f64(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stdout] 137 + pub fn fit_read_f64(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitread.rs:155:67 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn fit_read_string(context: &mut FitFileContext, reader: &mut Read, width: &u8) -> 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] 155 - pub fn fit_read_string(context: &mut FitFileContext, reader: &mut Read, width: &u8) -> Result { [INFO] [stdout] 155 + pub fn fit_read_string(context: &mut FitFileContext, reader: &mut dyn Read, width: &u8) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:6:64 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn fit_write_u8(context: &mut FitFileContext, writer: &mut Write, byte: u8) -> Result<(), std::io::Error> { [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] 6 - pub fn fit_write_u8(context: &mut FitFileContext, writer: &mut Write, byte: u8) -> Result<(), std::io::Error> { [INFO] [stdout] 6 + pub fn fit_write_u8(context: &mut FitFileContext, writer: &mut dyn Write, byte: u8) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:12:64 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn fit_write_i8(context: &mut FitFileContext, writer: &mut Write, byte: i8) -> Result<(), std::io::Error> { [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] 12 - pub fn fit_write_i8(context: &mut FitFileContext, writer: &mut Write, byte: i8) -> Result<(), std::io::Error> { [INFO] [stdout] 12 + pub fn fit_write_i8(context: &mut FitFileContext, writer: &mut dyn Write, byte: i8) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn fit_write_u16(context: &mut FitFileContext, writer: &mut Write, v: u16) -> Result<(), std::io::Error> { [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] 17 - pub fn fit_write_u16(context: &mut FitFileContext, writer: &mut Write, v: u16) -> Result<(), std::io::Error> { [INFO] [stdout] 17 + pub fn fit_write_u16(context: &mut FitFileContext, writer: &mut dyn Write, v: u16) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:27:65 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn fit_write_i16(context: &mut FitFileContext, writer: &mut Write, v: i16) -> Result<(), std::io::Error> { [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] 27 - pub fn fit_write_i16(context: &mut FitFileContext, writer: &mut Write, v: i16) -> Result<(), std::io::Error> { [INFO] [stdout] 27 + pub fn fit_write_i16(context: &mut FitFileContext, writer: &mut dyn Write, v: i16) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:37:65 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn fit_write_u32(context: &mut FitFileContext, writer: &mut Write, v: u32) -> Result<(), std::io::Error> { [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] 37 - pub fn fit_write_u32(context: &mut FitFileContext, writer: &mut Write, v: u32) -> Result<(), std::io::Error> { [INFO] [stdout] 37 + pub fn fit_write_u32(context: &mut FitFileContext, writer: &mut dyn Write, v: u32) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:47:65 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn fit_write_i32(context: &mut FitFileContext, writer: &mut Write, v: i32) -> Result<(), std::io::Error> { [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] 47 - pub fn fit_write_i32(context: &mut FitFileContext, writer: &mut Write, v: i32) -> Result<(), std::io::Error> { [INFO] [stdout] 47 + pub fn fit_write_i32(context: &mut FitFileContext, writer: &mut dyn Write, v: i32) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:57:65 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn fit_write_u64(context: &mut FitFileContext, writer: &mut Write, v: u64) -> Result<(), std::io::Error> { [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] 57 - pub fn fit_write_u64(context: &mut FitFileContext, writer: &mut Write, v: u64) -> Result<(), std::io::Error> { [INFO] [stdout] 57 + pub fn fit_write_u64(context: &mut FitFileContext, writer: &mut dyn Write, v: u64) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:67:65 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn fit_write_i64(context: &mut FitFileContext, writer: &mut Write, v: i64) -> Result<(), std::io::Error> { [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] 67 - pub fn fit_write_i64(context: &mut FitFileContext, writer: &mut Write, v: i64) -> Result<(), std::io::Error> { [INFO] [stdout] 67 + pub fn fit_write_i64(context: &mut FitFileContext, writer: &mut dyn Write, v: i64) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:77:65 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn fit_write_f32(context: &mut FitFileContext, writer: &mut Write, v: f32) -> Result<(), std::io::Error> { [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] 77 - pub fn fit_write_f32(context: &mut FitFileContext, writer: &mut Write, v: f32) -> Result<(), std::io::Error> { [INFO] [stdout] 77 + pub fn fit_write_f32(context: &mut FitFileContext, writer: &mut dyn Write, v: f32) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:87:65 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn fit_write_f64(context: &mut FitFileContext, writer: &mut Write, v: f64) -> Result<(), std::io::Error> { [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] 87 - pub fn fit_write_f64(context: &mut FitFileContext, writer: &mut Write, v: f64) -> Result<(), std::io::Error> { [INFO] [stdout] 87 + pub fn fit_write_f64(context: &mut FitFileContext, writer: &mut dyn Write, v: f64) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitwrite.rs:97:68 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn fit_write_string(context: &mut FitFileContext, writer: &mut Write, v: &str, width: &u8) -> Result<(), std::io::Error> { [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] 97 - pub fn fit_write_string(context: &mut FitFileContext, writer: &mut Write, v: &str, width: &u8) -> Result<(), std::io::Error> { [INFO] [stdout] 97 + pub fn fit_write_string(context: &mut FitFileContext, writer: &mut dyn Write, v: &str, width: &u8) -> Result<(), std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitheader.rs:14:70 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read_global_header(context: &mut FitFileContext, reader: &mut Read) -> std::io::Result< FitFileHeader > { [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] 14 - pub fn read_global_header(context: &mut FitFileContext, reader: &mut Read) -> std::io::Result< FitFileHeader > { [INFO] [stdout] 14 + pub fn read_global_header(context: &mut FitFileContext, reader: &mut dyn Read) -> std::io::Result< FitFileHeader > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitheader.rs:65:71 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn write_global_header(context: &mut FitFileContext, writer: &mut Write, header: &FitFileHeader) [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] 65 - pub fn write_global_header(context: &mut FitFileContext, writer: &mut Write, header: &FitFileHeader) [INFO] [stdout] 65 + pub fn write_global_header(context: &mut FitFileContext, writer: &mut dyn Write, header: &FitFileHeader) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdefnmesg.rs:15:64 [INFO] [stdout] | [INFO] [stdout] 15 | fn read_field_defn( context: &mut FitFileContext, reader: &mut Read) [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] 15 - fn read_field_defn( context: &mut FitFileContext, reader: &mut Read) [INFO] [stdout] 15 + fn read_field_defn( context: &mut FitFileContext, reader: &mut dyn Read) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdefnmesg.rs:42:65 [INFO] [stdout] | [INFO] [stdout] 42 | fn write_field_defn( context: &mut FitFileContext, writer: &mut Write, field_defn: &FitFieldDefinition ) [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] 42 - fn write_field_defn( context: &mut FitFileContext, writer: &mut Write, field_defn: &FitFieldDefinition ) [INFO] [stdout] 42 + fn write_field_defn( context: &mut FitFileContext, writer: &mut dyn Write, field_defn: &FitFieldDefinition ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdefnmesg.rs:57:68 [INFO] [stdout] | [INFO] [stdout] 57 | fn read_dev_field_defn( context: &mut FitFileContext, reader: &mut Read) [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] 57 - fn read_dev_field_defn( context: &mut FitFileContext, reader: &mut Read) [INFO] [stdout] 57 + fn read_dev_field_defn( context: &mut FitFileContext, reader: &mut dyn Read) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdefnmesg.rs:70:69 [INFO] [stdout] | [INFO] [stdout] 70 | fn write_dev_field_defn( context: &mut FitFileContext, writer: &mut Write, field_defn: &FitDeveloperFieldDefinition ) [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] 70 - fn write_dev_field_defn( context: &mut FitFileContext, writer: &mut Write, field_defn: &FitDeveloperFieldDefinition ) [INFO] [stdout] 70 + fn write_dev_field_defn( context: &mut FitFileContext, writer: &mut dyn Write, field_defn: &FitDeveloperFieldDefinition ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdefnmesg.rs:79:76 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn read_definition_message( context: &mut FitFileContext, reader: &mut Read, [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] 79 - pub fn read_definition_message( context: &mut FitFileContext, reader: &mut Read, [INFO] [stdout] 79 + pub fn read_definition_message( context: &mut FitFileContext, reader: &mut dyn Read, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdefnmesg.rs:120:77 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn write_definition_message( context: &mut FitFileContext, writer: &mut Write, defn_mesg: &FitDefinitionMessage) [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] 120 - pub fn write_definition_message( context: &mut FitFileContext, writer: &mut Write, defn_mesg: &FitDefinitionMessage) [INFO] [stdout] 120 + pub fn write_definition_message( context: &mut FitFileContext, writer: &mut dyn Write, defn_mesg: &FitDefinitionMessage) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdatamesg.rs:13:70 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn read_data_message( context: &mut FitFileContext, reader: &mut Read, [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] 13 - pub fn read_data_message( context: &mut FitFileContext, reader: &mut Read, [INFO] [stdout] 13 + pub fn read_data_message( context: &mut FitFileContext, reader: &mut dyn Read, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitdatamesg.rs:195:71 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn write_data_message( context: &mut FitFileContext, writer: &mut Write, mesg: &FitDataMessage) [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] 195 - pub fn write_data_message( context: &mut FitFileContext, writer: &mut Write, mesg: &FitDataMessage) [INFO] [stdout] 195 + pub fn write_data_message( context: &mut FitFileContext, writer: &mut dyn Write, mesg: &FitDataMessage) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitfile.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn read_file_read(source: &mut Read) -> std::io::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] 116 - pub fn read_file_read(source: &mut Read) -> std::io::Result { [INFO] [stdout] 116 + pub fn read_file_read(source: &mut dyn Read) -> std::io::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitrecord.rs:319:63 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn read_record(context: &mut FitFileContext, reader: &mut Read) -> Result< FitRecord, std::io::Error> { [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] 319 - pub fn read_record(context: &mut FitFileContext, reader: &mut Read) -> Result< FitRecord, std::io::Error> { [INFO] [stdout] 319 + pub fn read_record(context: &mut FitFileContext, reader: &mut dyn Read) -> Result< FitRecord, std::io::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitrecord.rs:363:64 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn write_record(context: &mut FitFileContext, writer: &mut Write, rec: &FitRecord) [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] 363 - pub fn write_record(context: &mut FitFileContext, writer: &mut Write, rec: &FitRecord) [INFO] [stdout] 363 + pub fn write_record(context: &mut FitFileContext, writer: &mut dyn Write, rec: &FitRecord) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitfield.rs:11:67 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn read_fit_field( context: &mut FitFileContext, reader: &mut Read, [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] 11 - pub fn read_fit_field( context: &mut FitFileContext, reader: &mut Read, [INFO] [stdout] 11 + pub fn read_fit_field( context: &mut FitFileContext, reader: &mut dyn Read, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fitfield.rs:136:67 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn write_fit_field(context: &mut FitFileContext, writer: &mut Write, field: &FitFieldData) [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] 136 - pub fn write_fit_field(context: &mut FitFileContext, writer: &mut Write, field: &FitFieldData) [INFO] [stdout] 136 + pub fn write_fit_field(context: &mut FitFileContext, writer: &mut dyn Write, field: &FitFieldData) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `source` [INFO] [stdout] --> src/fitfile.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn source(&self) -> &R {&self.source} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.45s [INFO] running `Command { std: "docker" "inspect" "5a4d5799bd0cf48858730d00b3e77a1f2cb9588fcb5c2ea4a9a8116f9560e051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a4d5799bd0cf48858730d00b3e77a1f2cb9588fcb5c2ea4a9a8116f9560e051", kill_on_drop: false }` [INFO] [stdout] 5a4d5799bd0cf48858730d00b3e77a1f2cb9588fcb5c2ea4a9a8116f9560e051 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 90de407b47a3b266613cb8916ffb847b79ff41b21661cc8a0f9e6308f4893df7 [INFO] running `Command { std: "docker" "start" "-a" "90de407b47a3b266613cb8916ffb847b79ff41b21661cc8a0f9e6308f4893df7", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/fitfile.rs:55:16 [INFO] [stderr] | [INFO] [stderr] 55 | if (file_crc == computed_crc) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 55 - if (file_crc == computed_crc) { [INFO] [stderr] 55 + if file_crc == computed_crc { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitread.rs:7:63 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn fit_read_u8(context: &mut FitFileContext, reader: &mut Read) -> Result { [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] 7 - pub fn fit_read_u8(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stderr] 7 + pub fn fit_read_u8(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitread.rs:15:63 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn fit_read_i8(context: &mut FitFileContext, reader: &mut Read) -> 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] 15 - pub fn fit_read_i8(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stderr] 15 + pub fn fit_read_i8(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitread.rs:22:64 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn fit_read_u16(context: &mut FitFileContext, reader: &mut Read) -> 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] 22 - pub fn fit_read_u16(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stderr] 22 + pub fn fit_read_u16(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitread.rs:39:64 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn fit_read_i16(context: &mut FitFileContext, reader: &mut Read) -> 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] 39 - pub fn fit_read_i16(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stderr] 39 + pub fn fit_read_i16(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitread.rs:55:64 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn fit_read_u32(context: &mut FitFileContext, reader: &mut Read) -> 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] 55 - pub fn fit_read_u32(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stderr] 55 + pub fn fit_read_u32(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitread.rs:71:64 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn fit_read_i32(context: &mut FitFileContext, reader: &mut Read) -> 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] 71 - pub fn fit_read_i32(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stderr] 71 + pub fn fit_read_i32(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitread.rs:87:64 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn fit_read_u64(context: &mut FitFileContext, reader: &mut Read) -> 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] 87 - pub fn fit_read_u64(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stderr] 87 + pub fn fit_read_u64(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitread.rs:105:64 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn fit_read_i64(context: &mut FitFileContext, reader: &mut Read) -> 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] 105 - pub fn fit_read_i64(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stderr] 105 + pub fn fit_read_i64(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitread.rs:121:64 [INFO] [stderr] | [INFO] [stderr] 121 | pub fn fit_read_f32(context: &mut FitFileContext, reader: &mut Read) -> 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] 121 - pub fn fit_read_f32(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stderr] 121 + pub fn fit_read_f32(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitread.rs:137:64 [INFO] [stderr] | [INFO] [stderr] 137 | pub fn fit_read_f64(context: &mut FitFileContext, reader: &mut Read) -> 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] 137 - pub fn fit_read_f64(context: &mut FitFileContext, reader: &mut Read) -> Result { [INFO] [stderr] 137 + pub fn fit_read_f64(context: &mut FitFileContext, reader: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitread.rs:155:67 [INFO] [stderr] | [INFO] [stderr] 155 | pub fn fit_read_string(context: &mut FitFileContext, reader: &mut Read, width: &u8) -> 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] 155 - pub fn fit_read_string(context: &mut FitFileContext, reader: &mut Read, width: &u8) -> Result { [INFO] [stderr] 155 + pub fn fit_read_string(context: &mut FitFileContext, reader: &mut dyn Read, width: &u8) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitwrite.rs:6:64 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn fit_write_u8(context: &mut FitFileContext, writer: &mut Write, byte: u8) -> Result<(), std::io::Error> { [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] 6 - pub fn fit_write_u8(context: &mut FitFileContext, writer: &mut Write, byte: u8) -> Result<(), std::io::Error> { [INFO] [stderr] 6 + pub fn fit_write_u8(context: &mut FitFileContext, writer: &mut dyn Write, byte: u8) -> Result<(), std::io::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitwrite.rs:12:64 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn fit_write_i8(context: &mut FitFileContext, writer: &mut Write, byte: i8) -> Result<(), std::io::Error> { [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] 12 - pub fn fit_write_i8(context: &mut FitFileContext, writer: &mut Write, byte: i8) -> Result<(), std::io::Error> { [INFO] [stderr] 12 + pub fn fit_write_i8(context: &mut FitFileContext, writer: &mut dyn Write, byte: i8) -> Result<(), std::io::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitwrite.rs:17:65 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn fit_write_u16(context: &mut FitFileContext, writer: &mut Write, v: u16) -> Result<(), std::io::Error> { [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] 17 - pub fn fit_write_u16(context: &mut FitFileContext, writer: &mut Write, v: u16) -> Result<(), std::io::Error> { [INFO] [stderr] 17 + pub fn fit_write_u16(context: &mut FitFileContext, writer: &mut dyn Write, v: u16) -> Result<(), std::io::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitwrite.rs:27:65 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn fit_write_i16(context: &mut FitFileContext, writer: &mut Write, v: i16) -> Result<(), std::io::Error> { [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] 27 - pub fn fit_write_i16(context: &mut FitFileContext, writer: &mut Write, v: i16) -> Result<(), std::io::Error> { [INFO] [stderr] 27 + pub fn fit_write_i16(context: &mut FitFileContext, writer: &mut dyn Write, v: i16) -> Result<(), std::io::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitwrite.rs:37:65 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn fit_write_u32(context: &mut FitFileContext, writer: &mut Write, v: u32) -> Result<(), std::io::Error> { [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] 37 - pub fn fit_write_u32(context: &mut FitFileContext, writer: &mut Write, v: u32) -> Result<(), std::io::Error> { [INFO] [stderr] 37 + pub fn fit_write_u32(context: &mut FitFileContext, writer: &mut dyn Write, v: u32) -> Result<(), std::io::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitwrite.rs:47:65 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn fit_write_i32(context: &mut FitFileContext, writer: &mut Write, v: i32) -> Result<(), std::io::Error> { [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] 47 - pub fn fit_write_i32(context: &mut FitFileContext, writer: &mut Write, v: i32) -> Result<(), std::io::Error> { [INFO] [stderr] 47 + pub fn fit_write_i32(context: &mut FitFileContext, writer: &mut dyn Write, v: i32) -> Result<(), std::io::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitwrite.rs:57:65 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn fit_write_u64(context: &mut FitFileContext, writer: &mut Write, v: u64) -> Result<(), std::io::Error> { [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] 57 - pub fn fit_write_u64(context: &mut FitFileContext, writer: &mut Write, v: u64) -> Result<(), std::io::Error> { [INFO] [stderr] 57 + pub fn fit_write_u64(context: &mut FitFileContext, writer: &mut dyn Write, v: u64) -> Result<(), std::io::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitwrite.rs:67:65 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn fit_write_i64(context: &mut FitFileContext, writer: &mut Write, v: i64) -> Result<(), std::io::Error> { [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] 67 - pub fn fit_write_i64(context: &mut FitFileContext, writer: &mut Write, v: i64) -> Result<(), std::io::Error> { [INFO] [stderr] 67 + pub fn fit_write_i64(context: &mut FitFileContext, writer: &mut dyn Write, v: i64) -> Result<(), std::io::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitwrite.rs:77:65 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn fit_write_f32(context: &mut FitFileContext, writer: &mut Write, v: f32) -> Result<(), std::io::Error> { [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] 77 - pub fn fit_write_f32(context: &mut FitFileContext, writer: &mut Write, v: f32) -> Result<(), std::io::Error> { [INFO] [stderr] 77 + pub fn fit_write_f32(context: &mut FitFileContext, writer: &mut dyn Write, v: f32) -> Result<(), std::io::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitwrite.rs:87:65 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn fit_write_f64(context: &mut FitFileContext, writer: &mut Write, v: f64) -> Result<(), std::io::Error> { [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] 87 - pub fn fit_write_f64(context: &mut FitFileContext, writer: &mut Write, v: f64) -> Result<(), std::io::Error> { [INFO] [stderr] 87 + pub fn fit_write_f64(context: &mut FitFileContext, writer: &mut dyn Write, v: f64) -> Result<(), std::io::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitwrite.rs:97:68 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn fit_write_string(context: &mut FitFileContext, writer: &mut Write, v: &str, width: &u8) -> Result<(), std::io::Error> { [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] 97 - pub fn fit_write_string(context: &mut FitFileContext, writer: &mut Write, v: &str, width: &u8) -> Result<(), std::io::Error> { [INFO] [stderr] 97 + pub fn fit_write_string(context: &mut FitFileContext, writer: &mut dyn Write, v: &str, width: &u8) -> Result<(), std::io::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitheader.rs:14:70 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn read_global_header(context: &mut FitFileContext, reader: &mut Read) -> std::io::Result< FitFileHeader > { [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] 14 - pub fn read_global_header(context: &mut FitFileContext, reader: &mut Read) -> std::io::Result< FitFileHeader > { [INFO] [stderr] 14 + pub fn read_global_header(context: &mut FitFileContext, reader: &mut dyn Read) -> std::io::Result< FitFileHeader > { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitheader.rs:65:71 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn write_global_header(context: &mut FitFileContext, writer: &mut Write, header: &FitFileHeader) [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] 65 - pub fn write_global_header(context: &mut FitFileContext, writer: &mut Write, header: &FitFileHeader) [INFO] [stderr] 65 + pub fn write_global_header(context: &mut FitFileContext, writer: &mut dyn Write, header: &FitFileHeader) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitdefnmesg.rs:15:64 [INFO] [stderr] | [INFO] [stderr] 15 | fn read_field_defn( context: &mut FitFileContext, reader: &mut Read) [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] 15 - fn read_field_defn( context: &mut FitFileContext, reader: &mut Read) [INFO] [stderr] 15 + fn read_field_defn( context: &mut FitFileContext, reader: &mut dyn Read) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitdefnmesg.rs:42:65 [INFO] [stderr] | [INFO] [stderr] 42 | fn write_field_defn( context: &mut FitFileContext, writer: &mut Write, field_defn: &FitFieldDefinition ) [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] 42 - fn write_field_defn( context: &mut FitFileContext, writer: &mut Write, field_defn: &FitFieldDefinition ) [INFO] [stderr] 42 + fn write_field_defn( context: &mut FitFileContext, writer: &mut dyn Write, field_defn: &FitFieldDefinition ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitdefnmesg.rs:57:68 [INFO] [stderr] | [INFO] [stderr] 57 | fn read_dev_field_defn( context: &mut FitFileContext, reader: &mut Read) [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] 57 - fn read_dev_field_defn( context: &mut FitFileContext, reader: &mut Read) [INFO] [stderr] 57 + fn read_dev_field_defn( context: &mut FitFileContext, reader: &mut dyn Read) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitdefnmesg.rs:70:69 [INFO] [stderr] | [INFO] [stderr] 70 | fn write_dev_field_defn( context: &mut FitFileContext, writer: &mut Write, field_defn: &FitDeveloperFieldDefinition ) [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] 70 - fn write_dev_field_defn( context: &mut FitFileContext, writer: &mut Write, field_defn: &FitDeveloperFieldDefinition ) [INFO] [stderr] 70 + fn write_dev_field_defn( context: &mut FitFileContext, writer: &mut dyn Write, field_defn: &FitDeveloperFieldDefinition ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitdefnmesg.rs:79:76 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn read_definition_message( context: &mut FitFileContext, reader: &mut Read, [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] 79 - pub fn read_definition_message( context: &mut FitFileContext, reader: &mut Read, [INFO] [stderr] 79 + pub fn read_definition_message( context: &mut FitFileContext, reader: &mut dyn Read, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitdefnmesg.rs:120:77 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn write_definition_message( context: &mut FitFileContext, writer: &mut Write, defn_mesg: &FitDefinitionMessage) [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] 120 - pub fn write_definition_message( context: &mut FitFileContext, writer: &mut Write, defn_mesg: &FitDefinitionMessage) [INFO] [stderr] 120 + pub fn write_definition_message( context: &mut FitFileContext, writer: &mut dyn Write, defn_mesg: &FitDefinitionMessage) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitdatamesg.rs:13:70 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn read_data_message( context: &mut FitFileContext, reader: &mut Read, [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] 13 - pub fn read_data_message( context: &mut FitFileContext, reader: &mut Read, [INFO] [stderr] 13 + pub fn read_data_message( context: &mut FitFileContext, reader: &mut dyn Read, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitdatamesg.rs:195:71 [INFO] [stderr] | [INFO] [stderr] 195 | pub fn write_data_message( context: &mut FitFileContext, writer: &mut Write, mesg: &FitDataMessage) [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] 195 - pub fn write_data_message( context: &mut FitFileContext, writer: &mut Write, mesg: &FitDataMessage) [INFO] [stderr] 195 + pub fn write_data_message( context: &mut FitFileContext, writer: &mut dyn Write, mesg: &FitDataMessage) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitfile.rs:116:36 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn read_file_read(source: &mut Read) -> std::io::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] 116 - pub fn read_file_read(source: &mut Read) -> std::io::Result { [INFO] [stderr] 116 + pub fn read_file_read(source: &mut dyn Read) -> std::io::Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitrecord.rs:319:63 [INFO] [stderr] | [INFO] [stderr] 319 | pub fn read_record(context: &mut FitFileContext, reader: &mut Read) -> Result< FitRecord, std::io::Error> { [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] 319 - pub fn read_record(context: &mut FitFileContext, reader: &mut Read) -> Result< FitRecord, std::io::Error> { [INFO] [stderr] 319 + pub fn read_record(context: &mut FitFileContext, reader: &mut dyn Read) -> Result< FitRecord, std::io::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitrecord.rs:363:64 [INFO] [stderr] | [INFO] [stderr] 363 | pub fn write_record(context: &mut FitFileContext, writer: &mut Write, rec: &FitRecord) [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] 363 - pub fn write_record(context: &mut FitFileContext, writer: &mut Write, rec: &FitRecord) [INFO] [stderr] 363 + pub fn write_record(context: &mut FitFileContext, writer: &mut dyn Write, rec: &FitRecord) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitfield.rs:11:67 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn read_fit_field( context: &mut FitFileContext, reader: &mut Read, [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] 11 - pub fn read_fit_field( context: &mut FitFileContext, reader: &mut Read, [INFO] [stderr] 11 + pub fn read_fit_field( context: &mut FitFileContext, reader: &mut dyn Read, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fitfield.rs:136:67 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn write_fit_field(context: &mut FitFileContext, writer: &mut Write, field: &FitFieldData) [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] 136 - pub fn write_fit_field(context: &mut FitFileContext, writer: &mut Write, field: &FitFieldData) [INFO] [stderr] 136 + pub fn write_fit_field(context: &mut FitFileContext, writer: &mut dyn Write, field: &FitFieldData) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `FitFileReader` [INFO] [stderr] --> src/fitfile.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | struct FitFileReader { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/fitfile.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn new(source: R) -> FitFileReader { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `read_global_header` [INFO] [stderr] --> src/fitfile.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn read_global_header(&mut self) -> std::io::Result< FitFileHeader > { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `read_next` [INFO] [stderr] --> src/fitfile.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn read_next(&mut self) -> std::io::Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `source` [INFO] [stderr] --> src/fitfile.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn source(&self) -> &R {&self.source} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `FitFileWriter` [INFO] [stderr] --> src/fitfile.rs:67:8 [INFO] [stderr] | [INFO] [stderr] 67 | struct FitFileWriter { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/fitfile.rs:74:12 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn new(target: W) -> FitFileWriter { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `write_global_header` [INFO] [stderr] --> src/fitfile.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn write_global_header(&mut self, header: &FitFileHeader) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `write_next` [INFO] [stderr] --> src/fitfile.rs:86:12 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn write_next(&mut self, rec: &FitRecord) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `finalize` [INFO] [stderr] --> src/fitfile.rs:90:12 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn finalize(&mut self) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `target` [INFO] [stderr] --> src/fitfile.rs:105:12 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn target(&self) -> &W {&self.target} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `source` [INFO] [stderr] --> src/fitfile.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn source(&self) -> &R {&self.source} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `fit_reader` (lib) generated 49 warnings [INFO] [stderr] warning: `fit_reader` (lib test) generated 39 warnings (38 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fit_reader-8464638adf89f32d) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test fitcrc::tests::test_crc ... ok [INFO] [stdout] test fitfile::tests::test_read_settings ... ok [INFO] [stdout] test fitfile::tests::test_read_write ... ok [INFO] [stdout] test fitfile::tests::test_dump_developer_data ... ok [INFO] [stdout] test profile::tests::test_message_lookup ... ok [INFO] [stdout] test profile::tests::test_build ... ok [INFO] [stdout] test fitfile::tests::test_dump_settings ... ok [INFO] [stdout] test fitfile::tests::test_dump_activity ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fit_reader-20db15cf8dd4ea77) [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 fit_reader [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> /opt/rustwide/workdir/src/fitfile.rs:55:16 [INFO] [stderr] | [INFO] [stderr] 55 | if (file_crc == computed_crc) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 55 - if (file_crc == computed_crc) { [INFO] [stderr] 55 + if file_crc == computed_crc { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [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" "90de407b47a3b266613cb8916ffb847b79ff41b21661cc8a0f9e6308f4893df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90de407b47a3b266613cb8916ffb847b79ff41b21661cc8a0f9e6308f4893df7", kill_on_drop: false }` [INFO] [stdout] 90de407b47a3b266613cb8916ffb847b79ff41b21661cc8a0f9e6308f4893df7