[INFO] cloning repository https://github.com/ianks/shredular [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ianks/shredular" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fianks%2Fshredular", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fianks%2Fshredular'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c5710c089fd4b66edf723d7a9b622b241e9cae5 [INFO] testing ianks/shredular against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fianks%2Fshredular" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ianks/shredular [INFO] finished tweaking git repo https://github.com/ianks/shredular [INFO] tweaked toml for git repo https://github.com/ianks/shredular written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ianks/shredular on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ianks/shredular 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40d2281e56fcfaf73378019e749c5649ef899e4781861c1a723f8152107b0c56 [INFO] running `Command { std: "docker" "start" "-a" "40d2281e56fcfaf73378019e749c5649ef899e4781861c1a723f8152107b0c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40d2281e56fcfaf73378019e749c5649ef899e4781861c1a723f8152107b0c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40d2281e56fcfaf73378019e749c5649ef899e4781861c1a723f8152107b0c56", kill_on_drop: false }` [INFO] [stdout] 40d2281e56fcfaf73378019e749c5649ef899e4781861c1a723f8152107b0c56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3c7b4cb850e26c8cdc7896c58216f030089970808ead2309e5517e891af68ae [INFO] running `Command { std: "docker" "start" "-a" "a3c7b4cb850e26c8cdc7896c58216f030089970808ead2309e5517e891af68ae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling rb-sys-env v0.1.2 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling rustix v0.38.6 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling magnus v0.5.4 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling shreduler v0.1.0 (/opt/rustwide/workdir/ext/shreduler) [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling nix v0.26.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling regex-automata v0.3.4 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling magnus-macros v0.4.1 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling tracing-tree v0.2.4 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling rb-sys-build v0.9.81 [INFO] [stderr] Compiling rb-sys v0.9.81 [INFO] [stdout] warning: unused import: `Terminated` [INFO] [stdout] --> ext/shreduler/src/fiber.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::state::{Running, State, Suspended, Terminated, Unknown}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> ext/shreduler/src/tokio_scheduler/prelude.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | pub use tracing::{debug, error, info, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ruby_lt_3_0` [INFO] [stdout] --> ext/shreduler/src/tokio_scheduler/process_wait.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(ruby_lt_3_0)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ruby_lt_3_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ruby_lt_3_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Terminated` is never constructed [INFO] [stdout] --> ext/shreduler/src/fiber.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Terminated; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ext/shreduler/src/gc_cell.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn try_borrow(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn try_borrow(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> ext/shreduler/src/gc_cell.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn try_borrow_mut(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn try_borrow_mut(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.66s [INFO] running `Command { std: "docker" "inspect" "a3c7b4cb850e26c8cdc7896c58216f030089970808ead2309e5517e891af68ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3c7b4cb850e26c8cdc7896c58216f030089970808ead2309e5517e891af68ae", kill_on_drop: false }` [INFO] [stdout] a3c7b4cb850e26c8cdc7896c58216f030089970808ead2309e5517e891af68ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 142553d468a675c5780c533082d0945011aa09625b9da0a3d3e5883917930b4c [INFO] running `Command { std: "docker" "start" "-a" "142553d468a675c5780c533082d0945011aa09625b9da0a3d3e5883917930b4c", kill_on_drop: false }` [INFO] [stderr] Compiling rb-sys-test-helpers v0.2.0 [INFO] [stderr] Compiling rb-sys-test-helpers-macros v0.2.0 [INFO] [stderr] Compiling rb-sys v0.9.81 [INFO] [stderr] Compiling magnus v0.5.4 [INFO] [stderr] Compiling shreduler v0.1.0 (/opt/rustwide/workdir/ext/shreduler) [INFO] [stdout] error[E0425]: cannot find type `RubyIoInterests` in this scope [INFO] [stdout] --> ext/shreduler/src/tokio_scheduler/io_wait.rs:120:27 [INFO] [stdout] | [INFO] [stdout] 120 | let priority: RubyIoInterests = eval!("IO::PRIORITY").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Terminated` [INFO] [stdout] --> ext/shreduler/src/fiber.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::state::{Running, State, Suspended, Terminated, Unknown}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> ext/shreduler/src/tokio_scheduler/prelude.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | pub use tracing::{debug, error, info, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ruby_lt_3_0` [INFO] [stdout] --> ext/shreduler/src/tokio_scheduler/process_wait.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | #[cfg(ruby_lt_3_0)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ruby_lt_3_0)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ruby_lt_3_0)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::io::Ready: From` is not satisfied [INFO] [stdout] --> ext/shreduler/src/tokio_scheduler/io_wait.rs:121:61 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(tokio::io::Ready::PRIORITY, writable.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `tokio::io::Ready` [INFO] [stdout] | [INFO] [stdout] = note: required for `io_wait::RubyIoEvent` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shreduler` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "142553d468a675c5780c533082d0945011aa09625b9da0a3d3e5883917930b4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "142553d468a675c5780c533082d0945011aa09625b9da0a3d3e5883917930b4c", kill_on_drop: false }` [INFO] [stdout] 142553d468a675c5780c533082d0945011aa09625b9da0a3d3e5883917930b4c