[INFO] updating cached repository https://github.com/sakateka/conv [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d5eda661b5e2792b4cb4a27faa933c1a0a79956b [INFO] checking sakateka/conv against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsakateka%2Fconv" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sakateka/conv on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/sakateka/conv already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 313eb4d161e27a8f272374b6dc8d82813300096539a559e41b0d981bcabaa7ed [INFO] running `"docker" "start" "-a" "313eb4d161e27a8f272374b6dc8d82813300096539a559e41b0d981bcabaa7ed"` [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Compiling conv v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking lazy_static v1.0.0 [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] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:269:36 [INFO] [stderr] | [INFO] [stderr] 269 | fn get_encode_map(to: &str) -> Box Option<&'static u8>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(u32) -> Option<&'static u8>` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:274:33 [INFO] [stderr] | [INFO] [stderr] 274 | "UTF8" => Box::new(move |_x| {{ None /* unreachable */ }}), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:280:38 [INFO] [stderr] | [INFO] [stderr] 280 | fn get_decode_map(from: &str) -> Box u32> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> u32` [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:285:32 [INFO] [stderr] | [INFO] [stderr] 285 | "UTF8" => Box::new(move |x| {{ x as u32 }}), [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/conv.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | mapper: Box u32>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> u32` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/conv.rs:71:17 [INFO] [stderr] | [INFO] [stderr] 71 | mapper: Box Option<&'static u8>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(u32) -> Option<&'static u8>` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / lazy_static! { [INFO] [stderr] 2 | | static ref CP866_TO_UTF8: [u32;256] = [ [INFO] [stderr] 3 | | 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, [INFO] [stderr] 4 | | 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, [INFO] [stderr] ... | [INFO] [stderr] 32 | | ]; [INFO] [stderr] 33 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | / lazy_static! { [INFO] [stderr] 35 | | static ref UTF8_TO_CP866: HashMap = [ [INFO] [stderr] 36 | | (0x0000, 0x00), (0x0001, 0x01), (0x0002, 0x02), (0x0003, 0x03), (0x0004, 0x04), [INFO] [stderr] 37 | | (0x0005, 0x05), (0x0006, 0x06), (0x0007, 0x07), (0x0008, 0x08), (0x0009, 0x09), [INFO] [stderr] ... | [INFO] [stderr] 88 | | ].iter().cloned().collect(); [INFO] [stderr] 89 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:90:1 [INFO] [stderr] | [INFO] [stderr] 90 | / lazy_static! { [INFO] [stderr] 91 | | static ref CP1251_TO_UTF8: [u32;256] = [ [INFO] [stderr] 92 | | 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, [INFO] [stderr] 93 | | 0x0009, 0x000A, 0x000B, 0x000C, 0x000D, 0x000E, 0x000F, 0x0010, 0x0011, [INFO] [stderr] ... | [INFO] [stderr] 121 | | ]; [INFO] [stderr] 122 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | / lazy_static! { [INFO] [stderr] 124 | | static ref UTF8_TO_CP1251: HashMap = [ [INFO] [stderr] 125 | | (0x0000, 0x00), (0x0001, 0x01), (0x0002, 0x02), (0x0003, 0x03), (0x0004, 0x04), [INFO] [stderr] 126 | | (0x0005, 0x05), (0x0006, 0x06), (0x0007, 0x07), (0x0008, 0x08), (0x0009, 0x09), [INFO] [stderr] ... | [INFO] [stderr] 177 | | ].iter().cloned().collect(); [INFO] [stderr] 178 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:179:1 [INFO] [stderr] | [INFO] [stderr] 179 | / lazy_static! { [INFO] [stderr] 180 | | static ref KOI8R_TO_UTF8: [u32;256] = [ [INFO] [stderr] 181 | | 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, [INFO] [stderr] 182 | | 0x0009, 0x000A, 0x000B, 0x000C, 0x000D, 0x000E, 0x000F, 0x0010, 0x0011, [INFO] [stderr] ... | [INFO] [stderr] 210 | | ]; [INFO] [stderr] 211 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:212:1 [INFO] [stderr] | [INFO] [stderr] 212 | / lazy_static! { [INFO] [stderr] 213 | | static ref UTF8_TO_KOI8R: HashMap = [ [INFO] [stderr] 214 | | (0x0000, 0x00), (0x0001, 0x01), (0x0002, 0x02), (0x0003, 0x03), (0x0004, 0x04), [INFO] [stderr] 215 | | (0x0005, 0x05), (0x0006, 0x06), (0x0007, 0x07), (0x0008, 0x08), (0x0009, 0x09), [INFO] [stderr] ... | [INFO] [stderr] 266 | | ].iter().cloned().collect(); [INFO] [stderr] 267 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:290:1 [INFO] [stderr] | [INFO] [stderr] 290 | / lazy_static! { [INFO] [stderr] 291 | | pub static ref SUPPORTED_CODES: Vec<&'static str> = vec!["CP866", "CP1251", "KOI8R"]; [INFO] [stderr] 292 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0283]: type annotations needed for `std::string::String` [INFO] [stderr] --> src/args.rs:6:63 [INFO] [stderr] | [INFO] [stderr] 6 | App::new(format!("{} - Конвертер кодировок текста", name).as_ref()) [INFO] [stderr] | ------------------------------------------------ ^^^^^^ cannot infer type for struct `std::string::String` [INFO] [stderr] | | [INFO] [stderr] | consider giving `res` a type [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `std::string::String: std::convert::AsRef<_>` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:269:36 [INFO] [stderr] | [INFO] [stderr] 269 | fn get_encode_map(to: &str) -> Box Option<&'static u8>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(u32) -> Option<&'static u8>` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:274:33 [INFO] [stderr] | [INFO] [stderr] 274 | "UTF8" => Box::new(move |_x| {{ None /* unreachable */ }}), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:280:38 [INFO] [stderr] | [INFO] [stderr] 280 | fn get_decode_map(from: &str) -> Box u32> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> u32` [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:285:32 [INFO] [stderr] | [INFO] [stderr] 285 | "UTF8" => Box::new(move |x| {{ x as u32 }}), [INFO] [stderr] | ^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/conv.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | mapper: Box u32>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> u32` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/conv.rs:71:17 [INFO] [stderr] | [INFO] [stderr] 71 | mapper: Box Option<&'static u8>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(u32) -> Option<&'static u8>` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / lazy_static! { [INFO] [stderr] 2 | | static ref CP866_TO_UTF8: [u32;256] = [ [INFO] [stderr] 3 | | 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, [INFO] [stderr] 4 | | 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, 0x0010, 0x0011, [INFO] [stderr] ... | [INFO] [stderr] 32 | | ]; [INFO] [stderr] 33 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | / lazy_static! { [INFO] [stderr] 35 | | static ref UTF8_TO_CP866: HashMap = [ [INFO] [stderr] 36 | | (0x0000, 0x00), (0x0001, 0x01), (0x0002, 0x02), (0x0003, 0x03), (0x0004, 0x04), [INFO] [stderr] 37 | | (0x0005, 0x05), (0x0006, 0x06), (0x0007, 0x07), (0x0008, 0x08), (0x0009, 0x09), [INFO] [stderr] ... | [INFO] [stderr] 88 | | ].iter().cloned().collect(); [INFO] [stderr] 89 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:90:1 [INFO] [stderr] | [INFO] [stderr] 90 | / lazy_static! { [INFO] [stderr] 91 | | static ref CP1251_TO_UTF8: [u32;256] = [ [INFO] [stderr] 92 | | 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, [INFO] [stderr] 93 | | 0x0009, 0x000A, 0x000B, 0x000C, 0x000D, 0x000E, 0x000F, 0x0010, 0x0011, [INFO] [stderr] ... | [INFO] [stderr] 121 | | ]; [INFO] [stderr] 122 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | / lazy_static! { [INFO] [stderr] 124 | | static ref UTF8_TO_CP1251: HashMap = [ [INFO] [stderr] 125 | | (0x0000, 0x00), (0x0001, 0x01), (0x0002, 0x02), (0x0003, 0x03), (0x0004, 0x04), [INFO] [stderr] 126 | | (0x0005, 0x05), (0x0006, 0x06), (0x0007, 0x07), (0x0008, 0x08), (0x0009, 0x09), [INFO] [stderr] ... | [INFO] [stderr] 177 | | ].iter().cloned().collect(); [INFO] [stderr] 178 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:179:1 [INFO] [stderr] | [INFO] [stderr] 179 | / lazy_static! { [INFO] [stderr] 180 | | static ref KOI8R_TO_UTF8: [u32;256] = [ [INFO] [stderr] 181 | | 0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008, [INFO] [stderr] 182 | | 0x0009, 0x000A, 0x000B, 0x000C, 0x000D, 0x000E, 0x000F, 0x0010, 0x0011, [INFO] [stderr] ... | [INFO] [stderr] 210 | | ]; [INFO] [stderr] 211 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:212:1 [INFO] [stderr] | [INFO] [stderr] 212 | / lazy_static! { [INFO] [stderr] 213 | | static ref UTF8_TO_KOI8R: HashMap = [ [INFO] [stderr] 214 | | (0x0000, 0x00), (0x0001, 0x01), (0x0002, 0x02), (0x0003, 0x03), (0x0004, 0x04), [INFO] [stderr] 215 | | (0x0005, 0x05), (0x0006, 0x06), (0x0007, 0x07), (0x0008, 0x08), (0x0009, 0x09), [INFO] [stderr] ... | [INFO] [stderr] 266 | | ].iter().cloned().collect(); [INFO] [stderr] 267 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> /opt/rustwide/target/debug/build/conv-fd04da25c58d311b/out/charmaps.rs:290:1 [INFO] [stderr] | [INFO] [stderr] 290 | / lazy_static! { [INFO] [stderr] 291 | | pub static ref SUPPORTED_CODES: Vec<&'static str> = vec!["CP866", "CP1251", "KOI8R"]; [INFO] [stderr] 292 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 13 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0283`. [INFO] [stderr] error[E0283]: type annotations needed for `std::string::String` [INFO] [stderr] --> src/args.rs:6:63 [INFO] [stderr] | [INFO] [stderr] 6 | App::new(format!("{} - Конвертер кодировок текста", name).as_ref()) [INFO] [stderr] | ------------------------------------------------ ^^^^^^ cannot infer type for struct `std::string::String` [INFO] [stderr] | | [INFO] [stderr] | consider giving `res` a type [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `std::string::String: std::convert::AsRef<_>` [INFO] [stderr] [INFO] [stderr] error: could not compile `conv`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to previous error; 13 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0283`. [INFO] [stderr] error: could not compile `conv`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "313eb4d161e27a8f272374b6dc8d82813300096539a559e41b0d981bcabaa7ed"` [INFO] running `"docker" "rm" "-f" "313eb4d161e27a8f272374b6dc8d82813300096539a559e41b0d981bcabaa7ed"` [INFO] [stdout] 313eb4d161e27a8f272374b6dc8d82813300096539a559e41b0d981bcabaa7ed