[INFO] fetching crate tinyapi 0.1.12...
[INFO] testing tinyapi-0.1.12 against 1.100.0-beta.1 for beta-1.100-2
[INFO] extracting crate tinyapi 0.1.12 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate tinyapi 0.1.12
[INFO] finished tweaking crates.io crate tinyapi 0.1.12
[INFO] tweaked toml for crates.io crate tinyapi 0.1.12 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate tinyapi 0.1.12 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate tinyapi 0.1.12 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5b19ce7e5c76db957f3c2fe239930213c8611bc0818f53880128b6b2f65fc06b
[INFO] running `Command { std: "docker" "start" "5b19ce7e5c76db957f3c2fe239930213c8611bc0818f53880128b6b2f65fc06b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5b19ce7e5c76db957f3c2fe239930213c8611bc0818f53880128b6b2f65fc06b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5b19ce7e5c76db957f3c2fe239930213c8611bc0818f53880128b6b2f65fc06b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5b19ce7e5c76db957f3c2fe239930213c8611bc0818f53880128b6b2f65fc06b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5b19ce7e5c76db957f3c2fe239930213c8611bc0818f53880128b6b2f65fc06b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling defmt v1.0.1
[INFO] [stderr]    Compiling defmt-macros v1.0.1
[INFO] [stderr]    Compiling nb v1.1.0
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling heapless v0.9.3
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling critical-section v1.2.0
[INFO] [stderr]    Compiling embedded-hal-async v1.0.0
[INFO] [stderr]    Compiling embassy-time-driver v0.2.2
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling embedded-hal v1.0.0
[INFO] [stderr]    Compiling embassy-sync v0.8.0
[INFO] [stderr]    Compiling hash32 v0.3.1
[INFO] [stderr]    Compiling smoltcp v0.13.1
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling embedded-hal v0.2.7
[INFO] [stderr]    Compiling embedded-nal v0.9.0
[INFO] [stderr]    Compiling heapless v0.8.0
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling embassy-executor v0.10.0
[INFO] [stderr]    Compiling managed v0.8.0
[INFO] [stderr]    Compiling cordyceps v0.3.4
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling embassy-executor-timer-queue v0.1.0
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]    Compiling embassy-futures v0.1.2
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling defmt-parser v1.0.0
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling embassy-executor-macros v0.8.0
[INFO] [stderr]    Compiling embedded-io v0.7.1
[INFO] [stderr]    Compiling defmt v0.3.100
[INFO] [stderr]    Compiling embassy-time v0.5.1
[INFO] [stderr]    Compiling embassy-net-driver v0.2.0
[INFO] [stderr]    Compiling embedded-io-async v0.7.0
[INFO] [stderr]    Compiling embedded-nal-async v0.9.0
[INFO] [stderr]    Compiling embassy-net v0.9.1
[INFO] [stderr]    Compiling tinyapi v0.1.12 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `http_post` is never used
[INFO] [stdout]   --> src/client.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub async fn http_post<'a>(
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_post_request` is never used
[INFO] [stdout]    --> src/client.rs:138:4
[INFO] [stdout]     |
[INFO] [stdout] 138 | fn format_post_request(buf: &mut [u8], host: &str, path: &str, content_type: &str, body: &[u8]) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.86s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "5b19ce7e5c76db957f3c2fe239930213c8611bc0818f53880128b6b2f65fc06b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5b19ce7e5c76db957f3c2fe239930213c8611bc0818f53880128b6b2f65fc06b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling tinyapi v0.1.12 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `http_post` is never used
[INFO] [stdout]   --> src/client.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub async fn http_post<'a>(
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_post_request` is never used
[INFO] [stdout]    --> src/client.rs:138:4
[INFO] [stdout]     |
[INFO] [stdout] 138 | fn format_post_request(buf: &mut [u8], host: &str, path: &str, content_type: &str, body: &[u8]) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `http_post` is never used
[INFO] [stdout]   --> src/client.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub async fn http_post<'a>(
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_post_request` is never used
[INFO] [stdout]    --> src/client.rs:138:4
[INFO] [stdout]     |
[INFO] [stdout] 138 | fn format_post_request(buf: &mut [u8], host: &str, path: &str, content_type: &str, body: &[u8]) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "5b19ce7e5c76db957f3c2fe239930213c8611bc0818f53880128b6b2f65fc06b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5b19ce7e5c76db957f3c2fe239930213c8611bc0818f53880128b6b2f65fc06b" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: function `http_post` is never used
[INFO] [stderr]   --> src/client.rs:57:14
[INFO] [stderr]    |
[INFO] [stderr] 57 | pub async fn http_post<'a>(
[INFO] [stderr]    |              ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `format_post_request` is never used
[INFO] [stderr]    --> src/client.rs:138:4
[INFO] [stderr]     |
[INFO] [stderr] 138 | fn format_post_request(buf: &mut [u8], host: &str, path: &str, content_type: &str, body: &[u8]) -> usize {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `tinyapi` (lib) generated 2 warnings
[INFO] [stderr] warning: `tinyapi` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/tinyapi/5a4a38588639aa63/out/tinyapi-5a4a38588639aa63)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests tinyapi
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 4) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 4) stdout ----
[INFO] [stdout] error: couldn't read `src/index.html`: No such file or directory (os error 2)
[INFO] [stdout]  --> src/lib.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 | register_route("/", |_req| Response::html(include_str!("index.html"))).await;
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `alloc` in this scope
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     log!("LED set to {}", state);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `alloc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `alloc` in this scope
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     log!("LED set to {}", state);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `alloc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `spawner` in this scope
[INFO] [stdout]   --> src/lib.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | spawner.spawn(web_server_task(stack)).unwrap();
[INFO] [stdout]    | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stack` in this scope
[INFO] [stdout]   --> src/lib.rs:15:31
[INFO] [stdout]    |
[INFO] [stdout] 15 | spawner.spawn(web_server_task(stack)).unwrap();
[INFO] [stdout]    |                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:8:72
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_4_0() {
[INFO] [stdout]   |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | register_route("/", |_req| Response::html(include_str!("index.html"))).await;
[INFO] [stdout]   |                                                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout]  5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_4_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 13 | }).await;
[INFO] [stdout]    |    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 4)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.19s; merged doctests compilation took 0.11s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "5b19ce7e5c76db957f3c2fe239930213c8611bc0818f53880128b6b2f65fc06b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b19ce7e5c76db957f3c2fe239930213c8611bc0818f53880128b6b2f65fc06b", kill_on_drop: false }`
[INFO] [stdout] 5b19ce7e5c76db957f3c2fe239930213c8611bc0818f53880128b6b2f65fc06b
