[INFO] cloning repository https://github.com/ukangaekom/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/ukangaekom/rust_axum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fukangaekom%2Frust_axum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fukangaekom%2Frust_axum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae3c047ec1adf16cbe1952dbc86c426eee950ca8 [INFO] checking ukangaekom/rust_axum against try#7df376b035b3d12ff0386ad8b45b76dbe020257b for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fukangaekom%2Frust_axum" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ukangaekom/rust_axum [INFO] finished tweaking git repo https://github.com/ukangaekom/rust_axum [INFO] tweaked toml for git repo https://github.com/ukangaekom/rust_axum written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ukangaekom/rust_axum on toolchain 7df376b035b3d12ff0386ad8b45b76dbe020257b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ukangaekom/rust_axum already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5af2e5135db428c8e005f9adb20e4889005b1e31b3a099af059378f25073338d [INFO] running `Command { std: "docker" "start" "-a" "5af2e5135db428c8e005f9adb20e4889005b1e31b3a099af059378f25073338d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5af2e5135db428c8e005f9adb20e4889005b1e31b3a099af059378f25073338d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5af2e5135db428c8e005f9adb20e4889005b1e31b3a099af059378f25073338d", kill_on_drop: false }` [INFO] [stdout] 5af2e5135db428c8e005f9adb20e4889005b1e31b3a099af059378f25073338d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da18c9e2d881939a9c17ae49fa106273e9672b0e14728d723e94a043180c9db2 [INFO] running `Command { std: "docker" "start" "-a" "da18c9e2d881939a9c17ae49fa106273e9672b0e14728d723e94a043180c9db2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking tungstenite v0.26.2 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-tungstenite v0.26.2 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking rust_axum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | routing:post, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] help: use double colon [INFO] [stdout] | [INFO] [stdout] 3 | routing::post, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `::`, found `:` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | routing:post, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: import paths are delimited using `::` [INFO] [stdout] help: use double colon [INFO] [stdout] | [INFO] [stdout] 3 | routing::post, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments [INFO] [stdout] --> src/main.rs:11:71 [INFO] [stdout] | [INFO] [stdout] 11 | let router01: Router<{unknown}> = Router::new().route("/vehicle", get(hander: vehicle_get)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if `get` is a struct, use braces as delimiters [INFO] [stdout] | [INFO] [stdout] 11 - let router01: Router<{unknown}> = Router::new().route("/vehicle", get(hander: vehicle_get)); [INFO] [stdout] 11 + let router01: Router<{unknown}> = Router::new().route("/vehicle", get { hander: vehicle_get }); [INFO] [stdout] | [INFO] [stdout] help: if `get` is a function, use the arguments directly [INFO] [stdout] | [INFO] [stdout] 11 - let router01: Router<{unknown}> = Router::new().route("/vehicle", get(hander: vehicle_get)); [INFO] [stdout] 11 + let router01: Router<{unknown}> = Router::new().route("/vehicle", get(vehicle_get)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments [INFO] [stdout] --> src/main.rs:11:71 [INFO] [stdout] | [INFO] [stdout] 11 | let router01: Router<{unknown}> = Router::new().route("/vehicle", get(hander: vehicle_get)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if `get` is a struct, use braces as delimiters [INFO] [stdout] | [INFO] [stdout] 11 - let router01: Router<{unknown}> = Router::new().route("/vehicle", get(hander: vehicle_get)); [INFO] [stdout] 11 + let router01: Router<{unknown}> = Router::new().route("/vehicle", get { hander: vehicle_get }); [INFO] [stdout] | [INFO] [stdout] help: if `get` is a function, use the arguments directly [INFO] [stdout] | [INFO] [stdout] 11 - let router01: Router<{unknown}> = Router::new().route("/vehicle", get(hander: vehicle_get)); [INFO] [stdout] 11 + let router01: Router<{unknown}> = Router::new().route("/vehicle", get(vehicle_get)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid label name `'static` [INFO] [stdout] --> src/main.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let address &'static str = "0.0.0.0:6570"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid label name `'static` [INFO] [stdout] --> src/main.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let address &'static str = "0.0.0.0:6570"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `while`, `for`, `loop` or `{` after a label [INFO] [stdout] --> src/main.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | let address &'static str = "0.0.0.0:6570"; [INFO] [stdout] | ^^^ expected `while`, `for`, `loop` or `{` after a label [INFO] [stdout] | [INFO] [stdout] help: consider removing the label [INFO] [stdout] | [INFO] [stdout] 14 - let address &'static str = "0.0.0.0:6570"; [INFO] [stdout] 14 + let address &str = "0.0.0.0:6570"; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `while`, `for`, `loop` or `{` after a label [INFO] [stdout] --> src/main.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | let address &'static str = "0.0.0.0:6570"; [INFO] [stdout] | ^^^ expected `while`, `for`, `loop` or `{` after a label [INFO] [stdout] | [INFO] [stdout] help: consider removing the label [INFO] [stdout] | [INFO] [stdout] 14 - let address &'static str = "0.0.0.0:6570"; [INFO] [stdout] 14 + let address &str = "0.0.0.0:6570"; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: labeled expression must be followed by `:` [INFO] [stdout] --> src/main.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | let address &'static str = "0.0.0.0:6570"; [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the label [INFO] [stdout] | [INFO] [stdout] = note: labels are used before loops and blocks, allowing e.g., `break 'label` to them [INFO] [stdout] help: add `:` after the label [INFO] [stdout] | [INFO] [stdout] 14 | let address &'static: str = "0.0.0.0:6570"; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: labeled expression must be followed by `:` [INFO] [stdout] --> src/main.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | let address &'static str = "0.0.0.0:6570"; [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the label [INFO] [stdout] | [INFO] [stdout] = note: labels are used before loops and blocks, allowing e.g., `break 'label` to them [INFO] [stdout] help: add `:` after the label [INFO] [stdout] | [INFO] [stdout] 14 | let address &'static: str = "0.0.0.0:6570"; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected a pattern, found an expression [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let address &'static str = "0.0.0.0:6570"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a pattern [INFO] [stdout] | [INFO] [stdout] = note: arbitrary expressions are not allowed in patterns: [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected a pattern, found an expression [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let address &'static str = "0.0.0.0:6570"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a pattern [INFO] [stdout] | [INFO] [stdout] = note: arbitrary expressions are not allowed in patterns: [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `unknown` in this scope [INFO] [stdout] --> src/main.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | let router01: Router<{unknown}> = Router::new().route("/vehicle", get(hander: vehicle_get)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `unknown` in this scope [INFO] [stdout] --> src/main.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | let router01: Router<{unknown}> = Router::new().route("/vehicle", get(hander: vehicle_get)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/main.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | let listener:TcpListener = tokio::net::TcpListener::bind(address).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/main.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | let listener:TcpListener = tokio::net::TcpListener::bind(address).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `address` in this scope [INFO] [stdout] --> src/main.rs:15:62 [INFO] [stdout] | [INFO] [stdout] 15 | let listener:TcpListener = tokio::net::TcpListener::bind(address).await.unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `axum` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | axum.serve(listener, router01).await.unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 19 - axum.serve(listener, router01).await.unwrap(); [INFO] [stdout] 19 + axum::serve(listener, router01).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `address` in this scope [INFO] [stdout] --> src/main.rs:15:62 [INFO] [stdout] | [INFO] [stdout] 15 | let listener:TcpListener = tokio::net::TcpListener::bind(address).await.unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `axum` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | axum.serve(listener, router01).await.unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 19 - axum.serve(listener, router01).await.unwrap(); [INFO] [stdout] 19 + axum::serve(listener, router01).await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `routing::get` and `routing:post` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | routing::get, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | routing:post, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `routing::get` and `routing:post` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | routing::get, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | routing:post, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0747]: constant provided when a type was expected [INFO] [stdout] --> src/main.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let router01: Router<{unknown}> = Router::new().route("/vehicle", get(hander: vehicle_get)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0747]: constant provided when a type was expected [INFO] [stdout] --> src/main.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | let router01: Router<{unknown}> = Router::new().route("/vehicle", get(hander: vehicle_get)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0747. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0747. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_axum` (bin "rust_axum" test) due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust_axum` (bin "rust_axum") due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "da18c9e2d881939a9c17ae49fa106273e9672b0e14728d723e94a043180c9db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da18c9e2d881939a9c17ae49fa106273e9672b0e14728d723e94a043180c9db2", kill_on_drop: false }` [INFO] [stdout] da18c9e2d881939a9c17ae49fa106273e9672b0e14728d723e94a043180c9db2