[INFO] cloning repository https://github.com/infinityb/imageboard [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/infinityb/imageboard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfinityb%2Fimageboard"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfinityb%2Fimageboard'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ad8efa2954e6b2b2f89ee2a299c2cab86672a47e [INFO] checking infinityb/imageboard against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfinityb%2Fimageboard" "/workspace/builds/worker-14/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/infinityb/imageboard on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/infinityb/imageboard [INFO] finished tweaking git repo https://github.com/infinityb/imageboard [INFO] tweaked toml for git repo https://github.com/infinityb/imageboard written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/infinityb/imageboard already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-14/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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/iron/iron.git` [INFO] [stderr] Updating git repository `https://github.com/iron/mount.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 7634145ee29ed20d1f5d3e13a6e89cd1439d8186a580ad9185c63421d8dbe816 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "7634145ee29ed20d1f5d3e13a6e89cd1439d8186a580ad9185c63421d8dbe816"` [INFO] [stderr] Checking mount v0.4.0 (https://github.com/iron/mount.git#5dbbc881) [INFO] [stderr] Checking imageboard v0.0.1 (/opt/rustwide/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[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 `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] | ^^^^^^^^^^^^^^ method not found in `std::option::Option` [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] | ^^^^^^^^^^^^^^ method not found in `std::option::Option` [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] | ^^^^ method not found in `iron::TypeMap` [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] | ^^^^ method not found in `iron::TypeMap` [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] | ^^^^^^ method not found in `()` [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] warning: build failed, waiting for other jobs to finish... [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] | ^^^^^^^^^^^^^^ method not found in `std::option::Option` [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] | ^^^^^^^^^^^^^^ method not found in `std::option::Option` [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] | ^^^^ method not found in `iron::TypeMap` [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] | ^^^^ method not found in `iron::TypeMap` [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] | ^^^^^^ method not found in `()` [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" "7634145ee29ed20d1f5d3e13a6e89cd1439d8186a580ad9185c63421d8dbe816"` [INFO] running `"docker" "rm" "-f" "7634145ee29ed20d1f5d3e13a6e89cd1439d8186a580ad9185c63421d8dbe816"` [INFO] [stdout] 7634145ee29ed20d1f5d3e13a6e89cd1439d8186a580ad9185c63421d8dbe816