[INFO] fetching crate stubr-attributes 0.4.11... [INFO] testing stubr-attributes-0.4.11 against try#ddc023471205c186b40f4bf8ffb598008dbf4885 for pr-87041-1 [INFO] extracting crate stubr-attributes 0.4.11 into /workspace/builds/worker-105/source [INFO] validating manifest of crates.io crate stubr-attributes 0.4.11 on toolchain ddc023471205c186b40f4bf8ffb598008dbf4885 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stubr-attributes 0.4.11 [INFO] finished tweaking crates.io crate stubr-attributes 0.4.11 [INFO] tweaked toml for crates.io crate stubr-attributes 0.4.11 written to /workspace/builds/worker-105/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "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-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b32b40c5191d9f8e793d27561866fd91cf7984781c509398eab6277579d00bbb [INFO] running `Command { std: "docker" "start" "-a" "b32b40c5191d9f8e793d27561866fd91cf7984781c509398eab6277579d00bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b32b40c5191d9f8e793d27561866fd91cf7984781c509398eab6277579d00bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b32b40c5191d9f8e793d27561866fd91cf7984781c509398eab6277579d00bbb", kill_on_drop: false }` [INFO] [stdout] b32b40c5191d9f8e793d27561866fd91cf7984781c509398eab6277579d00bbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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" "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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f8a139c339725590ce04dbf31bee594ec301e8e405d4b997e6ffbe05b79aed5 [INFO] running `Command { std: "docker" "start" "-a" "7f8a139c339725590ce04dbf31bee594ec301e8e405d4b997e6ffbe05b79aed5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling stubr-attributes v0.4.11 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.85s [INFO] running `Command { std: "docker" "inspect" "7f8a139c339725590ce04dbf31bee594ec301e8e405d4b997e6ffbe05b79aed5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f8a139c339725590ce04dbf31bee594ec301e8e405d4b997e6ffbe05b79aed5", kill_on_drop: false }` [INFO] [stdout] 7f8a139c339725590ce04dbf31bee594ec301e8e405d4b997e6ffbe05b79aed5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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" "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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cee81bbf45cec4feaf2808c7e19d4e567e469b5d00515c51acb526bb46f4e7d0 [INFO] running `Command { std: "docker" "start" "-a" "cee81bbf45cec4feaf2808c7e19d4e567e469b5d00515c51acb526bb46f4e7d0", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling curl v0.4.41 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling isahc v1.6.0 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling castaway v0.1.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling curl-sys v0.4.51+curl-7.80.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.1.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling asserhttp v0.2.4 [INFO] [stderr] Compiling stubr-attributes v0.4.11 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 19.62s [INFO] running `Command { std: "docker" "inspect" "cee81bbf45cec4feaf2808c7e19d4e567e469b5d00515c51acb526bb46f4e7d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cee81bbf45cec4feaf2808c7e19d4e567e469b5d00515c51acb526bb46f4e7d0", kill_on_drop: false }` [INFO] [stdout] cee81bbf45cec4feaf2808c7e19d4e567e469b5d00515c51acb526bb46f4e7d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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" "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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+ddc023471205c186b40f4bf8ffb598008dbf4885" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a91b6a051f71715a449b4e54e6e10d3b75028466ab3367304df57595b9890c1e [INFO] running `Command { std: "docker" "start" "-a" "a91b6a051f71715a449b4e54e6e10d3b75028466ab3367304df57595b9890c1e", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.51s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/stubr_attributes-994c336e4b1b9e1c) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test apps::apps_tests::asyncness::should_conserve_asyncness ... ok [INFO] [stdout] test apps::apps_tests::name::should_conserve_function_name ... ok [INFO] [stdout] test apps::apps_tests::attributes::should_conserve_attributes ... ok [INFO] [stdout] test apps::apps_tests::visibility::should_conserve_private_visibility ... ok [INFO] [stdout] test apps::apps_tests::visibility::should_conserve_pub_visibility ... ok [INFO] [stdout] test apps::apps_tests::paths::should_accept_str_app ... ok [INFO] [stdout] test apps::apps_tests::asyncness::should_not_add_asyncness_when_none ... ok [INFO] [stdout] test mock::mock_tests::asyncness::should_conserve_asyncness ... ok [INFO] [stdout] test mock::mock_tests::path::should_fail_when_path_not_str ... ok [INFO] [stdout] test mock::mock_tests::path::should_accept_str_path ... ok [INFO] [stdout] test mock::mock_tests::port::should_fail_when_port_not_int ... ok [INFO] [stdout] test mock::mock_tests::name::should_conserve_function_name ... ok [INFO] [stdout] test mock::mock_tests::full_path::should_fail_when_full_path_not_str ... ok [INFO] [stdout] test mock::mock_tests::full_path::should_accept_str_full_path ... ok [INFO] [stdout] test mock::mock_tests::visibility::should_conserve_private_visibility ... ok [INFO] [stdout] test record::record_tests::port::should_fail_when_port_not_int ... ok [INFO] [stdout] test mock::mock_tests::visibility::should_conserve_pub_visibility ... ok [INFO] [stdout] test mock::mock_tests::asyncness::should_not_add_asyncness_when_none ... ok [INFO] [stdout] test record::record_tests::port::should_accept_int_port ... ok [INFO] [stdout] test record::record_tests::asyncness::should_remove_asyncness ... ok [INFO] [stdout] test record::record_tests::name::should_conserve_function_name ... ok [INFO] [stdout] test record::record_tests::attributes::should_add_test_attributes ... ok [INFO] [stdout] test mock::mock_tests::port::should_accept_int_port ... ok [INFO] [stdout] test record::record_tests::asyncness::should_not_add_asyncness_when_none ... ok [INFO] [stdout] test record::record_tests::attributes::should_not_remove_test_attribute_when_already_present ... ok [INFO] [stdout] test mock::mock_tests::attributes::should_conserve_attributes ... ok [INFO] [stdout] test record::record_tests::visibility::should_conserve_pub_visibility ... ok [INFO] [stdout] test record::record_tests::visibility::should_conserve_private_visibility ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests stubr-attributes [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - record (line 88) - compile ... ok [INFO] [stdout] test src/lib.rs - mock (line 38) - compile ... ok [INFO] [stdout] test src/lib.rs - apps (line 105) - compile ... ok [INFO] [stdout] test src/lib.rs - record (line 65) - compile ... ok [INFO] [stdout] test src/lib.rs - mock (line 17) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - mock (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `async_std` [INFO] [stdout] --> src/lib.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 16 | #[async_std::test] [INFO] [stdout] | ^^^^ could not find `test` in `async_std` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Stubr` in `stubr` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[stubr::mock] [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `Stubr` in `stubr` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `stubr::mock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Config` in crate `stubr` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[stubr::mock] [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `stubr` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `stubr::mock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, isahc::Error>` is not a future [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 19 | isahc::get(stubr.uri()).await.expect_status_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result, isahc::Error>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result, isahc::Error>` [INFO] [stdout] = note: Result, isahc::Error> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required because of the requirements on the impl of `IntoFuture` for `Result, isahc::Error>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - mock (line 17) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "a91b6a051f71715a449b4e54e6e10d3b75028466ab3367304df57595b9890c1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a91b6a051f71715a449b4e54e6e10d3b75028466ab3367304df57595b9890c1e", kill_on_drop: false }` [INFO] [stdout] a91b6a051f71715a449b4e54e6e10d3b75028466ab3367304df57595b9890c1e