[INFO] fetching crate ts-rust-helper 0.11.0... [INFO] building ts-rust-helper-0.11.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate ts-rust-helper 0.11.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate ts-rust-helper 0.11.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ts-rust-helper 0.11.0 [INFO] tweaked toml for crates.io crate ts-rust-helper 0.11.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ts-rust-helper 0.11.0 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 ts-rust-helper 0.11.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" "+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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] c7841e9494fd6a244d85a9d1615b67a7a7931112837ad6bb188b4748e3ab46dc [INFO] running `Command { std: "docker" "start" "-a" "c7841e9494fd6a244d85a9d1615b67a7a7931112837ad6bb188b4748e3ab46dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7841e9494fd6a244d85a9d1615b67a7a7931112837ad6bb188b4748e3ab46dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7841e9494fd6a244d85a9d1615b67a7a7931112837ad6bb188b4748e3ab46dc", kill_on_drop: false }` [INFO] [stdout] c7841e9494fd6a244d85a9d1615b67a7a7931112837ad6bb188b4748e3ab46dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 8bd71840c7134aeb6b12af5a966b67904a16fbae1ae62f4d723ac236d4aa8a50 [INFO] running `Command { std: "docker" "start" "-a" "8bd71840c7134aeb6b12af5a966b67904a16fbae1ae62f4d723ac236d4aa8a50", kill_on_drop: false }` [INFO] [stderr] Compiling ts-rust-helper v0.11.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "8bd71840c7134aeb6b12af5a966b67904a16fbae1ae62f4d723ac236d4aa8a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bd71840c7134aeb6b12af5a966b67904a16fbae1ae62f4d723ac236d4aa8a50", kill_on_drop: false }` [INFO] [stdout] 8bd71840c7134aeb6b12af5a966b67904a16fbae1ae62f4d723ac236d4aa8a50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 6dc34dbea21fd1a7d874bf96401cd4e30eced43f9bddfa6ea81a419abb6dd5f7 [INFO] running `Command { std: "docker" "start" "-a" "6dc34dbea21fd1a7d874bf96401cd4e30eced43f9bddfa6ea81a419abb6dd5f7", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling schemars_derive v1.0.3 [INFO] [stderr] Compiling schemars v1.0.3 [INFO] [stderr] Compiling ts-rust-helper v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `ts_rust_helper::command`, `ts_rust_helper::config` [INFO] [stdout] --> examples/config.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | command::{Cli, Command}, [INFO] [stdout] | ^^^^^^^ could not find `command` in `ts_rust_helper` [INFO] [stdout] 10 | config::{ConfigFile, try_load_config}, [INFO] [stdout] | ^^^^^^ could not find `config` in `ts_rust_helper` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(feature = "command")] [INFO] [stdout] | ------------------- the item is gated behind the `command` feature [INFO] [stdout] 5 | pub mod command; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg(feature = "config")] [INFO] [stdout] | ------------------ the item is gated behind the `config` feature [INFO] [stdout] 7 | pub mod config; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> examples/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` 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 `serde_json` [INFO] [stdout] --> examples/config.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | fn schema() -> serde_json::Value { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` 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 `serde_json` [INFO] [stdout] --> examples/config.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | serde_json::to_value(schema).unwrap() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` 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 `serde_json` [INFO] [stdout] --> examples/config.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let json = serde_json::to_string_pretty(self).map_err(io::Error::other)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ts-rust-helper` (example "config") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6dc34dbea21fd1a7d874bf96401cd4e30eced43f9bddfa6ea81a419abb6dd5f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dc34dbea21fd1a7d874bf96401cd4e30eced43f9bddfa6ea81a419abb6dd5f7", kill_on_drop: false }` [INFO] [stdout] 6dc34dbea21fd1a7d874bf96401cd4e30eced43f9bddfa6ea81a419abb6dd5f7