[INFO] cloning repository https://github.com/justjake/rust-gif-server [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justjake/rust-gif-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustjake%2Frust-gif-server"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustjake%2Frust-gif-server'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f97d2b37517eceb024c5d9b64eb96cc1c0bc453b [INFO] testing justjake/rust-gif-server against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustjake%2Frust-gif-server" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/justjake/rust-gif-server on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/justjake/rust-gif-server [INFO] finished tweaking git repo https://github.com/justjake/rust-gif-server [INFO] tweaked toml for git repo https://github.com/justjake/rust-gif-server written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/justjake/rust-gif-server already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2020-06-03" "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] 71ec1b1f8d91c5918730a3fd321f223d747cf92ed6c1987dc7205455ad229242 [INFO] running `"docker" "start" "-a" "71ec1b1f8d91c5918730a3fd321f223d747cf92ed6c1987dc7205455ad229242"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling sequence_trie v0.3.6 [INFO] [stderr] Compiling traitobject v0.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling unicode-bidi v0.2.6 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling hpack v0.2.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling cookie v0.2.5 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling solicit v0.4.4 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling uuid v0.2.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling url v0.5.10 [INFO] [stderr] Compiling hyper v0.8.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling iron v0.3.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling mount v0.4.0 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling staticfile v0.5.0 [INFO] [stderr] Compiling rust-gif-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `mount::Mount` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use mount::Mount; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt` [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use std::fmt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stderr] --> src/main.rs:95:24 [INFO] [stderr] | [INFO] [stderr] 95 | env_logger::init().unwrap(); [INFO] [stderr] | ^^^^^^ method not found in `()` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/main.rs:98:12 [INFO] [stderr] | [INFO] [stderr] 98 | router.get("/", root); [INFO] [stderr] | ^^^ --- ---- supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/main.rs:101:12 [INFO] [stderr] | [INFO] [stderr] 101 | router.get("/browse", browse); [INFO] [stderr] | ^^^ --------- ------ supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stderr] --> src/main.rs:102:12 [INFO] [stderr] | [INFO] [stderr] 102 | router.get("/browse/:query", browse); [INFO] [stderr] | ^^^ ---------------- ------ supplied 2 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 3 arguments [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::Fn<(&mut iron::Request<'_, '_>,)>` closure, found `router::Router` [INFO] [stderr] --> src/main.rs:104:15 [INFO] [stderr] | [INFO] [stderr] 104 | Iron::new(router).http("localhost:3333").unwrap(); [INFO] [stderr] | ^^^^^^ expected an `Fn<(&mut iron::Request<'_, '_>,)>` closure, found `router::Router` [INFO] [stderr] | [INFO] [stderr] = help: the trait `for<'r, 's, 't0> std::ops::Fn<(&'r mut iron::Request<'s, 't0>,)>` is not implemented for `router::Router` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::Handler` for `router::Router` [INFO] [stderr] = note: required by `iron::Iron::::new` [INFO] [stderr] [INFO] [stderr] error[E0277]: expected a `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `router::Router` [INFO] [stderr] --> src/main.rs:104:15 [INFO] [stderr] | [INFO] [stderr] 104 | Iron::new(router).http("localhost:3333").unwrap(); [INFO] [stderr] | ^^^^^^ expected an `FnOnce<(&mut iron::Request<'_, '_>,)>` closure, found `router::Router` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::ops::FnOnce<(&mut iron::Request<'_, '_>,)>` is not implemented for `router::Router` [INFO] [stderr] = note: required because of the requirements on the impl of `iron::Handler` for `router::Router` [INFO] [stderr] = note: required by `iron::Iron::::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `http` found for struct `iron::Iron` in the current scope [INFO] [stderr] --> src/main.rs:104:23 [INFO] [stderr] | [INFO] [stderr] 104 | Iron::new(router).http("localhost:3333").unwrap(); [INFO] [stderr] | ^^^^ method not found in `iron::Iron` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/router-0.6.0/src/router.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct Router { [INFO] [stderr] | ----------------- doesn't satisfy `router::Router: iron::Handler` [INFO] [stderr] | [INFO] [stderr] = note: the method `http` exists but the following trait bounds were not satisfied: [INFO] [stderr] `router::Router: iron::Handler` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `rust-gif-server`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "71ec1b1f8d91c5918730a3fd321f223d747cf92ed6c1987dc7205455ad229242"` [INFO] running `"docker" "rm" "-f" "71ec1b1f8d91c5918730a3fd321f223d747cf92ed6c1987dc7205455ad229242"` [INFO] [stdout] 71ec1b1f8d91c5918730a3fd321f223d747cf92ed6c1987dc7205455ad229242