[INFO] updating cached repository sakateka/conv [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/sakateka/conv [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/sakateka/conv" "work/ex/beta-1.38-1/sources/1.37.0/gh/sakateka/conv"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/sakateka/conv'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/sakateka/conv" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/sakateka/conv"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/sakateka/conv'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d5eda661b5e2792b4cb4a27faa933c1a0a79956b [INFO] sha for GitHub repo sakateka/conv: d5eda661b5e2792b4cb4a27faa933c1a0a79956b [INFO] validating manifest of sakateka/conv on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of sakateka/conv on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing sakateka/conv [INFO] finished frobbing sakateka/conv [INFO] frobbed toml for sakateka/conv written to work/ex/beta-1.38-1/sources/1.37.0/gh/sakateka/conv/Cargo.toml [INFO] started frobbing sakateka/conv [INFO] finished frobbing sakateka/conv [INFO] frobbed toml for sakateka/conv written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/sakateka/conv/Cargo.toml [INFO] crate sakateka/conv already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing sakateka/conv against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/sakateka/conv:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] ba5b15e314ec05406987e4ee26576a6d29c83ea575679eaeba150df3f2285ffa [INFO] running `"docker" "start" "-a" "ba5b15e314ec05406987e4ee26576a6d29c83ea575679eaeba150df3f2285ffa"` [INFO] [stderr] Compiling conv v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> /opt/crater/target/debug/build/conv-10e15fe51487d24e/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: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> /opt/crater/target/debug/build/conv-10e15fe51487d24e/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: 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/crater/target/debug/build/conv-10e15fe51487d24e/out/charmaps.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / lazy_static! { [INFO] [stderr] 2 | | static ref KOI8R_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 outside of the current crate (in Nightly builds, run with -Z external-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/crater/target/debug/build/conv-10e15fe51487d24e/out/charmaps.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | / lazy_static! { [INFO] [stderr] 35 | | static ref UTF8_TO_KOI8R: 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 outside of the current crate (in Nightly builds, run with -Z external-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/crater/target/debug/build/conv-10e15fe51487d24e/out/charmaps.rs:90:1 [INFO] [stderr] | [INFO] [stderr] 90 | / lazy_static! { [INFO] [stderr] 91 | | static ref CP866_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 outside of the current crate (in Nightly builds, run with -Z external-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/crater/target/debug/build/conv-10e15fe51487d24e/out/charmaps.rs:123:1 [INFO] [stderr] | [INFO] [stderr] 123 | / lazy_static! { [INFO] [stderr] 124 | | static ref UTF8_TO_CP866: 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 outside of the current crate (in Nightly builds, run with -Z external-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/crater/target/debug/build/conv-10e15fe51487d24e/out/charmaps.rs:179:1 [INFO] [stderr] | [INFO] [stderr] 179 | / lazy_static! { [INFO] [stderr] 180 | | static ref CP1251_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 outside of the current crate (in Nightly builds, run with -Z external-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/crater/target/debug/build/conv-10e15fe51487d24e/out/charmaps.rs:212:1 [INFO] [stderr] | [INFO] [stderr] 212 | / lazy_static! { [INFO] [stderr] 213 | | static ref UTF8_TO_CP1251: 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 outside of the current crate (in Nightly builds, run with -Z external-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/crater/target/debug/build/conv-10e15fe51487d24e/out/charmaps.rs:290:1 [INFO] [stderr] | [INFO] [stderr] 290 | / lazy_static! { [INFO] [stderr] 291 | | pub static ref SUPPORTED_CODES: Vec<&'static str> = vec!["KOI8R", "CP866", "CP1251"]; [INFO] [stderr] 292 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0283]: type annotations required: cannot resolve `std::string::String: std::convert::AsRef<_>` [INFO] [stderr] --> src/args.rs:6:63 [INFO] [stderr] | [INFO] [stderr] 6 | App::new(format!("{} - Конвертер кодировок текста", name).as_ref()) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [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" "ba5b15e314ec05406987e4ee26576a6d29c83ea575679eaeba150df3f2285ffa"` [INFO] running `"docker" "rm" "-f" "ba5b15e314ec05406987e4ee26576a6d29c83ea575679eaeba150df3f2285ffa"` [INFO] [stdout] ba5b15e314ec05406987e4ee26576a6d29c83ea575679eaeba150df3f2285ffa