[INFO] fetching crate tokio-shared 0.1.1... [INFO] building tokio-shared-0.1.1 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate tokio-shared 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate tokio-shared 0.1.1 [INFO] finished tweaking crates.io crate tokio-shared 0.1.1 [INFO] tweaked toml for crates.io crate tokio-shared 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-shared 0.1.1 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tokio-shared 0.1.1 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d391d77d1943c0bc80fdfcbaaaf3ef5aa3a5fbf7369f72c8a870f54db0466de2 [INFO] running `Command { std: "docker" "start" "-a" "d391d77d1943c0bc80fdfcbaaaf3ef5aa3a5fbf7369f72c8a870f54db0466de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d391d77d1943c0bc80fdfcbaaaf3ef5aa3a5fbf7369f72c8a870f54db0466de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d391d77d1943c0bc80fdfcbaaaf3ef5aa3a5fbf7369f72c8a870f54db0466de2", kill_on_drop: false }` [INFO] [stdout] d391d77d1943c0bc80fdfcbaaaf3ef5aa3a5fbf7369f72c8a870f54db0466de2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37b829d5a7957d77ccf6d1522bbfc749b2b0cadaf4348128a3e74e0b58655333 [INFO] running `Command { std: "docker" "start" "-a" "37b829d5a7957d77ccf6d1522bbfc749b2b0cadaf4348128a3e74e0b58655333", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio-shared v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn enter(&self) -> TokioEnterGuard { [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] 42 | pub fn enter(&self) -> TokioEnterGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn setup_shared_tokio_ref(handle: &SharedTokioHandle) -> TokioEnterGuard { [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] 49 | pub fn setup_shared_tokio_ref(handle: &SharedTokioHandle) -> TokioEnterGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.74s [INFO] running `Command { std: "docker" "inspect" "37b829d5a7957d77ccf6d1522bbfc749b2b0cadaf4348128a3e74e0b58655333", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37b829d5a7957d77ccf6d1522bbfc749b2b0cadaf4348128a3e74e0b58655333", kill_on_drop: false }` [INFO] [stdout] 37b829d5a7957d77ccf6d1522bbfc749b2b0cadaf4348128a3e74e0b58655333 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d0fa1670b45447fd2a68305b6dd7d0f764b4eaa877c763e8b0e3e3a0dbef8bd [INFO] running `Command { std: "docker" "start" "-a" "6d0fa1670b45447fd2a68305b6dd7d0f764b4eaa877c763e8b0e3e3a0dbef8bd", kill_on_drop: false }` [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn enter(&self) -> TokioEnterGuard { [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] 42 | pub fn enter(&self) -> TokioEnterGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn setup_shared_tokio_ref(handle: &SharedTokioHandle) -> TokioEnterGuard { [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] 49 | pub fn setup_shared_tokio_ref(handle: &SharedTokioHandle) -> TokioEnterGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-shared v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `example_lib` [INFO] [stdout] --> examples/example.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use example_lib::exports::{FnRun, FnSetupTokio}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `example_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `example_lib`, use `cargo add example_lib` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn enter(&self) -> TokioEnterGuard { [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] 42 | pub fn enter(&self) -> TokioEnterGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn setup_shared_tokio_ref(handle: &SharedTokioHandle) -> TokioEnterGuard { [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] 49 | pub fn setup_shared_tokio_ref(handle: &SharedTokioHandle) -> TokioEnterGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `log` [INFO] [stdout] --> examples/example.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(feature = "log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` [INFO] [stdout] = help: consider adding `log` as a feature in `Cargo.toml` [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `example_lib` [INFO] [stdout] --> examples/example.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | let _guard = example_lib::setup_shared_tokio_ref(&logger); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `example_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `example_lib`, use `cargo add example_lib` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `example_lib` [INFO] [stdout] --> examples/example.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | example_lib::run("dylib"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `example_lib` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `example_lib`, use `cargo add example_lib` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-shared` (example "example") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6d0fa1670b45447fd2a68305b6dd7d0f764b4eaa877c763e8b0e3e3a0dbef8bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d0fa1670b45447fd2a68305b6dd7d0f764b4eaa877c763e8b0e3e3a0dbef8bd", kill_on_drop: false }` [INFO] [stdout] 6d0fa1670b45447fd2a68305b6dd7d0f764b4eaa877c763e8b0e3e3a0dbef8bd