[INFO] fetching crate tokio-shared 0.1.1... [INFO] checking tokio-shared-0.1.1 against master#8a703520e80d87d4423c01f9d4fbc9e5f6533a02 for pr-154205-1 [INFO] extracting crate tokio-shared 0.1.1 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-shared 0.1.1 on toolchain 8a703520e80d87d4423c01f9d4fbc9e5f6533a02 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "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" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.52.5 [INFO] [stderr] Downloaded tokio-macros v2.2.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.83 [INFO] [stderr] Downloaded libloading v0.8.3 [INFO] [stderr] Downloaded redox_syscall v0.5.1 [INFO] [stderr] Downloaded bitflags v2.5.0 [INFO] [stderr] Downloaded miniz_oxide v0.7.3 [INFO] [stderr] Downloaded bytes v1.6.0 [INFO] [stderr] Downloaded memchr v2.7.2 [INFO] [stderr] Downloaded cc v1.0.98 [INFO] [stderr] Downloaded parking_lot v0.12.2 [INFO] [stderr] Downloaded syn v2.0.65 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.5 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.5 [INFO] [stderr] Downloaded windows_i686_gnullvm v0.52.5 [INFO] [stderr] Downloaded tokio v1.37.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.5 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.5 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.5 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.5 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dce8129b1d223aa496eae5243ca7837a50c0ee5c8ee8139f310ef0f679b88fd9 [INFO] running `Command { std: "docker" "start" "-a" "dce8129b1d223aa496eae5243ca7837a50c0ee5c8ee8139f310ef0f679b88fd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dce8129b1d223aa496eae5243ca7837a50c0ee5c8ee8139f310ef0f679b88fd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dce8129b1d223aa496eae5243ca7837a50c0ee5c8ee8139f310ef0f679b88fd9", kill_on_drop: false }` [INFO] [stdout] dce8129b1d223aa496eae5243ca7837a50c0ee5c8ee8139f310ef0f679b88fd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8a703520e80d87d4423c01f9d4fbc9e5f6533a02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b31914dab56b71bd3257bb4ec3666ed0e2768d117f9d03c0cb45fe19e58b712 [INFO] running `Command { std: "docker" "start" "-a" "3b31914dab56b71bd3257bb4ec3666ed0e2768d117f9d03c0cb45fe19e58b712", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking 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] [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] error[E0433]: cannot find module or crate `example_lib` in this scope [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: 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]: cannot find module or crate `example_lib` in this scope [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]: cannot find module or crate `example_lib` in this scope [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" "3b31914dab56b71bd3257bb4ec3666ed0e2768d117f9d03c0cb45fe19e58b712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b31914dab56b71bd3257bb4ec3666ed0e2768d117f9d03c0cb45fe19e58b712", kill_on_drop: false }` [INFO] [stdout] 3b31914dab56b71bd3257bb4ec3666ed0e2768d117f9d03c0cb45fe19e58b712