[INFO] fetching crate perspective_api 1.0.0...
[INFO] testing perspective_api-1.0.0 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate perspective_api 1.0.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate perspective_api 1.0.0 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate perspective_api 1.0.0
[INFO] finished tweaking crates.io crate perspective_api 1.0.0
[INFO] tweaked toml for crates.io crate perspective_api 1.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 145 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] feb09d3fe28e08924f01f5db3eb695250cbb6b47fb5e75394db4bfb8637653a2
[INFO] running `Command { std: "docker" "start" "-a" "feb09d3fe28e08924f01f5db3eb695250cbb6b47fb5e75394db4bfb8637653a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "feb09d3fe28e08924f01f5db3eb695250cbb6b47fb5e75394db4bfb8637653a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "feb09d3fe28e08924f01f5db3eb695250cbb6b47fb5e75394db4bfb8637653a2", kill_on_drop: false }`
[INFO] [stdout] feb09d3fe28e08924f01f5db3eb695250cbb6b47fb5e75394db4bfb8637653a2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 554a36e963c952ff0620bb431804903e0c8bf4cae8d90d792a87634222ef4e8a
[INFO] running `Command { std: "docker" "start" "-a" "554a36e963c952ff0620bb431804903e0c8bf4cae8d90d792a87634222ef4e8a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling cc v1.1.31
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling thiserror v1.0.66
[INFO] [stderr]    Compiling rustls-pki-types v1.10.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling thiserror-impl v1.0.66
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling h2 v0.4.6
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v1.5.0
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.9
[INFO] [stderr]    Compiling perspective_api v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.31s
[INFO] running `Command { std: "docker" "inspect" "554a36e963c952ff0620bb431804903e0c8bf4cae8d90d792a87634222ef4e8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "554a36e963c952ff0620bb431804903e0c8bf4cae8d90d792a87634222ef4e8a", kill_on_drop: false }`
[INFO] [stdout] 554a36e963c952ff0620bb431804903e0c8bf4cae8d90d792a87634222ef4e8a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 78af783d1ebfabd4d13763dde198cc831b866439368e426c046cb240ebb569aa
[INFO] running `Command { std: "docker" "start" "-a" "78af783d1ebfabd4d13763dde198cc831b866439368e426c046cb240ebb569aa", kill_on_drop: false }`
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling pretty_assertions v1.4.1
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.4.6
[INFO] [stderr]    Compiling hyper v1.5.0
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.9
[INFO] [stderr]    Compiling perspective_api v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: couldn't read `tests/../resources/key`: No such file or directory (os error 2)
[INFO] [stdout]  --> tests/success.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | const PERSPECTIVE_API_KEY: &str = include_str!("../resources/key");
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `tests/../resources/key`: No such file or directory (os error 2)
[INFO] [stdout]   --> tests/main.rs:10:39
[INFO] [stdout]    |
[INFO] [stdout] 10 |     const PERSPECTIVE_API_KEY: &str = include_str!("../resources/key");
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]  --> tests/broken_api_key.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `anyhow`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `tests/../resources/key`: No such file or directory (os error 2)
[INFO] [stdout]  --> tests/text_too_long.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | const PERSPECTIVE_API_KEY: &str = include_str!("../resources/key");
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]  --> tests/success.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `anyhow`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `tests/../resources/key`: No such file or directory (os error 2)
[INFO] [stdout]  --> tests/text_empty.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | const PERSPECTIVE_API_KEY: &str = include_str!("../resources/key");
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]  --> tests/text_too_long.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `anyhow`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `perspective_api::service`
[INFO] [stdout]  --> tests/main.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | use perspective_api::service::PerspectiveService;
[INFO] [stdout]   |                      ^^^^^^^ could not find `service` in `perspective_api`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /opt/rustwide/workdir/src/lib.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub mod service;
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] note: the item is gated behind the `service` feature
[INFO] [stdout]  --> /opt/rustwide/workdir/src/lib.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[cfg(feature = "service")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]  --> tests/text_empty.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `anyhow`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `anyhow`
[INFO] [stdout]  --> tests/no_api_key.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `anyhow`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `perspective_api` (test "main") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `perspective_api` (test "broken_api_key") due to 1 previous error
[INFO] [stderr] error: could not compile `perspective_api` (test "success") due to 2 previous errors
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `perspective_api` (test "text_too_long") due to 2 previous errors
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `perspective_api` (test "no_api_key") due to 1 previous error
[INFO] [stderr] error: could not compile `perspective_api` (test "text_empty") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "78af783d1ebfabd4d13763dde198cc831b866439368e426c046cb240ebb569aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78af783d1ebfabd4d13763dde198cc831b866439368e426c046cb240ebb569aa", kill_on_drop: false }`
[INFO] [stdout] 78af783d1ebfabd4d13763dde198cc831b866439368e426c046cb240ebb569aa
