[INFO] cloning repository https://github.com/minhtrannhat/rusty-fibers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/minhtrannhat/rusty-fibers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminhtrannhat%2Frusty-fibers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminhtrannhat%2Frusty-fibers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e5b38a8909a6eabd8624895b684c84e055d5a0e [INFO] checking minhtrannhat/rusty-fibers against master#a932eb36f8adf6c8cdfc450f063943da3112d621 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fminhtrannhat%2Frusty-fibers" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/minhtrannhat/rusty-fibers on toolchain a932eb36f8adf6c8cdfc450f063943da3112d621 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/minhtrannhat/rusty-fibers [INFO] finished tweaking git repo https://github.com/minhtrannhat/rusty-fibers [INFO] tweaked toml for git repo https://github.com/minhtrannhat/rusty-fibers written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/minhtrannhat/rusty-fibers 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" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c6bf8cb8253f59ed3dc46c53337a123e8aaa7abd51c9831ced5243fbe5c3451 [INFO] running `Command { std: "docker" "start" "-a" "2c6bf8cb8253f59ed3dc46c53337a123e8aaa7abd51c9831ced5243fbe5c3451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c6bf8cb8253f59ed3dc46c53337a123e8aaa7abd51c9831ced5243fbe5c3451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c6bf8cb8253f59ed3dc46c53337a123e8aaa7abd51c9831ced5243fbe5c3451", kill_on_drop: false }` [INFO] [stdout] 2c6bf8cb8253f59ed3dc46c53337a123e8aaa7abd51c9831ced5243fbe5c3451 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6885bdc50a2199d68819d2b4007804f1d62266a8cb972ea2a49776e8ad2f4424 [INFO] running `Command { std: "docker" "start" "-a" "6885bdc50a2199d68819d2b4007804f1d62266a8cb972ea2a49776e8ad2f4424", kill_on_drop: false }` [INFO] [stderr] Checking rusty-fiber v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_STACK_SIZE` is never used [INFO] [stdout] --> src/runtime.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const DEFAULT_STACK_SIZE: usize = 1024 * 1024 * 2; // 2MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_THREADS` is never used [INFO] [stdout] --> src/runtime.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MAX_THREADS: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `RUNTIME` is never used [INFO] [stdout] --> src/runtime.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub static mut RUNTIME: usize = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Runtime` is never constructed [INFO] [stdout] --> src/runtime.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Runtime { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, `run`, `t_return`, and `t_yield` are never used [INFO] [stdout] --> src/runtime.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Runtime { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn init(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn run(&mut self) -> ! { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn t_return(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn t_yield(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Thread` is never constructed [INFO] [stdout] --> src/thread.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Thread { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Available`, `Running`, and `Ready` are never constructed [INFO] [stdout] --> src/thread.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum ThreadState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 16 | Available, // Thread ready to be assigned to a task [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | Running, // Thread running [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | Ready, // Thread ready to move forward and resume execution (i.e after a blocking network syscall) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/thread.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Thread { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 48 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_STACK_SIZE` is never used [INFO] [stdout] --> src/runtime.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const DEFAULT_STACK_SIZE: usize = 1024 * 1024 * 2; // 2MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_THREADS` is never used [INFO] [stdout] --> src/runtime.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MAX_THREADS: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `RUNTIME` is never used [INFO] [stdout] --> src/runtime.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub static mut RUNTIME: usize = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Runtime` is never constructed [INFO] [stdout] --> src/runtime.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Runtime { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, `run`, `t_return`, and `t_yield` are never used [INFO] [stdout] --> src/runtime.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Runtime { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn init(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn run(&mut self) -> ! { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn t_return(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn t_yield(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Thread` is never constructed [INFO] [stdout] --> src/thread.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Thread { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Available`, `Running`, and `Ready` are never constructed [INFO] [stdout] --> src/thread.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum ThreadState { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 16 | Available, // Thread ready to be assigned to a task [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | Running, // Thread running [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | Ready, // Thread ready to move forward and resume execution (i.e after a blocking network syscall) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/thread.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Thread { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 48 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "6885bdc50a2199d68819d2b4007804f1d62266a8cb972ea2a49776e8ad2f4424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6885bdc50a2199d68819d2b4007804f1d62266a8cb972ea2a49776e8ad2f4424", kill_on_drop: false }` [INFO] [stdout] 6885bdc50a2199d68819d2b4007804f1d62266a8cb972ea2a49776e8ad2f4424