[INFO] cloning repository https://github.com/joelparkerhenderson/demo-rust-axum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joelparkerhenderson/demo-rust-axum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelparkerhenderson%2Fdemo-rust-axum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelparkerhenderson%2Fdemo-rust-axum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7904b47f265fe0d880f87f1e6b7e23dcf33a326 [INFO] testing joelparkerhenderson/demo-rust-axum against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelparkerhenderson%2Fdemo-rust-axum" "/workspace/builds/worker-37/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-37/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joelparkerhenderson/demo-rust-axum on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joelparkerhenderson/demo-rust-axum [INFO] finished tweaking git repo https://github.com/joelparkerhenderson/demo-rust-axum [INFO] tweaked toml for git repo https://github.com/joelparkerhenderson/demo-rust-axum written to /workspace/builds/worker-37/source/Cargo.toml [INFO] crate git repo https://github.com/joelparkerhenderson/demo-rust-axum already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded http-range-header v0.3.0 [INFO] [stderr] Downloaded matchit v0.4.6 [INFO] [stderr] Downloaded axum-core v0.1.2 [INFO] [stderr] Downloaded sync_wrapper v0.1.1 [INFO] [stderr] Downloaded axum v0.4.8 [INFO] [stderr] Downloaded tower-layer v0.3.1 [INFO] [stderr] Downloaded tower-http v0.2.5 [INFO] [stderr] Downloaded tower v0.4.12 [INFO] [stderr] Downloaded syn v1.0.88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3ac03cef058b699c4e172d8ca7a98baa53c92d90a4dc53380e02fd6007c099c [INFO] running `Command { std: "docker" "start" "-a" "e3ac03cef058b699c4e172d8ca7a98baa53c92d90a4dc53380e02fd6007c099c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3ac03cef058b699c4e172d8ca7a98baa53c92d90a4dc53380e02fd6007c099c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3ac03cef058b699c4e172d8ca7a98baa53c92d90a4dc53380e02fd6007c099c", kill_on_drop: false }` [INFO] [stdout] e3ac03cef058b699c4e172d8ca7a98baa53c92d90a4dc53380e02fd6007c099c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22934674f8ed9b2a2eec080c61f121fcd06f4ce7196f1ef3300a8890c80cef5b [INFO] running `Command { std: "docker" "start" "-a" "22934674f8ed9b2a2eec080c61f121fcd06f4ce7196f1ef3300a8890c80cef5b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.88 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling matchit v0.4.6 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling mio v0.8.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling axum-core v0.1.2 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling tracing-subscriber v0.3.9 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling tower-http v0.2.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling axum v0.4.8 [INFO] [stderr] Compiling demo-rust-axum v1.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `demo-rust-axum` due to 7 previous errors [INFO] [stdout] error[E0583]: file not found for module `book` [INFO] [stdout] --> src/main.rs:286:1 [INFO] [stdout] | [INFO] [stdout] 286 | mod book; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `book`, create file "src/book.rs" or "src/book/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `data` [INFO] [stdout] --> src/main.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 290 | mod data; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `data`, create file "src/data.rs" or "src/data/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::book::Book` [INFO] [stdout] --> src/main.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | use crate::book::Book; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Book` in `book` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::data::DATA` [INFO] [stdout] --> src/main.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | use crate::data::DATA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `DATA` in `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json<[type error]>) -> impl Future> {put_books}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/main.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | .put(put_books) [INFO] [stdout] | --- ^^^^^^^^^ the trait `Handler<_, _>` is not implemented for `fn(Json<[type error]>) -> impl Future> {put_books}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `MethodRouter::::put` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/axum-0.4.8/src/routing/method_routing.rs:587:5 [INFO] [stdout] | [INFO] [stdout] 587 | chained_handler_fn!(put, PUT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `MethodRouter::::put` [INFO] [stdout] = note: this error originates in the macro `chained_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Form<[type error]>) -> impl Future> {post_books_id_form}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/main.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | .post(post_books_id_form) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for `fn(Form<[type error]>) -> impl Future> {post_books_id_form}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `MethodRouter::::post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/axum-0.4.8/src/routing/method_routing.rs:586:5 [INFO] [stdout] | [INFO] [stdout] 586 | chained_handler_fn!(post, POST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `MethodRouter::::post` [INFO] [stdout] = note: this error originates in the macro `chained_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "22934674f8ed9b2a2eec080c61f121fcd06f4ce7196f1ef3300a8890c80cef5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22934674f8ed9b2a2eec080c61f121fcd06f4ce7196f1ef3300a8890c80cef5b", kill_on_drop: false }` [INFO] [stdout] 22934674f8ed9b2a2eec080c61f121fcd06f4ce7196f1ef3300a8890c80cef5b