[INFO] cloning repository https://github.com/zack37/async-programming-in-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zack37/async-programming-in-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzack37%2Fasync-programming-in-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzack37%2Fasync-programming-in-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 860c0f2ef948dbbdcd0c04ac4cc6a260e248ce3c [INFO] testing zack37/async-programming-in-rust against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzack37%2Fasync-programming-in-rust" "/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/zack37/async-programming-in-rust [INFO] finished tweaking git repo https://github.com/zack37/async-programming-in-rust [INFO] tweaked toml for git repo https://github.com/zack37/async-programming-in-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zack37/async-programming-in-rust on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zack37/async-programming-in-rust 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d84cdb227338fde7bffbe7b98b89696bc60371da792551cbea9b11f30aa020c1 [INFO] running `Command { std: "docker" "start" "-a" "d84cdb227338fde7bffbe7b98b89696bc60371da792551cbea9b11f30aa020c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d84cdb227338fde7bffbe7b98b89696bc60371da792551cbea9b11f30aa020c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d84cdb227338fde7bffbe7b98b89696bc60371da792551cbea9b11f30aa020c1", kill_on_drop: false }` [INFO] [stdout] d84cdb227338fde7bffbe7b98b89696bc60371da792551cbea9b11f30aa020c1 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 269daab00d217dcfdb71a7eb0f7a471916738079a9de804cd94daba307a14d55 [INFO] running `Command { std: "docker" "start" "-a" "269daab00d217dcfdb71a7eb0f7a471916738079a9de804cd94daba307a14d55", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling impl-more v0.1.6 [INFO] [stderr] Compiling a_epoll v0.1.0 (/opt/rustwide/workdir/chapters/chapter-04/a-epoll) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> chapters/chapter-04/a-epoll/src/poll.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | io::{self, Result}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> chapters/chapter-04/a-epoll/src/main.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | io::{self, Read, Result, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling b-epoll-mio v0.1.0 (/opt/rustwide/workdir/chapters/chapter-04/b-epoll-mio) [INFO] [stderr] Compiling chapter-03 v0.1.0 (/opt/rustwide/workdir/chapters/chapter-03) [INFO] [stderr] Compiling a-stack-swap v0.1.0 (/opt/rustwide/workdir/chapters/chapter-05/a-stack-swap) [INFO] [stderr] Compiling c-fibers v0.1.0 (/opt/rustwide/workdir/chapters/chapter-05/c-fibers) [INFO] [stderr] Compiling url v2.5.2 [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> chapters/chapter-05/c-fibers/src/main.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 103 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 103 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> chapters/chapter-05/c-fibers/src/main.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | #[naked] [INFO] [stdout] | ^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 115 | #[unsafe(naked)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> chapters/chapter-05/c-fibers/src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> chapters/chapter-05/c-fibers/src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | asm!("ret", options(noreturn)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider using the `naked_asm!` macro instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0787]: the `asm!` macro is not allowed in naked functions [INFO] [stdout] --> chapters/chapter-05/c-fibers/src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / asm!( [INFO] [stdout] 118 | | "mov [rdi + 0x00], rsp", [INFO] [stdout] 119 | | "mov [rdi + 0x08], r15", [INFO] [stdout] 120 | | "mov [rdi + 0x10], r14", [INFO] [stdout] ... | [INFO] [stdout] 133 | | options(noreturn) [INFO] [stdout] 134 | | ); [INFO] [stdout] | |_____^ consider using the `naked_asm!` macro instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0787`. [INFO] [stdout] [INFO] [stderr] error: could not compile `c-fibers` (bin "c-fibers") due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "269daab00d217dcfdb71a7eb0f7a471916738079a9de804cd94daba307a14d55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "269daab00d217dcfdb71a7eb0f7a471916738079a9de804cd94daba307a14d55", kill_on_drop: false }` [INFO] [stdout] 269daab00d217dcfdb71a7eb0f7a471916738079a9de804cd94daba307a14d55