[INFO] updating cached repository https://github.com/stigkj/rustful-example [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] b1bb2401c4dcf7c534851f51cb0a3ff283682327 [INFO] testing stigkj/rustful-example against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstigkj%2Frustful-example" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stigkj/rustful-example 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/stigkj/rustful-example [INFO] finished tweaking git repo https://github.com/stigkj/rustful-example [INFO] tweaked toml for git repo https://github.com/stigkj/rustful-example written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/stigkj/rustful-example 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] warning: file found to be present in multiple build targets: /workspace/builds/worker-3/source/src/main.rs [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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] Updating git repository `https://github.com/Ogeon/rustful` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-3/source/src/main.rs [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b6cffbab23788ad0ca0dfd2cd085c547c8b77c33947bde9219f3a0fe144423a6 [INFO] running `"docker" "start" "-a" "b6cffbab23788ad0ca0dfd2cd085c547c8b77c33947bde9219f3a0fe144423a6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/src/main.rs [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling buf_redux v0.6.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling multipart v0.14.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling rustful v0.9.0 (https://github.com/Ogeon/rustful#24173f35) [INFO] [stderr] Compiling test v0.1.0-pre (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `rustful::TreeRouter` [INFO] [stderr] --> src/main.rs:9:42 [INFO] [stderr] | [INFO] [stderr] 9 | use rustful::{Server, Context, Response, TreeRouter, Handler}; [INFO] [stderr] | ^^^^^^^^^^ no `TreeRouter` in the root [INFO] [stderr] [INFO] [stderr] error: cannot find macro `insert_routes` in this scope [INFO] [stderr] --> src/main.rs:37:18 [INFO] [stderr] | [INFO] [stderr] 37 | let router = insert_routes!{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0437]: type `Cache` is not a member of trait `Handler` [INFO] [stderr] --> src/main.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | type Cache = (); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not a member of trait `Handler` [INFO] [stderr] [INFO] [stderr] error[E0407]: method `handle_request` is not a member of trait `Handler` [INFO] [stderr] --> src/main.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | / fn handle_request(&self, context: Context, response: Response) { [INFO] [stderr] 32 | | self.0(context, response); [INFO] [stderr] 33 | | } [INFO] [stderr] | |_____^ not a member of trait `Handler` [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(core)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rustful::Method::Get` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use rustful::Method::Get; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0046]: not all trait items implemented, missing: `handle` [INFO] [stderr] --> src/main.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | impl Handler for HandlerFn { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `handle` in implementation [INFO] [stderr] | [INFO] [stderr] = help: implement the missing item: `fn handle(&self, _: rustful::Context<'_, '_, '_, '_>, _: rustful::Response<'_, '_>) { todo!() }` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `into_writer` found for struct `rustful::Response<'_, '_>` in the current scope [INFO] [stderr] --> src/main.rs:20:30 [INFO] [stderr] | [INFO] [stderr] 20 | if let Err(e) = response.into_writer().send(format!("Hello, {}!", person)) { [INFO] [stderr] | ^^^^^^^^^^^ method not found in `rustful::Response<'_, '_>` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `log` on type `rustful::Context<'_, '_, '_, '_>` [INFO] [stderr] --> src/main.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | context.log.note(&format!("could not send hello: {}", e.description())); [INFO] [stderr] | ^^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `headers`, `http_version`, `address`, `method`, `uri_path` ... and 6 others [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stderr] --> src/main.rs:49:25 [INFO] [stderr] | [INFO] [stderr] 49 | let server_result = Server::new().port(8080).handlers(router).run(); [INFO] [stderr] | ^^^^^^^^^^^-- supplied 0 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 1 argument [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `port` found for struct `rustful::Server<_>` in the current scope [INFO] [stderr] --> src/main.rs:49:39 [INFO] [stderr] | [INFO] [stderr] 49 | let server_result = Server::new().port(8080).handlers(router).run(); [INFO] [stderr] | ^^^^ method not found in `rustful::Server<_>` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0046, E0061, E0407, E0432, E0437, E0554, E0599, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0046`. [INFO] [stderr] error: could not compile `test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "b6cffbab23788ad0ca0dfd2cd085c547c8b77c33947bde9219f3a0fe144423a6"` [INFO] running `"docker" "rm" "-f" "b6cffbab23788ad0ca0dfd2cd085c547c8b77c33947bde9219f3a0fe144423a6"` [INFO] [stdout] b6cffbab23788ad0ca0dfd2cd085c547c8b77c33947bde9219f3a0fe144423a6