[INFO] cloning repository https://github.com/segfo/qrcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/segfo/qrcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegfo%2Fqrcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegfo%2Fqrcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffb9a41e9c31e5a97bb0b329e57758914e79b68f [INFO] checking segfo/qrcode against try#378b6a8a384b3bd0818af5f1745e5747a98bff7b for pr-95819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegfo%2Fqrcode" "/workspace/builds/worker-64/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-64/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/segfo/qrcode on toolchain 378b6a8a384b3bd0818af5f1745e5747a98bff7b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+378b6a8a384b3bd0818af5f1745e5747a98bff7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/segfo/qrcode [INFO] finished tweaking git repo https://github.com/segfo/qrcode [INFO] tweaked toml for git repo https://github.com/segfo/qrcode written to /workspace/builds/worker-64/source/Cargo.toml [INFO] crate git repo https://github.com/segfo/qrcode already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+378b6a8a384b3bd0818af5f1745e5747a98bff7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/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" "+378b6a8a384b3bd0818af5f1745e5747a98bff7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a8ce5c5124d10c37344805ba5ee4f776fc7da0791aa2b03adc879e1459a3509 [INFO] running `Command { std: "docker" "start" "-a" "5a8ce5c5124d10c37344805ba5ee4f776fc7da0791aa2b03adc879e1459a3509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a8ce5c5124d10c37344805ba5ee4f776fc7da0791aa2b03adc879e1459a3509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a8ce5c5124d10c37344805ba5ee4f776fc7da0791aa2b03adc879e1459a3509", kill_on_drop: false }` [INFO] [stdout] 5a8ce5c5124d10c37344805ba5ee4f776fc7da0791aa2b03adc879e1459a3509 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-64/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+378b6a8a384b3bd0818af5f1745e5747a98bff7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cb83c7ada8e9e56e0e6695fd0922cd4ddc92530afb1aae0695dae27c2a2e7cd [INFO] running `Command { std: "docker" "start" "-a" "3cb83c7ada8e9e56e0e6695fd0922cd4ddc92530afb1aae0695dae27c2a2e7cd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking qrcodegen v1.4.0 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking qrcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data_type.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | 0x20...0x2f|0x3a...0x40|0x5b...0x60|0x7b...0x7e=>num+=1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data_type.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | 0x20...0x2f|0x3a...0x40|0x5b...0x60|0x7b...0x7e=>num+=1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data_type.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | 0x20...0x2f|0x3a...0x40|0x5b...0x60|0x7b...0x7e=>num+=1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data_type.rs:88:57 [INFO] [stdout] | [INFO] [stdout] 88 | 0x20...0x2f|0x3a...0x40|0x5b...0x60|0x7b...0x7e=>num+=1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data_type.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | 0x30...0x39 =>{ [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data_type.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | 0x41...0x5a|0x61...0x7a=>{ [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data_type.rs:92:33 [INFO] [stdout] | [INFO] [stdout] 92 | 0x41...0x5a|0x61...0x7a=>{ [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/data_type.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::*` [INFO] [stdout] --> src/data_type.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | use std::io::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `input` [INFO] [stdout] --> src/data_type.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | macro_rules! input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `input_inner` [INFO] [stdout] --> src/data_type.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | macro_rules! input_inner { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `read_value` [INFO] [stdout] --> src/data_type.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | macro_rules! read_value { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data_type.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | 0x20...0x2f|0x3a...0x40|0x5b...0x60|0x7b...0x7e=>num+=1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data_type.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | 0x20...0x2f|0x3a...0x40|0x5b...0x60|0x7b...0x7e=>num+=1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data_type.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | 0x20...0x2f|0x3a...0x40|0x5b...0x60|0x7b...0x7e=>num+=1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data_type.rs:88:57 [INFO] [stdout] | [INFO] [stdout] 88 | 0x20...0x2f|0x3a...0x40|0x5b...0x60|0x7b...0x7e=>num+=1, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data_type.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | 0x30...0x39 =>{ [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data_type.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | 0x41...0x5a|0x61...0x7a=>{ [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/data_type.rs:92:33 [INFO] [stdout] | [INFO] [stdout] 92 | 0x41...0x5a|0x61...0x7a=>{ [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/data_type.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::*` [INFO] [stdout] --> src/data_type.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | use std::io::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `input` [INFO] [stdout] --> src/data_type.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | macro_rules! input { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `input_inner` [INFO] [stdout] --> src/data_type.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | macro_rules! input_inner { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `read_value` [INFO] [stdout] --> src/data_type.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | macro_rules! read_value { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `data_type` [INFO] [stdout] --> src/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use data_type; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `data_type::*` [INFO] [stdout] --> src/test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use data_type::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | fn text2qr(data:&str) -> std::result::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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn text2qr(data:&str) -> std::result::Result> { [INFO] [stdout] 49 + fn text2qr(data:&str) -> std::result::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:54:60 [INFO] [stdout] | [INFO] [stdout] 54 | fn binary2qr(data:&[u8]) -> std::result::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - fn binary2qr(data:&[u8]) -> std::result::Result> { [INFO] [stdout] 54 + fn binary2qr(data:&[u8]) -> std::result::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:59:72 [INFO] [stdout] | [INFO] [stdout] 59 | fn data2qr(data:&[u8],kind:DataKind) -> std::result::Result>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - fn data2qr(data:&[u8],kind:DataKind) -> std::result::Result>{ [INFO] [stdout] 59 + fn data2qr(data:&[u8],kind:DataKind) -> std::result::Result>{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:67:71 [INFO] [stdout] | [INFO] [stdout] 67 | fn load_to_file(input_filename:&str)->std::result::Result,Box>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - fn load_to_file(input_filename:&str)->std::result::Result,Box>{ [INFO] [stdout] 67 + fn load_to_file(input_filename:&str)->std::result::Result,Box>{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | fn text2qr(data:&str) -> std::result::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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn text2qr(data:&str) -> std::result::Result> { [INFO] [stdout] 49 + fn text2qr(data:&str) -> std::result::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:54:60 [INFO] [stdout] | [INFO] [stdout] 54 | fn binary2qr(data:&[u8]) -> std::result::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - fn binary2qr(data:&[u8]) -> std::result::Result> { [INFO] [stdout] 54 + fn binary2qr(data:&[u8]) -> std::result::Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:59:72 [INFO] [stdout] | [INFO] [stdout] 59 | fn data2qr(data:&[u8],kind:DataKind) -> std::result::Result>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - fn data2qr(data:&[u8],kind:DataKind) -> std::result::Result>{ [INFO] [stdout] 59 + fn data2qr(data:&[u8],kind:DataKind) -> std::result::Result>{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:67:71 [INFO] [stdout] | [INFO] [stdout] 67 | fn load_to_file(input_filename:&str)->std::result::Result,Box>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - fn load_to_file(input_filename:&str)->std::result::Result,Box>{ [INFO] [stdout] 67 + fn load_to_file(input_filename:&str)->std::result::Result,Box>{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.75s [INFO] running `Command { std: "docker" "inspect" "3cb83c7ada8e9e56e0e6695fd0922cd4ddc92530afb1aae0695dae27c2a2e7cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb83c7ada8e9e56e0e6695fd0922cd4ddc92530afb1aae0695dae27c2a2e7cd", kill_on_drop: false }` [INFO] [stdout] 3cb83c7ada8e9e56e0e6695fd0922cd4ddc92530afb1aae0695dae27c2a2e7cd