[INFO] cloning repository https://github.com/pleasewhy/rust_async_bench [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pleasewhy/rust_async_bench" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpleasewhy%2Frust_async_bench", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpleasewhy%2Frust_async_bench'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ac9cb1bb786611bb413672902736670addd9765 [INFO] checking pleasewhy/rust_async_bench against master#1f81f906893d166d05fb4839f169983f2b564cc7 for pr-135167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpleasewhy%2Frust_async_bench" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pleasewhy/rust_async_bench on toolchain 1f81f906893d166d05fb4839f169983f2b564cc7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f81f906893d166d05fb4839f169983f2b564cc7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pleasewhy/rust_async_bench [INFO] finished tweaking git repo https://github.com/pleasewhy/rust_async_bench [INFO] tweaked toml for git repo https://github.com/pleasewhy/rust_async_bench written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pleasewhy/rust_async_bench 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" "+1f81f906893d166d05fb4839f169983f2b564cc7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/DeathWish5/executor.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded woke v0.0.2 [INFO] [stderr] Downloaded uart_16550 v0.2.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1f81f906893d166d05fb4839f169983f2b564cc7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 938f59a34251981a18bf2cefc550e3908a8e9b6b95ceea9e11f6e6c17885ec50 [INFO] running `Command { std: "docker" "start" "-a" "938f59a34251981a18bf2cefc550e3908a8e9b6b95ceea9e11f6e6c17885ec50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "938f59a34251981a18bf2cefc550e3908a8e9b6b95ceea9e11f6e6c17885ec50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "938f59a34251981a18bf2cefc550e3908a8e9b6b95ceea9e11f6e6c17885ec50", kill_on_drop: false }` [INFO] [stdout] 938f59a34251981a18bf2cefc550e3908a8e9b6b95ceea9e11f6e6c17885ec50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1f81f906893d166d05fb4839f169983f2b564cc7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6af586b0e7b4b619df3a73aa3554c09de237efa6adaba7d48965914d85b95574 [INFO] running `Command { std: "docker" "start" "-a" "6af586b0e7b4b619df3a73aa3554c09de237efa6adaba7d48965914d85b95574", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling x86_64 v0.14.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking volatile v0.4.4 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking woke v0.0.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking uart_16550 v0.2.16 [INFO] [stderr] Compiling executor-macros v0.0.1 (https://github.com/DeathWish5/executor.git#f0a44dd9) [INFO] [stderr] Checking executor v0.6.0 (https://github.com/DeathWish5/executor.git#f0a44dd9) [INFO] [stderr] Checking rust_async_bench v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused attribute `warn` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[warn(unused_variables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `warn` will be ignored, since it's applied to the macro invocation `global_asm` [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | global_asm!(include_str!("entry.S")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown lang item: `oom` [INFO] [stdout] --> src/lang.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[lang = "oom"] [INFO] [stdout] | ^^^^^^^^^^^^^^^ definition of unknown lang item `oom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `warn` [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[warn(unused_variables)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `warn` will be ignored, since it's applied to the macro invocation `global_asm` [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | global_asm!(include_str!("entry.S")); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lang.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] 9 | | loop { [INFO] [stdout] 10 | | core::hint::spin_loop(); [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/1f81f906893d166d05fb4839f169983f2b564cc7/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d6f1d924b2f4233e.rlib [INFO] [stdout] = note: second definition in the local crate (`rust_async_bench`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let x = foo().await; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] warning: formatting may not be suitable for sub-register argument [INFO] [stdout] --> src/main.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | asm!("csrw mstatus, {0}", in(reg) 0); [INFO] [stdout] | ^^^ - for this argument [INFO] [stdout] | [INFO] [stdout] = help: use `{0:e}` to have the register formatted as `eax` (for 32-bit values) [INFO] [stdout] = help: or use `{0:r}` to keep the default formatting of `rax` (for 64-bit values) [INFO] [stdout] = note: `#[warn(asm_sub_register)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: formatting may not be suitable for sub-register argument [INFO] [stdout] --> src/main.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | asm!("csrw mie, {0}", in(reg) 0); [INFO] [stdout] | ^^^ - for this argument [INFO] [stdout] | [INFO] [stdout] = help: use `{0:e}` to have the register formatted as `eax` (for 32-bit values) [INFO] [stdout] = help: or use `{0:r}` to keep the default formatting of `rax` (for 64-bit values) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/lang.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | fn panic(info: &PanicInfo) -> ! { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_async_bench` (bin "rust_async_bench" test) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/lang.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/lang.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/lang.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0522`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_async_bench` (bin "rust_async_bench") due to 2 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6af586b0e7b4b619df3a73aa3554c09de237efa6adaba7d48965914d85b95574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6af586b0e7b4b619df3a73aa3554c09de237efa6adaba7d48965914d85b95574", kill_on_drop: false }` [INFO] [stdout] 6af586b0e7b4b619df3a73aa3554c09de237efa6adaba7d48965914d85b95574