[INFO] updating cached repository https://github.com/ratijas/mess
[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] 011be71409713ccf06ad8644230796f4eee7d44c
[INFO] testing ratijas/mess against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fratijas%2Fmess" "/workspace/builds/worker-5/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ratijas/mess on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/ratijas/mess
[INFO] removed path dependency algos from git repo https://github.com/ratijas/mess
[INFO] finished tweaking git repo https://github.com/ratijas/mess
[INFO] tweaked toml for git repo https://github.com/ratijas/mess written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/ratijas/mess already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[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]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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" "+1.40.0" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 498a66d37bd36f786e812ded9088f7ff776034974902102f7d38fc39817c95ce
[INFO] running `"docker" "start" "-a" "498a66d37bd36f786e812ded9088f7ff776034974902102f7d38fc39817c95ce"`
[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]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling route-recognizer v0.1.13
[INFO] [stderr]    Compiling base64 v0.7.0
[INFO] [stderr]    Compiling algos v0.3.2
[INFO] [stderr]    Compiling fern v0.4.4
[INFO] [stderr]    Compiling iron v0.5.1
[INFO] [stderr]    Compiling persistent v0.3.0
[INFO] [stderr]    Compiling router v0.5.1
[INFO] [stderr]    Compiling server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `algos::methods`
[INFO] [stderr]   --> src/main.rs:29:12
[INFO] [stderr]    |
[INFO] [stderr] 29 | use algos::methods::*;
[INFO] [stderr]    |            ^^^^^^^ could not find `methods` in `algos`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `algos::types`
[INFO] [stderr]   --> src/main.rs:30:12
[INFO] [stderr]    |
[INFO] [stderr] 30 | use algos::types::*;
[INFO] [stderr]    |            ^^^^^ could not find `types` in `algos`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `algos::types`
[INFO] [stderr]   --> src/server/methods/mod.rs:10:18
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub use ::algos::types::*;
[INFO] [stderr]    |                  ^^^^^ could not find `types` in `algos`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `algos::methods`, `App`, `User`, `File`
[INFO] [stderr]   --> src/server/methods/mod.rs:11:18
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub use ::algos::methods::*;
[INFO] [stderr]    |                  ^^^^^^^ could not find `methods` in `algos`
[INFO] [stderr] 12 | pub use ::{App, User, File};
[INFO] [stderr]    |            ^^^  ^^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LoginResult`
[INFO] [stderr]  --> src/server/methods/login.rs:8:20
[INFO] [stderr]   |
[INFO] [stderr] 8 |             return 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 `LoginResult`
[INFO] [stderr]   --> src/server/methods/login.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr] 13 |         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 `Online`
[INFO] [stderr]  --> src/server/methods/get_online.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 5 |         Online::Online { users: app.users.keys().cloned().collect() }
[INFO] [stderr]   |         ^^^^^^ use of undeclared type or module `Online`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Updates`
[INFO] [stderr]  --> src/server/methods/get_updates.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 |         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 `FileId`
[INFO] [stderr]  --> src/server/methods/send_file.rs:5:23
[INFO] [stderr]   |
[INFO] [stderr] 5 |         let file_id = FileId::FileId(app.last_id);
[INFO] [stderr]   |                       ^^^^^^ use of undeclared type or module `FileId`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Update`
[INFO] [stderr]   --> src/server/methods/send_text.rs:10:23
[INFO] [stderr]    |
[INFO] [stderr] 10 |            .push_back(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/server/methods/upload_file.rs:14:23
[INFO] [stderr]    |
[INFO] [stderr] 14 |            .push_back(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 `DownloadedFile`
[INFO] [stderr]  --> src/server/methods/download_file.rs:6:27
[INFO] [stderr]   |
[INFO] [stderr] 6 |             Some(file) => DownloadedFile::File { data: file.payload },
[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/server/methods/download_file.rs:7:21
[INFO] [stderr]   |
[INFO] [stderr] 7 |             None => DownloadedFile::EmptyFile {},
[INFO] [stderr]   |                     ^^^^^^^^^^^^^^ use of undeclared type or module `DownloadedFile`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GeneralAnswer`
[INFO] [stderr]    --> src/main.rs:144:47
[INFO] [stderr]     |
[INFO] [stderr] 144 |                        serde_json::to_string(&GeneralAnswer::Ok(answer)).unwrap())))
[INFO] [stderr]     |                                               ^^^^^^^^^^^^^ use of undeclared type or module `GeneralAnswer`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `GeneralAnswer`
[INFO] [stderr]    --> src/main.rs:161:37
[INFO] [stderr]     |
[INFO] [stderr] 161 |     let answer: GeneralAnswer<()> = GeneralAnswer::Err("bad request".into());
[INFO] [stderr]     |                                     ^^^^^^^^^^^^^ use of undeclared type or module `GeneralAnswer`
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `ServerMethod` in this scope
[INFO] [stderr]  --> src/server/methods/login.rs:3:6
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl ServerMethod<App> for Login {
[INFO] [stderr]   |      ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Login` in this scope
[INFO] [stderr]  --> src/server/methods/login.rs:3:28
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl ServerMethod<App> for Login {
[INFO] [stderr]   |                            ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `ServerMethod` in this scope
[INFO] [stderr]  --> src/server/methods/get_online.rs:3:6
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl ServerMethod<App> for GetOnline {
[INFO] [stderr]   |      ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `GetOnline` in this scope
[INFO] [stderr]  --> src/server/methods/get_online.rs:3:28
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl ServerMethod<App> for GetOnline {
[INFO] [stderr]   |                            ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `ServerMethod` in this scope
[INFO] [stderr]  --> src/server/methods/get_updates.rs:3:6
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl ServerMethod<App> for GetUpdates {
[INFO] [stderr]   |      ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `GetUpdates` in this scope
[INFO] [stderr]  --> src/server/methods/get_updates.rs:3:28
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl ServerMethod<App> for GetUpdates {
[INFO] [stderr]   |                            ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Update` in this scope
[INFO] [stderr]  --> src/server/methods/get_updates.rs:6:26
[INFO] [stderr]   |
[INFO] [stderr] 6 |         let updates: Vec<Update> = user.inbox.drain(..).collect();
[INFO] [stderr]   |                          ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `ServerMethod` in this scope
[INFO] [stderr]  --> src/server/methods/send_file.rs:3:6
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl ServerMethod<App> for SendFile {
[INFO] [stderr]   |      ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SendFile` in this scope
[INFO] [stderr]  --> src/server/methods/send_file.rs:3:28
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl ServerMethod<App> for SendFile {
[INFO] [stderr]   |                            ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FileId` in this scope
[INFO] [stderr]   --> src/server/methods/send_file.rs:4:39
[INFO] [stderr]    |
[INFO] [stderr] 4  |       fn handle(self, app: &mut App) -> FileId {
[INFO] [stderr]    |                                         ^^^^^^ help: a struct with a similar name exists: `File`
[INFO] [stderr]    | 
[INFO] [stderr]   ::: src/main.rs:52:1
[INFO] [stderr]    |
[INFO] [stderr] 52 | / pub struct File {
[INFO] [stderr] 53 | |     pub meta: FileMeta,
[INFO] [stderr] 54 | |     pub payload: Data,
[INFO] [stderr] 55 | | }
[INFO] [stderr]    | |_- similarly named struct `File` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `ServerMethod` in this scope
[INFO] [stderr]  --> src/server/methods/send_text.rs:3:6
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl ServerMethod<App> for SendText {
[INFO] [stderr]   |      ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SendText` in this scope
[INFO] [stderr]  --> src/server/methods/send_text.rs:3:28
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl ServerMethod<App> for SendText {
[INFO] [stderr]   |                            ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `ServerMethod` in this scope
[INFO] [stderr]  --> src/server/methods/upload_file.rs:3:6
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl ServerMethod<App> for UploadFile {
[INFO] [stderr]   |      ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UploadFile` in this scope
[INFO] [stderr]  --> src/server/methods/upload_file.rs:3:28
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl ServerMethod<App> for UploadFile {
[INFO] [stderr]   |                            ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `ServerMethod` in this scope
[INFO] [stderr]  --> src/server/methods/download_file.rs:3:6
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl ServerMethod<App> for DownloadFile {
[INFO] [stderr]   |      ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DownloadFile` in this scope
[INFO] [stderr]  --> src/server/methods/download_file.rs:3:28
[INFO] [stderr]   |
[INFO] [stderr] 3 | impl ServerMethod<App> for DownloadFile {
[INFO] [stderr]   |                            ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DownloadedFile` in this scope
[INFO] [stderr]  --> src/server/methods/download_file.rs:4:39
[INFO] [stderr]   |
[INFO] [stderr] 4 |     fn handle(self, app: &mut App) -> DownloadedFile {
[INFO] [stderr]   |                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Username` in this scope
[INFO] [stderr]   --> src/main.rs:36:24
[INFO] [stderr]    |
[INFO] [stderr] 36 |     pub users: HashMap<Username, User>,
[INFO] [stderr]    |                        ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FileId` in this scope
[INFO] [stderr]   --> src/main.rs:38:26
[INFO] [stderr]    |
[INFO] [stderr] 38 |       pub pending: HashSet<FileId>,
[INFO] [stderr]    |                            ^^^^^^ help: a struct with a similar name exists: `File`
[INFO] [stderr] ...
[INFO] [stderr] 52 | / pub struct File {
[INFO] [stderr] 53 | |     pub meta: FileMeta,
[INFO] [stderr] 54 | |     pub payload: Data,
[INFO] [stderr] 55 | | }
[INFO] [stderr]    | |_- similarly named struct `File` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FileId` in this scope
[INFO] [stderr]   --> src/main.rs:40:24
[INFO] [stderr]    |
[INFO] [stderr] 40 |       pub files: HashMap<FileId, File>,
[INFO] [stderr]    |                          ^^^^^^ help: a struct with a similar name exists: `File`
[INFO] [stderr] ...
[INFO] [stderr] 52 | / pub struct File {
[INFO] [stderr] 53 | |     pub meta: FileMeta,
[INFO] [stderr] 54 | |     pub payload: Data,
[INFO] [stderr] 55 | | }
[INFO] [stderr]    | |_- similarly named struct `File` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Username` in this scope
[INFO] [stderr]   --> src/main.rs:47:19
[INFO] [stderr]    |
[INFO] [stderr] 47 |     pub username: Username,
[INFO] [stderr]    |                   ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Update` in this scope
[INFO] [stderr]   --> src/main.rs:48:25
[INFO] [stderr]    |
[INFO] [stderr] 48 |     pub inbox: VecDeque<Update>,
[INFO] [stderr]    |                         ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `FileMeta` in this scope
[INFO] [stderr]   --> src/main.rs:53:15
[INFO] [stderr]    |
[INFO] [stderr] 53 |     pub meta: FileMeta,
[INFO] [stderr]    |               ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Data` in this scope
[INFO] [stderr]   --> src/main.rs:54:18
[INFO] [stderr]    |
[INFO] [stderr] 54 |     pub payload: Data,
[INFO] [stderr]    |                  ^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: there is an enum variant `serde_json::error::Category::Data`; try using the variant's enum
[INFO] [stderr]    |
[INFO] [stderr] 54 |     pub payload: serde_json::error::Category,
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Username` in this scope
[INFO] [stderr]   --> src/main.rs:73:49
[INFO] [stderr]    |
[INFO] [stderr] 73 |     pub fn get_or_new_user(&mut self, username: Username) -> &mut User {
[INFO] [stderr]    |                                                 ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Username` in this scope
[INFO] [stderr]   --> src/main.rs:81:26
[INFO] [stderr]    |
[INFO] [stderr] 81 |     pub fn new(username: Username) -> Self {
[INFO] [stderr]    |                          ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `ServerMethod` in this scope
[INFO] [stderr]   --> src/main.rs:99:27
[INFO] [stderr]    |
[INFO] [stderr] 99 |     fn route<M: 'static + ServerMethod<App>>(r: &mut router::Router) {
[INFO] [stderr]    |                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Login` in this scope
[INFO] [stderr]    --> src/main.rs:104:13
[INFO] [stderr]     |
[INFO] [stderr] 104 |     route::<Login>(&mut r);
[INFO] [stderr]     |             ^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `GetOnline` in this scope
[INFO] [stderr]    --> src/main.rs:105:13
[INFO] [stderr]     |
[INFO] [stderr] 105 |     route::<GetOnline>(&mut r);
[INFO] [stderr]     |             ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `GetUpdates` in this scope
[INFO] [stderr]    --> src/main.rs:106:13
[INFO] [stderr]     |
[INFO] [stderr] 106 |     route::<GetUpdates>(&mut r);
[INFO] [stderr]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SendText` in this scope
[INFO] [stderr]    --> src/main.rs:107:13
[INFO] [stderr]     |
[INFO] [stderr] 107 |     route::<SendText>(&mut r);
[INFO] [stderr]     |             ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SendFile` in this scope
[INFO] [stderr]    --> src/main.rs:108:13
[INFO] [stderr]     |
[INFO] [stderr] 108 |     route::<SendFile>(&mut r);
[INFO] [stderr]     |             ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UploadFile` in this scope
[INFO] [stderr]    --> src/main.rs:109:13
[INFO] [stderr]     |
[INFO] [stderr] 109 |     route::<UploadFile>(&mut r);
[INFO] [stderr]     |             ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `DownloadFile` in this scope
[INFO] [stderr]    --> src/main.rs:110:13
[INFO] [stderr]     |
[INFO] [stderr] 110 |     route::<DownloadFile>(&mut r);
[INFO] [stderr]     |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `ServerMethod` in this scope
[INFO] [stderr]    --> src/main.rs:124:21
[INFO] [stderr]     |
[INFO] [stderr] 124 | fn handle_method<M: ServerMethod<App>>(req: &mut Request) -> IronResult<Response> {
[INFO] [stderr]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Method` in this scope
[INFO] [stderr]    --> src/main.rs:147:20
[INFO] [stderr]     |
[INFO] [stderr] 147 | fn parse_method<M: Method>(req: &mut Request) -> Result<M, Vec<u8>> {
[INFO] [stderr]     |                    ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `GeneralAnswer` in this scope
[INFO] [stderr]    --> src/main.rs:161:17
[INFO] [stderr]     |
[INFO] [stderr] 161 |     let answer: GeneralAnswer<()> = GeneralAnswer::Err("bad request".into());
[INFO] [stderr]     |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 52 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0405`.
[INFO] [stderr] error: could not compile `server`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "498a66d37bd36f786e812ded9088f7ff776034974902102f7d38fc39817c95ce"`
[INFO] running `"docker" "rm" "-f" "498a66d37bd36f786e812ded9088f7ff776034974902102f7d38fc39817c95ce"`
[INFO] [stdout] 498a66d37bd36f786e812ded9088f7ff776034974902102f7d38fc39817c95ce
