[INFO] updating cached repository infinityb/imageboard [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/infinityb/imageboard [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/infinityb/imageboard" "work/ex/beta-1.38-1/sources/1.37.0/gh/infinityb/imageboard"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/infinityb/imageboard'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/infinityb/imageboard" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/infinityb/imageboard"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/infinityb/imageboard'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ad8efa2954e6b2b2f89ee2a299c2cab86672a47e [INFO] sha for GitHub repo infinityb/imageboard: ad8efa2954e6b2b2f89ee2a299c2cab86672a47e [INFO] validating manifest of infinityb/imageboard 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 infinityb/imageboard 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 infinityb/imageboard [INFO] finished frobbing infinityb/imageboard [INFO] frobbed toml for infinityb/imageboard written to work/ex/beta-1.38-1/sources/1.37.0/gh/infinityb/imageboard/Cargo.toml [INFO] started frobbing infinityb/imageboard [INFO] finished frobbing infinityb/imageboard [INFO] frobbed toml for infinityb/imageboard written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/infinityb/imageboard/Cargo.toml [INFO] crate infinityb/imageboard 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] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/infinityb/imageboard/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/iron/iron.git` [INFO] [stderr] Updating git repository `https://github.com/iron/mount.git` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/iron/iron.git` [INFO] [stderr] Updating git repository `https://github.com/iron/mount.git` [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 infinityb/imageboard against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/infinityb/imageboard:/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" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 1da7502bb51153c8d921a7af5dfe2a81ac60d5811422f6d2cb4194b0b792f42f [INFO] running `"docker" "start" "-a" "1da7502bb51153c8d921a7af5dfe2a81ac60d5811422f6d2cb4194b0b792f42f"` [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling iron v0.6.0 (https://github.com/iron/iron.git#ff3b0ce9) [INFO] [stderr] Compiling mount v0.4.0 (https://github.com/iron/mount.git#5dbbc881) [INFO] [stderr] Compiling imageboard v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `iron::status` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use iron::status; [INFO] [stderr] | ^^^^^^^^^^^^ no `status` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `iron::headers::ContentType` [INFO] [stderr] --> src/main.rs:14:27 [INFO] [stderr] | [INFO] [stderr] 14 | use iron::headers::{self, ContentType}; [INFO] [stderr] | ^^^^^^^^^^^ no `ContentType` in `headers` [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/main.rs:14:21 [INFO] [stderr] | [INFO] [stderr] 14 | use iron::headers::{self, ContentType}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set` found for type `iron::headers::HeaderMap` in the current scope [INFO] [stderr] --> src/main.rs:37:22 [INFO] [stderr] | [INFO] [stderr] 37 | response.headers.set(ContentType("text/plain".parse().unwrap())); [INFO] [stderr] | ^^^ help: there is a method with a similar name: `get` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set` found for type `iron::headers::HeaderMap` in the current scope [INFO] [stderr] --> src/main.rs:222:26 [INFO] [stderr] | [INFO] [stderr] 222 | response.headers.set(ContentType("application/json".parse().unwrap())); [INFO] [stderr] | ^^^ help: there is a method with a similar name: `get` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set` found for type `iron::headers::HeaderMap` in the current scope [INFO] [stderr] --> src/main.rs:237:26 [INFO] [stderr] | [INFO] [stderr] 237 | response.headers.set(ContentType("application/json".parse().unwrap())); [INFO] [stderr] | ^^^ help: there is a method with a similar name: `get` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_to_string` found for type `std::option::Option` in the current scope [INFO] [stderr] --> src/main.rs:245:34 [INFO] [stderr] | [INFO] [stderr] 245 | if let Err(_) = req.body.read_to_string(&mut body_buf) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set` found for type `iron::headers::HeaderMap` in the current scope [INFO] [stderr] --> src/main.rs:265:26 [INFO] [stderr] | [INFO] [stderr] 265 | response.headers.set(ContentType("text/plain".parse().unwrap())); [INFO] [stderr] | ^^^ help: there is a method with a similar name: `get` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_to_string` found for type `std::option::Option` in the current scope [INFO] [stderr] --> src/main.rs:273:34 [INFO] [stderr] | [INFO] [stderr] 273 | if let Err(_) = req.body.read_to_string(&mut body_buf) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set` found for type `iron::headers::HeaderMap` in the current scope [INFO] [stderr] --> src/main.rs:293:26 [INFO] [stderr] | [INFO] [stderr] 293 | response.headers.set(ContentType("text/plain".parse().unwrap())); [INFO] [stderr] | ^^^ help: there is a method with a similar name: `get` [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `path` on type `iron::Url` [INFO] [stderr] --> src/main.rs:304:20 [INFO] [stderr] | [INFO] [stderr] 304 | if req.url.path.len() > 0 { [INFO] [stderr] | ^^^^ help: use parentheses to call the method: `path()` [INFO] [stderr] [INFO] [stderr] error[E0615]: attempted to take value of method `path` on type `iron::Url` [INFO] [stderr] --> src/main.rs:305:33 [INFO] [stderr] | [INFO] [stderr] 305 | thread_id = req.url.path[0].parse().ok().and_then(|id| Some(PostId(id))); [INFO] [stderr] | ^^^^ help: use parentheses to call the method: `path()` [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Get` found for type `iron::Method` in the current scope [INFO] [stderr] --> src/main.rs:309:22 [INFO] [stderr] | [INFO] [stderr] 309 | (Method::Get, Some(thread_id)) => self.handle_get(thread_id, req), [INFO] [stderr] | ^^^ associated item not found in `iron::Method` [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Get` found for type `iron::Method` in the current scope [INFO] [stderr] --> src/main.rs:310:22 [INFO] [stderr] | [INFO] [stderr] 310 | (Method::Get, None) => self.handle_collection_get(req), [INFO] [stderr] | ^^^ associated item not found in `iron::Method` [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Put` found for type `iron::Method` in the current scope [INFO] [stderr] --> src/main.rs:311:22 [INFO] [stderr] | [INFO] [stderr] 311 | (Method::Put, Some(thread_id)) => self.handle_put(thread_id, req), [INFO] [stderr] | ^^^ associated item not found in `iron::Method` [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Put` found for type `iron::Method` in the current scope [INFO] [stderr] --> src/main.rs:312:22 [INFO] [stderr] | [INFO] [stderr] 312 | (Method::Put, None) => self.handle_collection_put(req), [INFO] [stderr] | ^^^ associated item not found in `iron::Method` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `find` found for type `iron::TypeMap` in the current scope [INFO] [stderr] --> src/main.rs:343:57 [INFO] [stderr] | [INFO] [stderr] 343 | let delta = precise_time_ns() - *req.extensions.find::().unwrap(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `find` found for type `iron::TypeMap` in the current scope [INFO] [stderr] --> src/main.rs:349:57 [INFO] [stderr] | [INFO] [stderr] 349 | let delta = precise_time_ns() - *req.extensions.find::().unwrap(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap` found for type `()` in the current scope [INFO] [stderr] --> src/main.rs:368:45 [INFO] [stderr] | [INFO] [stderr] 368 | Iron::new(chain).http("localhost:3000").unwrap(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/main.rs:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io::{Read, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/main.rs:6:21 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io::{Read, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 18 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599, E0615. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `imageboard`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1da7502bb51153c8d921a7af5dfe2a81ac60d5811422f6d2cb4194b0b792f42f"` [INFO] running `"docker" "rm" "-f" "1da7502bb51153c8d921a7af5dfe2a81ac60d5811422f6d2cb4194b0b792f42f"` [INFO] [stdout] 1da7502bb51153c8d921a7af5dfe2a81ac60d5811422f6d2cb4194b0b792f42f