[INFO] updating cached repository ratijas/mess-client [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/ratijas/mess-client [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/ratijas/mess-client" "work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/ratijas/mess-client"` [INFO] [stderr] Cloning into 'work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/ratijas/mess-client'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/ratijas/mess-client" "work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/ratijas/mess-client"` [INFO] [stderr] Cloning into 'work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/ratijas/mess-client'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9a3ff863ec37bc82d9124e324c9882b7bf177fac [INFO] sha for GitHub repo ratijas/mess-client: 9a3ff863ec37bc82d9124e324c9882b7bf177fac [INFO] validating manifest of ratijas/mess-client on toolchain master#a850a426491e14186af2250549bf41256b5938d2 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of ratijas/mess-client on toolchain try#06a150c7d11500b41499224f165e9de1de096768 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing ratijas/mess-client [INFO] removed path dependency algos from ratijas/mess-client [INFO] finished frobbing ratijas/mess-client [INFO] frobbed toml for ratijas/mess-client written to work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/ratijas/mess-client/Cargo.toml [INFO] started frobbing ratijas/mess-client [INFO] removed path dependency algos from ratijas/mess-client [INFO] finished frobbing ratijas/mess-client [INFO] frobbed toml for ratijas/mess-client written to work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/ratijas/mess-client/Cargo.toml [INFO] crate ratijas/mess-client already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on the registry index [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/ratijas/mess-client/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking ratijas/mess-client against master#a850a426491e14186af2250549bf41256b5938d2 for pr-60162 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60162/worker-2/master#a850a426491e14186af2250549bf41256b5938d2:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/ratijas/mess-client:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/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=forbid" "-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" "+a850a426491e14186af2250549bf41256b5938d2-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 7d2cfcf466cb4e08893c48c40ca04a4d85cc8b90e1a53fa174768df0a5d4c733 [INFO] running `"docker" "start" "-a" "7d2cfcf466cb4e08893c48c40ca04a4d85cc8b90e1a53fa174768df0a5d4c733"` [INFO] [stderr] warning: dependency (algos) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking cassowary v0.2.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking algos v0.3.2 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking tokio-threadpool v0.1.14 [INFO] [stderr] Checking tui v0.1.3 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio v0.1.19 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling mime_guess v1.8.6 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking tokio-tls v0.1.4 [INFO] [stderr] Checking hyper v0.11.27 [INFO] [stderr] Checking hyper-tls v0.1.4 [INFO] [stderr] Checking reqwest v0.8.8 [INFO] [stderr] Checking client v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `algos::methods` [INFO] [stderr] --> src/app.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use algos::methods::ClientMethod; [INFO] [stderr] | ^^^^^^^ could not find `methods` in `algos` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `algos::types` [INFO] [stderr] --> src/imports.rs:29:16 [INFO] [stderr] | [INFO] [stderr] 29 | pub use algos::types::*; [INFO] [stderr] | ^^^^^ could not find `types` in `algos` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `algos::methods` [INFO] [stderr] --> src/imports.rs:30:16 [INFO] [stderr] | [INFO] [stderr] 30 | pub use algos::methods::*; [INFO] [stderr] | ^^^^^^^ could not find `methods` in `algos` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `algos::noise` [INFO] [stderr] --> src/imports.rs:31:16 [INFO] [stderr] | [INFO] [stderr] 31 | pub use algos::noise::NoiseLevel; [INFO] [stderr] | ^^^^^ could not find `noise` in `algos` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `algos::methods` [INFO] [stderr] --> src/app.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use algos::methods::ClientMethod; [INFO] [stderr] | ^^^^^^^ could not find `methods` in `algos` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `algos::types` [INFO] [stderr] --> src/imports.rs:29:16 [INFO] [stderr] | [INFO] [stderr] 29 | pub use algos::types::*; [INFO] [stderr] | ^^^^^ could not find `types` in `algos` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `algos::methods` [INFO] [stderr] --> src/imports.rs:30:16 [INFO] [stderr] | [INFO] [stderr] 30 | pub use algos::methods::*; [INFO] [stderr] | ^^^^^^^ could not find `methods` in `algos` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `algos::noise` [INFO] [stderr] --> src/imports.rs:31:16 [INFO] [stderr] | [INFO] [stderr] 31 | pub use algos::noise::NoiseLevel; [INFO] [stderr] | ^^^^^ could not find `noise` in `algos` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LoginResult` [INFO] [stderr] --> src/app.rs:110:21 [INFO] [stderr] | [INFO] [stderr] 110 | LoginResult::LoginOk { username } => { [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `LoginResult` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LoginResult` [INFO] [stderr] --> src/app.rs:115:21 [INFO] [stderr] | [INFO] [stderr] 115 | LoginResult::LoginErr => { [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `LoginResult` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Update` [INFO] [stderr] --> src/app.rs:229:17 [INFO] [stderr] | [INFO] [stderr] 229 | Update::TextUpdate { ref from, ref to, ref payload } => { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Update` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Update` [INFO] [stderr] --> src/app.rs:241:17 [INFO] [stderr] | [INFO] [stderr] 241 | Update::FileUpdate { ref from, ref to, ref meta, .. } => { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Update` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FileMeta` [INFO] [stderr] --> src/app.rs:244:26 [INFO] [stderr] | [INFO] [stderr] 244 | let &FileMeta::FileMeta { ref name, size, ref mime } = meta; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `FileMeta` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Update` [INFO] [stderr] --> src/app.rs:271:35 [INFO] [stderr] | [INFO] [stderr] 271 | self.history.push(Update::TextUpdate { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Update` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Update` [INFO] [stderr] --> src/app.rs:282:35 [INFO] [stderr] | [INFO] [stderr] 282 | self.history.push(Update::FileUpdate { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Update` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Updates` [INFO] [stderr] --> src/app.rs:297:21 [INFO] [stderr] | [INFO] [stderr] 297 | let Updates::Updates { updates } = updates; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Updates` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Update` [INFO] [stderr] --> src/app.rs:299:29 [INFO] [stderr] | [INFO] [stderr] 299 | if let &Update::FileUpdate { ref meta, ref file_id, .. } = &update { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Update` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Data` [INFO] [stderr] --> src/app.rs:368:32 [INFO] [stderr] | [INFO] [stderr] 368 | let data = Data::from_bytes( [INFO] [stderr] | ^^^^ use of undeclared type or module `Data` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Compression` [INFO] [stderr] --> src/app.rs:370:25 [INFO] [stderr] | [INFO] [stderr] 370 | Compression::Rle, [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `Compression` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Coding` [INFO] [stderr] --> src/app.rs:371:25 [INFO] [stderr] | [INFO] [stderr] 371 | Coding::Hamming, [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Coding` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Data` [INFO] [stderr] --> src/app.rs:374:25 [INFO] [stderr] | [INFO] [stderr] 374 | let Data::Data { coding, compression, length, bytes } = data; [INFO] [stderr] | ^^^^ use of undeclared type or module `Data` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Data` [INFO] [stderr] --> src/app.rs:378:32 [INFO] [stderr] | [INFO] [stderr] 378 | let data = Data::Data { coding, compression, length, bytes }; [INFO] [stderr] | ^^^^ use of undeclared type or module `Data` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LoginResult` [INFO] [stderr] --> src/app.rs:110:21 [INFO] [stderr] | [INFO] [stderr] 110 | LoginResult::LoginOk { username } => { [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `LoginResult` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LoginResult` [INFO] [stderr] --> src/app.rs:115:21 [INFO] [stderr] | [INFO] [stderr] 115 | LoginResult::LoginErr => { [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `LoginResult` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Update` [INFO] [stderr] --> src/app.rs:229:17 [INFO] [stderr] | [INFO] [stderr] 229 | Update::TextUpdate { ref from, ref to, ref payload } => { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Update` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Update` [INFO] [stderr] --> src/app.rs:241:17 [INFO] [stderr] | [INFO] [stderr] 241 | Update::FileUpdate { ref from, ref to, ref meta, .. } => { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Update` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FileMeta` [INFO] [stderr] --> src/app.rs:244:26 [INFO] [stderr] | [INFO] [stderr] 244 | let &FileMeta::FileMeta { ref name, size, ref mime } = meta; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `FileMeta` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Update` [INFO] [stderr] --> src/app.rs:271:35 [INFO] [stderr] | [INFO] [stderr] 271 | self.history.push(Update::TextUpdate { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Update` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Update` [INFO] [stderr] --> src/app.rs:282:35 [INFO] [stderr] | [INFO] [stderr] 282 | self.history.push(Update::FileUpdate { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Update` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Updates` [INFO] [stderr] --> src/app.rs:297:21 [INFO] [stderr] | [INFO] [stderr] 297 | let Updates::Updates { updates } = updates; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Updates` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Update` [INFO] [stderr] --> src/app.rs:299:29 [INFO] [stderr] | [INFO] [stderr] 299 | if let &Update::FileUpdate { ref meta, ref file_id, .. } = &update { [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Update` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FileMeta` [INFO] [stderr] --> src/app.rs:430:14 [INFO] [stderr] | [INFO] [stderr] 430 | let &FileMeta::FileMeta { ref name, size, .. } = meta; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `FileMeta` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Data` [INFO] [stderr] --> src/app.rs:368:32 [INFO] [stderr] | [INFO] [stderr] 368 | let data = Data::from_bytes( [INFO] [stderr] | ^^^^ use of undeclared type or module `Data` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Compression` [INFO] [stderr] --> src/app.rs:370:25 [INFO] [stderr] | [INFO] [stderr] 370 | Compression::Rle, [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `Compression` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Coding` [INFO] [stderr] --> src/app.rs:371:25 [INFO] [stderr] | [INFO] [stderr] 371 | Coding::Hamming, [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Coding` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Data` [INFO] [stderr] --> src/app.rs:374:25 [INFO] [stderr] | [INFO] [stderr] 374 | let Data::Data { coding, compression, length, bytes } = data; [INFO] [stderr] | ^^^^ use of undeclared type or module `Data` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Data` [INFO] [stderr] --> src/app.rs:378:32 [INFO] [stderr] | [INFO] [stderr] 378 | let data = Data::Data { coding, compression, length, bytes }; [INFO] [stderr] | ^^^^ use of undeclared type or module `Data` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DownloadedFile` [INFO] [stderr] --> src/app.rs:438:13 [INFO] [stderr] | [INFO] [stderr] 438 | DownloadedFile::EmptyFile {} => Err("No such file on server")?, [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `DownloadedFile` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DownloadedFile` [INFO] [stderr] --> src/app.rs:439:13 [INFO] [stderr] | [INFO] [stderr] 439 | DownloadedFile::File { data } => { [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `DownloadedFile` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FileMeta` [INFO] [stderr] --> src/app.rs:430:14 [INFO] [stderr] | [INFO] [stderr] 430 | let &FileMeta::FileMeta { ref name, size, .. } = meta; [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `FileMeta` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FileMeta` [INFO] [stderr] --> src/app.rs:515:16 [INFO] [stderr] | [INFO] [stderr] 515 | let meta = FileMeta::FileMeta { [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `FileMeta` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Data` [INFO] [stderr] --> src/app.rs:521:16 [INFO] [stderr] | [INFO] [stderr] 521 | let data = Data::from_bytes( [INFO] [stderr] | ^^^^ use of undeclared type or module `Data` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Compression` [INFO] [stderr] --> src/app.rs:523:9 [INFO] [stderr] | [INFO] [stderr] 523 | Compression::Rle, [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `Compression` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Coding` [INFO] [stderr] --> src/app.rs:524:9 [INFO] [stderr] | [INFO] [stderr] 524 | Coding::Hamming, [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Coding` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Data` [INFO] [stderr] --> src/app.rs:527:9 [INFO] [stderr] | [INFO] [stderr] 527 | let Data::Data { coding, compression, length, bytes } = data; [INFO] [stderr] | ^^^^ use of undeclared type or module `Data` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Data` [INFO] [stderr] --> src/app.rs:531:16 [INFO] [stderr] | [INFO] [stderr] 531 | let data = Data::Data { coding, compression, length, bytes }; [INFO] [stderr] | ^^^^ use of undeclared type or module `Data` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DownloadedFile` [INFO] [stderr] --> src/app.rs:438:13 [INFO] [stderr] | [INFO] [stderr] 438 | DownloadedFile::EmptyFile {} => Err("No such file on server")?, [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `DownloadedFile` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `DownloadedFile` [INFO] [stderr] --> src/app.rs:439:13 [INFO] [stderr] | [INFO] [stderr] 439 | DownloadedFile::File { data } => { [INFO] [stderr] | ^^^^^^^^^^^^^^ use of undeclared type or module `DownloadedFile` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `types` in `algos` [INFO] [stderr] --> src/error.rs:14:19 [INFO] [stderr] | [INFO] [stderr] 14 | Data(::algos::types::data::Error), [INFO] [stderr] | ^^^^^ could not find `types` in `algos` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ClientError` [INFO] [stderr] --> src/error.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | ClientError::IoError(io) => io.into(), [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `ClientError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `types` in `algos` [INFO] [stderr] --> src/error.rs:56:20 [INFO] [stderr] | [INFO] [stderr] 56 | impl From<::algos::types::data::Error> for Error { [INFO] [stderr] | ^^^^^ could not find `types` in `algos` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `types` in `algos` [INFO] [stderr] --> src/error.rs:57:25 [INFO] [stderr] | [INFO] [stderr] 57 | fn from(e: ::algos::types::data::Error) -> Self { [INFO] [stderr] | ^^^^^ could not find `types` in `algos` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `FileMeta` [INFO] [stderr] --> src/app.rs:515:16 [INFO] [stderr] | [INFO] [stderr] 515 | let meta = FileMeta::FileMeta { [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `FileMeta` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Data` [INFO] [stderr] --> src/app.rs:521:16 [INFO] [stderr] | [INFO] [stderr] 521 | let data = Data::from_bytes( [INFO] [stderr] | ^^^^ use of undeclared type or module `Data` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Compression` [INFO] [stderr] --> src/app.rs:523:9 [INFO] [stderr] | [INFO] [stderr] 523 | Compression::Rle, [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `Compression` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Coding` [INFO] [stderr] --> src/app.rs:524:9 [INFO] [stderr] | [INFO] [stderr] 524 | Coding::Hamming, [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Coding` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Data` [INFO] [stderr] --> src/app.rs:527:9 [INFO] [stderr] | [INFO] [stderr] 527 | let Data::Data { coding, compression, length, bytes } = data; [INFO] [stderr] | ^^^^ use of undeclared type or module `Data` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Data` [INFO] [stderr] --> src/app.rs:531:16 [INFO] [stderr] | [INFO] [stderr] 531 | let data = Data::Data { coding, compression, length, bytes }; [INFO] [stderr] | ^^^^ use of undeclared type or module `Data` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Updates` in this scope [INFO] [stderr] --> src/app.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | Updates(Updates), [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: there is an enum variant `app::AppEvent::Updates`; try using the variant's enum [INFO] [stderr] | [INFO] [stderr] 18 | Updates(app::AppEvent), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SendText` in this scope [INFO] [stderr] --> src/app.rs:20:14 [INFO] [stderr] | [INFO] [stderr] 20 | SentText(SendText), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UploadFile` in this scope [INFO] [stderr] --> src/app.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | SentFile(UploadFile), [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Username` in this scope [INFO] [stderr] --> src/app.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | me: Username, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Username` in this scope [INFO] [stderr] --> src/app.rs:39:11 [INFO] [stderr] | [INFO] [stderr] 39 | peer: Username, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Update` in this scope [INFO] [stderr] --> src/app.rs:41:18 [INFO] [stderr] | [INFO] [stderr] 41 | history: Vec, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Username` in this scope [INFO] [stderr] --> src/app.rs:55:20 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn new(me: Username, peer: Username) -> App { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Username` in this scope [INFO] [stderr] --> src/app.rs:55:36 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn new(me: Username, peer: Username) -> App { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Login` in this scope [INFO] [stderr] --> src/app.rs:106:22 [INFO] [stderr] | [INFO] [stderr] 106 | let method = Login { username: self.me.clone() }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `GetUpdates` in this scope [INFO] [stderr] --> src/app.rs:131:30 [INFO] [stderr] | [INFO] [stderr] 131 | let method = GetUpdates { username: me.clone() }; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `SendText` in this scope [INFO] [stderr] --> src/app.rs:380:34 [INFO] [stderr] | [INFO] [stderr] 380 | let method = SendText { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FileMeta` in this scope [INFO] [stderr] --> src/app.rs:429:36 [INFO] [stderr] | [INFO] [stderr] 429 | fn download_file(&self, meta: &FileMeta, file_id: &FileId) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FileId` in this scope [INFO] [stderr] --> src/app.rs:429:56 [INFO] [stderr] | [INFO] [stderr] 429 | fn download_file(&self, meta: &FileMeta, file_id: &FileId) -> Result<()> { [INFO] [stderr] | ^^^^^^ help: a struct with a similar name exists: `File` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DownloadFile` in this scope [INFO] [stderr] --> src/app.rs:435:22 [INFO] [stderr] | [INFO] [stderr] 435 | let method = DownloadFile { file_id: file_id.clone() }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Username` in this scope [INFO] [stderr] --> src/app.rs:501:34 [INFO] [stderr] | [INFO] [stderr] 501 | fn send_file>(me: Username, peer: Username, path: P, noise: NoiseLevel) -> Result { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Username` in this scope [INFO] [stderr] --> src/app.rs:501:50 [INFO] [stderr] | [INFO] [stderr] 501 | fn send_file>(me: Username, peer: Username, path: P, noise: NoiseLevel) -> Result { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UploadFile` in this scope [INFO] [stderr] --> src/app.rs:501:98 [INFO] [stderr] | [INFO] [stderr] 501 | fn send_file>(me: Username, peer: Username, path: P, noise: NoiseLevel) -> Result { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `SendFile` in this scope [INFO] [stderr] --> src/app.rs:506:19 [INFO] [stderr] | [INFO] [stderr] 506 | let file_id = SendFile {}.invoke(&conn)?; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `UploadFile` in this scope [INFO] [stderr] --> src/app.rs:533:18 [INFO] [stderr] | [INFO] [stderr] 533 | let method = UploadFile { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ClientError` in this scope [INFO] [stderr] --> src/error.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | Client(ClientError), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ClientError` in this scope [INFO] [stderr] --> src/error.rs:29:11 [INFO] [stderr] | [INFO] [stderr] 29 | impl From for Error { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ClientError` in this scope [INFO] [stderr] --> src/error.rs:30:16 [INFO] [stderr] | [INFO] [stderr] 30 | fn from(e: ClientError) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Target` in this scope [INFO] [stderr] --> src/connection.rs:37:6 [INFO] [stderr] | [INFO] [stderr] 37 | impl Target for Connection { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `algos::methods::ClientMethod` [INFO] [stderr] --> src/app.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use algos::methods::ClientMethod; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `types` in `algos` [INFO] [stderr] --> src/error.rs:14:19 [INFO] [stderr] | [INFO] [stderr] 14 | Data(::algos::types::data::Error), [INFO] [stderr] | ^^^^^ could not find `types` in `algos` [INFO] [stderr] [INFO] [stderr] error: aborting due to 54 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0422, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ClientError` [INFO] [stderr] --> src/error.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | ClientError::IoError(io) => io.into(), [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `ClientError` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `types` in `algos` [INFO] [stderr] --> src/error.rs:56:20 [INFO] [stderr] | [INFO] [stderr] 56 | impl From<::algos::types::data::Error> for Error { [INFO] [stderr] | ^^^^^ could not find `types` in `algos` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `types` in `algos` [INFO] [stderr] --> src/error.rs:57:25 [INFO] [stderr] | [INFO] [stderr] 57 | fn from(e: ::algos::types::data::Error) -> Self { [INFO] [stderr] | ^^^^^ could not find `types` in `algos` [INFO] [stderr] [INFO] [stderr] error: Could not compile `client`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0412]: cannot find type `Updates` in this scope [INFO] [stderr] --> src/app.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | Updates(Updates), [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: there is an enum variant `app::AppEvent::Updates`; try using the variant's enum [INFO] [stderr] | [INFO] [stderr] 18 | Updates(app::AppEvent), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SendText` in this scope [INFO] [stderr] --> src/app.rs:20:14 [INFO] [stderr] | [INFO] [stderr] 20 | SentText(SendText), [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UploadFile` in this scope [INFO] [stderr] --> src/app.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | SentFile(UploadFile), [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Username` in this scope [INFO] [stderr] --> src/app.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | me: Username, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Username` in this scope [INFO] [stderr] --> src/app.rs:39:11 [INFO] [stderr] | [INFO] [stderr] 39 | peer: Username, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Update` in this scope [INFO] [stderr] --> src/app.rs:41:18 [INFO] [stderr] | [INFO] [stderr] 41 | history: Vec, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Username` in this scope [INFO] [stderr] --> src/app.rs:55:20 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn new(me: Username, peer: Username) -> App { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Username` in this scope [INFO] [stderr] --> src/app.rs:55:36 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn new(me: Username, peer: Username) -> App { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Login` in this scope [INFO] [stderr] --> src/app.rs:106:22 [INFO] [stderr] | [INFO] [stderr] 106 | let method = Login { username: self.me.clone() }; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `GetUpdates` in this scope [INFO] [stderr] --> src/app.rs:131:30 [INFO] [stderr] | [INFO] [stderr] 131 | let method = GetUpdates { username: me.clone() }; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `SendText` in this scope [INFO] [stderr] --> src/app.rs:380:34 [INFO] [stderr] | [INFO] [stderr] 380 | let method = SendText { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FileMeta` in this scope [INFO] [stderr] --> src/app.rs:429:36 [INFO] [stderr] | [INFO] [stderr] 429 | fn download_file(&self, meta: &FileMeta, file_id: &FileId) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FileId` in this scope [INFO] [stderr] --> src/app.rs:429:56 [INFO] [stderr] | [INFO] [stderr] 429 | fn download_file(&self, meta: &FileMeta, file_id: &FileId) -> Result<()> { [INFO] [stderr] | ^^^^^^ help: a struct with a similar name exists: `File` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `DownloadFile` in this scope [INFO] [stderr] --> src/app.rs:435:22 [INFO] [stderr] | [INFO] [stderr] 435 | let method = DownloadFile { file_id: file_id.clone() }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Username` in this scope [INFO] [stderr] --> src/app.rs:501:34 [INFO] [stderr] | [INFO] [stderr] 501 | fn send_file>(me: Username, peer: Username, path: P, noise: NoiseLevel) -> Result { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Username` in this scope [INFO] [stderr] --> src/app.rs:501:50 [INFO] [stderr] | [INFO] [stderr] 501 | fn send_file>(me: Username, peer: Username, path: P, noise: NoiseLevel) -> Result { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `UploadFile` in this scope [INFO] [stderr] --> src/app.rs:501:98 [INFO] [stderr] | [INFO] [stderr] 501 | fn send_file>(me: Username, peer: Username, path: P, noise: NoiseLevel) -> Result { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `SendFile` in this scope [INFO] [stderr] --> src/app.rs:506:19 [INFO] [stderr] | [INFO] [stderr] 506 | let file_id = SendFile {}.invoke(&conn)?; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `UploadFile` in this scope [INFO] [stderr] --> src/app.rs:533:18 [INFO] [stderr] | [INFO] [stderr] 533 | let method = UploadFile { [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ClientError` in this scope [INFO] [stderr] --> src/error.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | Client(ClientError), [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ClientError` in this scope [INFO] [stderr] --> src/error.rs:29:11 [INFO] [stderr] | [INFO] [stderr] 29 | impl From for Error { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ClientError` in this scope [INFO] [stderr] --> src/error.rs:30:16 [INFO] [stderr] | [INFO] [stderr] 30 | fn from(e: ClientError) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Target` in this scope [INFO] [stderr] --> src/connection.rs:37:6 [INFO] [stderr] | [INFO] [stderr] 37 | impl Target for Connection { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `algos::methods::ClientMethod` [INFO] [stderr] --> src/app.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use algos::methods::ClientMethod; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 54 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0422, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: Could not compile `client`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7d2cfcf466cb4e08893c48c40ca04a4d85cc8b90e1a53fa174768df0a5d4c733"` [INFO] running `"docker" "rm" "-f" "7d2cfcf466cb4e08893c48c40ca04a4d85cc8b90e1a53fa174768df0a5d4c733"` [INFO] [stdout] 7d2cfcf466cb4e08893c48c40ca04a4d85cc8b90e1a53fa174768df0a5d4c733