[INFO] cloning repository https://github.com/davidgamero/wasmambo5 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidgamero/wasmambo5" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidgamero%2Fwasmambo5", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidgamero%2Fwasmambo5'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c01c0ddbe5c9527e45cd07f2142e305d9e33ddd4 [INFO] checking davidgamero/wasmambo5/c01c0ddbe5c9527e45cd07f2142e305d9e33ddd4 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidgamero%2Fwasmambo5" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davidgamero/wasmambo5 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/davidgamero/wasmambo5 [INFO] finished tweaking git repo https://github.com/davidgamero/wasmambo5 [INFO] tweaked toml for git repo https://github.com/davidgamero/wasmambo5 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/davidgamero/wasmambo5 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/fermyon/spin` [INFO] [stderr] error: invalid character `{` in package name: `{{project-name | kebab_case}}`, the first character must be a Unicode XID start character (most letters or `_`) [INFO] [stderr] --> ../../../cargo-home/git/checkouts/spin-91500438ac5656d2/df99be2/templates/http-rust/content/Cargo.toml:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | name = "{{project-name | kebab_case}}" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] error: invalid character `{` in package name: `{{project-name | kebab_case}}`, the first character must be a Unicode XID start character (most letters or `_`) [INFO] [stderr] --> ../../../cargo-home/git/checkouts/spin-91500438ac5656d2/df99be2/templates/redis-rust/content/Cargo.toml:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | name = "{{project-name | kebab_case}}" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] Updating git repository `https://github.com/bytecodealliance/wit-bindgen` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc203b1fac275793a9f13fd264b340c6573f6bc4510bf063a9037067663118b9 [INFO] running `Command { std: "docker" "start" "-a" "bc203b1fac275793a9f13fd264b340c6573f6bc4510bf063a9037067663118b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc203b1fac275793a9f13fd264b340c6573f6bc4510bf063a9037067663118b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc203b1fac275793a9f13fd264b340c6573f6bc4510bf063a9037067663118b9", kill_on_drop: false }` [INFO] [stdout] bc203b1fac275793a9f13fd264b340c6573f6bc4510bf063a9037067663118b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28bc7d8bb83cedc1d2f6ac2aff4a462fe5ca64e20f8639affb162ccd92b11ae1 [INFO] running `Command { std: "docker" "start" "-a" "28bc7d8bb83cedc1d2f6ac2aff4a462fe5ca64e20f8639affb162ccd92b11ae1", kill_on_drop: false }` [INFO] [stderr] error: invalid character `{` in package name: `{{project-name | kebab_case}}`, the first character must be a Unicode XID start character (most letters or `_`) [INFO] [stderr] --> ../cargo-home/git/checkouts/spin-91500438ac5656d2/df99be2/templates/http-rust/content/Cargo.toml:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | name = "{{project-name | kebab_case}}" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] error: invalid character `{` in package name: `{{project-name | kebab_case}}`, the first character must be a Unicode XID start character (most letters or `_`) [INFO] [stderr] --> ../cargo-home/git/checkouts/spin-91500438ac5656d2/df99be2/templates/redis-rust/content/Cargo.toml:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | name = "{{project-name | kebab_case}}" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling wit-bindgen-gen-rust-wasm v0.2.0 (https://github.com/bytecodealliance/wit-bindgen?rev=cb871cfa1ee460b51eb1d144b175b9aab9c50aba#cb871cfa) [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling async-trait v0.1.71 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling itoa v1.0.8 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling spin-sdk v1.0.0 (https://github.com/fermyon/spin?tag=v1.0.0#df99be23) [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling wit-parser v0.2.0 (https://github.com/bytecodealliance/wit-bindgen?rev=cb871cfa1ee460b51eb1d144b175b9aab9c50aba#cb871cfa) [INFO] [stderr] Compiling wit-bindgen-gen-core v0.2.0 (https://github.com/bytecodealliance/wit-bindgen?rev=cb871cfa1ee460b51eb1d144b175b9aab9c50aba#cb871cfa) [INFO] [stderr] Compiling wit-bindgen-gen-rust v0.2.0 (https://github.com/bytecodealliance/wit-bindgen?rev=cb871cfa1ee460b51eb1d144b175b9aab9c50aba#cb871cfa) [INFO] [stderr] Compiling wit-bindgen-rust-impl v0.2.0 (https://github.com/bytecodealliance/wit-bindgen?rev=cb871cfa1ee460b51eb1d144b175b9aab9c50aba#cb871cfa) [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling wit-bindgen-rust v0.2.0 (https://github.com/bytecodealliance/wit-bindgen?rev=cb871cfa1ee460b51eb1d144b175b9aab9c50aba#cb871cfa) [INFO] [stderr] Compiling spin-macro v0.1.0 (https://github.com/fermyon/spin?tag=v1.0.0#df99be23) [INFO] [stderr] Checking wasmambo5 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `http::Response` [INFO] [stdout] --> src/logic.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use http::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `Value` [INFO] [stdout] --> src/logic.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | use serde_json::{json, Value, Error}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Response` [INFO] [stdout] --> src/logic.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use http::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `Value` [INFO] [stdout] --> src/logic.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | use serde_json::{json, Value, Error}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/logic.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn start(_game: &Game, _turn: &u32, _board: &Board, _you: &Battlesnake) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `end` is never used [INFO] [stdout] --> src/logic.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn end(_game: &Game, _turn: &u32, _board: &Board, _you: &Battlesnake) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/logic.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn start(_game: &Game, _turn: &u32, _board: &Board, _you: &Battlesnake) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `end` is never used [INFO] [stdout] --> src/logic.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn end(_game: &Game, _turn: &u32, _board: &Board, _you: &Battlesnake) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.82s [INFO] running `Command { std: "docker" "inspect" "28bc7d8bb83cedc1d2f6ac2aff4a462fe5ca64e20f8639affb162ccd92b11ae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28bc7d8bb83cedc1d2f6ac2aff4a462fe5ca64e20f8639affb162ccd92b11ae1", kill_on_drop: false }` [INFO] [stdout] 28bc7d8bb83cedc1d2f6ac2aff4a462fe5ca64e20f8639affb162ccd92b11ae1