[INFO] cloning repository https://github.com/sakateka/conv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sakateka/conv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsakateka%2Fconv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsakateka%2Fconv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d5eda661b5e2792b4cb4a27faa933c1a0a79956b [INFO] checking sakateka/conv against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsakateka%2Fconv" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sakateka/conv on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sakateka/conv [INFO] finished tweaking git repo https://github.com/sakateka/conv [INFO] tweaked toml for git repo https://github.com/sakateka/conv written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sakateka/conv already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vec_map v0.8.0 [INFO] [stderr] Downloaded atty v0.2.6 [INFO] [stderr] Downloaded ansi_term v0.10.2 [INFO] [stderr] Downloaded byteorder v1.2.1 [INFO] [stderr] Downloaded clap v2.29.2 [INFO] [stderr] Downloaded libc v0.2.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c57801e424f6351f68e2aed1040bc0822eef252b55c25c693b3456f0f0a3b86 [INFO] running `Command { std: "docker" "start" "-a" "8c57801e424f6351f68e2aed1040bc0822eef252b55c25c693b3456f0f0a3b86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c57801e424f6351f68e2aed1040bc0822eef252b55c25c693b3456f0f0a3b86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c57801e424f6351f68e2aed1040bc0822eef252b55c25c693b3456f0f0a3b86", kill_on_drop: false }` [INFO] [stdout] 8c57801e424f6351f68e2aed1040bc0822eef252b55c25c693b3456f0f0a3b86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bedfb8e0c6e5f886e15c4b073cdaa127512c1f174566bf3a962245a30f5f616 [INFO] running `Command { std: "docker" "start" "-a" "1bedfb8e0c6e5f886e15c4b073cdaa127512c1f174566bf3a962245a30f5f616", kill_on_drop: false }` [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Compiling conv v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking clap v2.29.2 [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:274:33 [INFO] [stdout] | [INFO] [stdout] 274 | "UTF8" => Box::new(move |_x| {{ None /* unreachable */ }}), [INFO] [stdout] | ^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 274 - "UTF8" => Box::new(move |_x| {{ None /* unreachable */ }}), [INFO] [stdout] 274 + "UTF8" => Box::new(move |_x| {None}), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:285:32 [INFO] [stdout] | [INFO] [stdout] 285 | "UTF8" => Box::new(move |x| {{ x as u32 }}), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 285 - "UTF8" => Box::new(move |x| {{ x as u32 }}), [INFO] [stdout] 285 + "UTF8" => Box::new(move |x| {x as u32}), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:274:33 [INFO] [stdout] | [INFO] [stdout] 274 | "UTF8" => Box::new(move |_x| {{ None /* unreachable */ }}), [INFO] [stdout] | ^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 274 - "UTF8" => Box::new(move |_x| {{ None /* unreachable */ }}), [INFO] [stdout] 274 + "UTF8" => Box::new(move |_x| {None}), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:285:32 [INFO] [stdout] | [INFO] [stdout] 285 | "UTF8" => Box::new(move |x| {{ x as u32 }}), [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 285 - "UTF8" => Box::new(move |x| {{ x as u32 }}), [INFO] [stdout] 285 + "UTF8" => Box::new(move |x| {x as u32}), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / lazy_static! { [INFO] [stdout] 2 | | static ref CP1251_TO_UTF8: [u32;256] = [ [INFO] [stdout] 3 | | 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, [INFO] [stdout] 4 | | 0x0009, 0x000A, 0x000B, 0x000C, 0x000D, 0x000E, 0x000F, 0x0010, 0x0011, [INFO] [stdout] ... | [INFO] [stdout] 32 | | ]; [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / lazy_static! { [INFO] [stdout] 35 | | static ref UTF8_TO_CP1251: HashMap = [ [INFO] [stdout] 36 | | (0x0000, 0x00), (0x0001, 0x01), (0x0002, 0x02), (0x0003, 0x03), (0x0004, 0x04), [INFO] [stdout] 37 | | (0x0005, 0x05), (0x0006, 0x06), (0x0007, 0x07), (0x0008, 0x08), (0x0009, 0x09), [INFO] [stdout] ... | [INFO] [stdout] 88 | | ].iter().cloned().collect(); [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / lazy_static! { [INFO] [stdout] 91 | | static ref KOI8R_TO_UTF8: [u32;256] = [ [INFO] [stdout] 92 | | 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, [INFO] [stdout] 93 | | 0x0009, 0x000A, 0x000B, 0x000C, 0x000D, 0x000E, 0x000F, 0x0010, 0x0011, [INFO] [stdout] ... | [INFO] [stdout] 121 | | ]; [INFO] [stdout] 122 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | / lazy_static! { [INFO] [stdout] 124 | | static ref UTF8_TO_KOI8R: HashMap = [ [INFO] [stdout] 125 | | (0x0000, 0x00), (0x0001, 0x01), (0x0002, 0x02), (0x0003, 0x03), (0x0004, 0x04), [INFO] [stdout] 126 | | (0x0005, 0x05), (0x0006, 0x06), (0x0007, 0x07), (0x0008, 0x08), (0x0009, 0x09), [INFO] [stdout] ... | [INFO] [stdout] 177 | | ].iter().cloned().collect(); [INFO] [stdout] 178 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / lazy_static! { [INFO] [stdout] 2 | | static ref CP1251_TO_UTF8: [u32;256] = [ [INFO] [stdout] 3 | | 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, [INFO] [stdout] 4 | | 0x0009, 0x000A, 0x000B, 0x000C, 0x000D, 0x000E, 0x000F, 0x0010, 0x0011, [INFO] [stdout] ... | [INFO] [stdout] 32 | | ]; [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | / lazy_static! { [INFO] [stdout] 180 | | static ref CP866_TO_UTF8: [u32;256] = [ [INFO] [stdout] 181 | | 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, [INFO] [stdout] 182 | | 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, [INFO] [stdout] ... | [INFO] [stdout] 210 | | ]; [INFO] [stdout] 211 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | / lazy_static! { [INFO] [stdout] 35 | | static ref UTF8_TO_CP1251: HashMap = [ [INFO] [stdout] 36 | | (0x0000, 0x00), (0x0001, 0x01), (0x0002, 0x02), (0x0003, 0x03), (0x0004, 0x04), [INFO] [stdout] 37 | | (0x0005, 0x05), (0x0006, 0x06), (0x0007, 0x07), (0x0008, 0x08), (0x0009, 0x09), [INFO] [stdout] ... | [INFO] [stdout] 88 | | ].iter().cloned().collect(); [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | / lazy_static! { [INFO] [stdout] 213 | | static ref UTF8_TO_CP866: HashMap = [ [INFO] [stdout] 214 | | (0x0000, 0x00), (0x0001, 0x01), (0x0002, 0x02), (0x0003, 0x03), (0x0004, 0x04), [INFO] [stdout] 215 | | (0x0005, 0x05), (0x0006, 0x06), (0x0007, 0x07), (0x0008, 0x08), (0x0009, 0x09), [INFO] [stdout] ... | [INFO] [stdout] 266 | | ].iter().cloned().collect(); [INFO] [stdout] 267 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 290 | / lazy_static! { [INFO] [stdout] 291 | | pub static ref SUPPORTED_CODES: Vec<&'static str> = vec!["CP1251", "KOI8R", "CP866"]; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / lazy_static! { [INFO] [stdout] 91 | | static ref KOI8R_TO_UTF8: [u32;256] = [ [INFO] [stdout] 92 | | 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, [INFO] [stdout] 93 | | 0x0009, 0x000A, 0x000B, 0x000C, 0x000D, 0x000E, 0x000F, 0x0010, 0x0011, [INFO] [stdout] ... | [INFO] [stdout] 121 | | ]; [INFO] [stdout] 122 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/conv.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | mapper: Box u32>, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | mapper: Box u32>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/conv.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | mapper: Box Option<&'static u8>>, [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | mapper: Box Option<&'static u8>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | / lazy_static! { [INFO] [stdout] 124 | | static ref UTF8_TO_KOI8R: HashMap = [ [INFO] [stdout] 125 | | (0x0000, 0x00), (0x0001, 0x01), (0x0002, 0x02), (0x0003, 0x03), (0x0004, 0x04), [INFO] [stdout] 126 | | (0x0005, 0x05), (0x0006, 0x06), (0x0007, 0x07), (0x0008, 0x08), (0x0009, 0x09), [INFO] [stdout] ... | [INFO] [stdout] 177 | | ].iter().cloned().collect(); [INFO] [stdout] 178 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | / lazy_static! { [INFO] [stdout] 180 | | static ref CP866_TO_UTF8: [u32;256] = [ [INFO] [stdout] 181 | | 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, [INFO] [stdout] 182 | | 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, [INFO] [stdout] ... | [INFO] [stdout] 210 | | ]; [INFO] [stdout] 211 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:212:1 [INFO] [stdout] | [INFO] [stdout] 212 | / lazy_static! { [INFO] [stdout] 213 | | static ref UTF8_TO_CP866: HashMap = [ [INFO] [stdout] 214 | | (0x0000, 0x00), (0x0001, 0x01), (0x0002, 0x02), (0x0003, 0x03), (0x0004, 0x04), [INFO] [stdout] 215 | | (0x0005, 0x05), (0x0006, 0x06), (0x0007, 0x07), (0x0008, 0x08), (0x0009, 0x09), [INFO] [stdout] ... | [INFO] [stdout] 266 | | ].iter().cloned().collect(); [INFO] [stdout] 267 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 290 | / lazy_static! { [INFO] [stdout] 291 | | pub static ref SUPPORTED_CODES: Vec<&'static str> = vec!["CP1251", "KOI8R", "CP866"]; [INFO] [stdout] 292 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/conv.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | mapper: Box u32>, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | mapper: Box u32>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/conv.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | mapper: Box Option<&'static u8>>, [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | mapper: Box Option<&'static u8>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:269:36 [INFO] [stdout] | [INFO] [stdout] 269 | fn get_encode_map(to: &str) -> Box Option<&'static u8>> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 269 | fn get_encode_map(to: &str) -> Box Option<&'static u8>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:280:38 [INFO] [stdout] | [INFO] [stdout] 280 | fn get_decode_map(from: &str) -> Box u32> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 280 | fn get_decode_map(from: &str) -> Box u32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:269:36 [INFO] [stdout] | [INFO] [stdout] 269 | fn get_encode_map(to: &str) -> Box Option<&'static u8>> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 269 | fn get_encode_map(to: &str) -> Box Option<&'static u8>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/conv-7f432efd6ded6975/out/charmaps.rs:280:38 [INFO] [stdout] | [INFO] [stdout] 280 | fn get_decode_map(from: &str) -> Box u32> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 280 | fn get_decode_map(from: &str) -> Box u32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/args.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | App::new(format!("{} - Конвертер кодировок текста", name).as_ref()) [INFO] [stdout] | ^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `S` declared on the associated function `new` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 6 | App::new::<&T>(format!("{} - Конвертер кодировок текста", name).as_ref()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/args.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | App::new(format!("{} - Конвертер кодировок текста", name).as_ref()) [INFO] [stdout] | ^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `S` declared on the associated function `new` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 6 | App::new::<&T>(format!("{} - Конвертер кодировок текста", name).as_ref()) [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `conv` (bin "conv") due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `conv` (bin "conv" test) due to 2 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1bedfb8e0c6e5f886e15c4b073cdaa127512c1f174566bf3a962245a30f5f616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bedfb8e0c6e5f886e15c4b073cdaa127512c1f174566bf3a962245a30f5f616", kill_on_drop: false }` [INFO] [stdout] 1bedfb8e0c6e5f886e15c4b073cdaa127512c1f174566bf3a962245a30f5f616