[INFO] updating cached repository https://github.com/infinityb/imageboard [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] ad8efa2954e6b2b2f89ee2a299c2cab86672a47e [INFO] testing infinityb/imageboard against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfinityb%2Fimageboard" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/infinityb/imageboard on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-8/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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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.44.0" "build" "--frozen"` [INFO] [stdout] 830b7390c6a0bb22b488b1f69c138cdd7db33e27a91831b08cecdeaa7e536907 [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" "830b7390c6a0bb22b488b1f69c138cdd7db33e27a91831b08cecdeaa7e536907"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling iron v0.6.0 (https://github.com/iron/iron.git#e38695bf) [INFO] [stderr] Compiling mount v0.4.0 (https://github.com/iron/mount.git#5dbbc881) [INFO] [stderr] Compiling 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 struct `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 an associated function with a similar name: `get` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set` found for struct `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 an associated function with a similar name: `get` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set` found for struct `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 an associated function with a similar name: `get` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_to_string` found for enum `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 struct `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 an associated function with a similar name: `get` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_to_string` found for enum `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 struct `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 an associated function 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] | ^^^^ method, not a field [INFO] [stderr] | [INFO] [stderr] help: use parentheses to call the method [INFO] [stderr] | [INFO] [stderr] 304 | if req.url.path().len() > 0 { [INFO] [stderr] | ^^ [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] | ^^^^ method, not a field [INFO] [stderr] | [INFO] [stderr] help: use parentheses to call the method [INFO] [stderr] | [INFO] [stderr] 305 | thread_id = req.url.path()[0].parse().ok().and_then(|id| Some(PostId(id))); [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no associated item named `Get` found for struct `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 struct `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 struct `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 struct `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 struct `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 struct `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 unit 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; 3 warnings emitted [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" "830b7390c6a0bb22b488b1f69c138cdd7db33e27a91831b08cecdeaa7e536907"` [INFO] running `"docker" "rm" "-f" "830b7390c6a0bb22b488b1f69c138cdd7db33e27a91831b08cecdeaa7e536907"` [INFO] [stdout] 830b7390c6a0bb22b488b1f69c138cdd7db33e27a91831b08cecdeaa7e536907