[INFO] fetching crate mockable 3.0.0... [INFO] checking mockable-3.0.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate mockable 3.0.0 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate mockable 3.0.0 [INFO] finished tweaking crates.io crate mockable 3.0.0 [INFO] tweaked toml for crates.io crate mockable 3.0.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mockable 3.0.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mockable 3.0.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 353ad0582ea063d9c3c1b5813c23445b85c972e4c02543a96d6f99dcd8183502 [INFO] running `Command { std: "docker" "start" "-a" "353ad0582ea063d9c3c1b5813c23445b85c972e4c02543a96d6f99dcd8183502", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "353ad0582ea063d9c3c1b5813c23445b85c972e4c02543a96d6f99dcd8183502", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "353ad0582ea063d9c3c1b5813c23445b85c972e4c02543a96d6f99dcd8183502", kill_on_drop: false }` [INFO] [stdout] 353ad0582ea063d9c3c1b5813c23445b85c972e4c02543a96d6f99dcd8183502 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0bd72cc6b209908b09031ba3b3ece6f4eb7a52a760ad1523872083c7047faa0 [INFO] running `Command { std: "docker" "start" "-a" "d0bd72cc6b209908b09031ba3b3ece6f4eb7a52a760ad1523872083c7047faa0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Checking mockable v3.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking mockall v0.11.4 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking h2 v0.3.25 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stdout] error[E0432]: unresolved imports `mockable::DefaultUuidGenerator`, `mockable::UuidGenerator` [INFO] [stdout] --> examples/uuid.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use mockable::{DefaultUuidGenerator, UuidGenerator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `UuidGenerator` in the root [INFO] [stdout] | | [INFO] [stdout] | no `DefaultUuidGenerator` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "uuid")] [INFO] [stdout] | ---------------- the item is gated behind the `uuid` feature [INFO] [stdout] 20 | pub use self::uuid::{DefaultUuidGenerator, UuidGenerator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(feature = "uuid")] [INFO] [stdout] | ---------------- the item is gated behind the `uuid` feature [INFO] [stdout] 20 | pub use self::uuid::{DefaultUuidGenerator, UuidGenerator}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `uuid` [INFO] [stdout] --> examples/uuid.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use uuid::Uuid; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file examples/uuid.rs, use `mod uuid` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 1 + mod uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mockable` (example "uuid") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved imports `mockable::Command`, `mockable::CommandRunner`, `mockable::DefaultCommandRunner` [INFO] [stdout] --> examples/cmd.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use mockable::{Command, CommandRunner, DefaultCommandRunner}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ no `DefaultCommandRunner` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `CommandRunner` in the root [INFO] [stdout] | no `Command` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] std::process::Command [INFO] [stdout] tokio::process::Command [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "cmd")] [INFO] [stdout] | --------------- the item is gated behind the `cmd` feature [INFO] [stdout] 10 | pub use self::cmd::{Command, CommandOutput, CommandRunner, DefaultCommandRunner}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "cmd")] [INFO] [stdout] | --------------- the item is gated behind the `cmd` feature [INFO] [stdout] 10 | pub use self::cmd::{Command, CommandOutput, CommandRunner, DefaultCommandRunner}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:60 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "cmd")] [INFO] [stdout] | --------------- the item is gated behind the `cmd` feature [INFO] [stdout] 10 | pub use self::cmd::{Command, CommandOutput, CommandRunner, DefaultCommandRunner}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mockable` (example "cmd") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved imports `mockable::DefaultHttpServer`, `mockable::HttpResponse`, `mockable::HttpServer` [INFO] [stdout] --> examples/http.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use mockable::{DefaultHttpServer, HttpResponse, HttpServer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ no `HttpServer` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `HttpResponse` in the root [INFO] [stdout] | no `DefaultHttpServer` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "http")] [INFO] [stdout] | ---------------- the item is gated behind the `http` feature [INFO] [stdout] 14 | pub use self::http::{DefaultHttpServer, HttpRequest, HttpResponse, HttpServer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:54 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "http")] [INFO] [stdout] | ---------------- the item is gated behind the `http` feature [INFO] [stdout] 14 | pub use self::http::{DefaultHttpServer, HttpRequest, HttpResponse, HttpServer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:68 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "http")] [INFO] [stdout] | ---------------- the item is gated behind the `http` feature [INFO] [stdout] 14 | pub use self::http::{DefaultHttpServer, HttpRequest, HttpResponse, HttpServer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `open_url` found for reference `&dyn mockable::System` in the current scope [INFO] [stdout] --> examples/sys.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | sys.open_url(url).expect("failed to open browser"); [INFO] [stdout] | ^^^^^^^^ method not found in `&dyn mockable::System` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `mockable::Clock`, `mockable::DefaultClock` [INFO] [stdout] --> examples/clock.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use mockable::{Clock, DefaultClock}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ no `DefaultClock` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Clock` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "clock")] [INFO] [stdout] | ----------------- the item is gated behind the `clock` feature [INFO] [stdout] 6 | pub use self::clock::{Clock, DefaultClock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(feature = "clock")] [INFO] [stdout] | ----------------- the item is gated behind the `clock` feature [INFO] [stdout] 6 | pub use self::clock::{Clock, DefaultClock}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> examples/clock.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mockable` (example "sys") due to 1 previous error [INFO] [stderr] error: could not compile `mockable` (example "http") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mockable` (example "clock") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "d0bd72cc6b209908b09031ba3b3ece6f4eb7a52a760ad1523872083c7047faa0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0bd72cc6b209908b09031ba3b3ece6f4eb7a52a760ad1523872083c7047faa0", kill_on_drop: false }` [INFO] [stdout] d0bd72cc6b209908b09031ba3b3ece6f4eb7a52a760ad1523872083c7047faa0