[INFO] fetching crate stubr-attributes 0.4.6... [INFO] testing stubr-attributes-0.4.6 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate stubr-attributes 0.4.6 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate stubr-attributes 0.4.6 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stubr-attributes 0.4.6 [INFO] finished tweaking crates.io crate stubr-attributes 0.4.6 [INFO] tweaked toml for crates.io crate stubr-attributes 0.4.6 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cea1e2c59f1a78a251c53f234965e0871b97d687851b923a621493855933ae6f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cea1e2c59f1a78a251c53f234965e0871b97d687851b923a621493855933ae6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cea1e2c59f1a78a251c53f234965e0871b97d687851b923a621493855933ae6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cea1e2c59f1a78a251c53f234965e0871b97d687851b923a621493855933ae6f", kill_on_drop: false }` [INFO] [stdout] cea1e2c59f1a78a251c53f234965e0871b97d687851b923a621493855933ae6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 85225b73be94b0ceb0c94e3223ff79ee19e2a2b4c10a96a62c35289f0d9069d9 [INFO] running `Command { std: "docker" "start" "-a" "85225b73be94b0ceb0c94e3223ff79ee19e2a2b4c10a96a62c35289f0d9069d9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling stubr-attributes v0.4.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.00s [INFO] running `Command { std: "docker" "inspect" "85225b73be94b0ceb0c94e3223ff79ee19e2a2b4c10a96a62c35289f0d9069d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85225b73be94b0ceb0c94e3223ff79ee19e2a2b4c10a96a62c35289f0d9069d9", kill_on_drop: false }` [INFO] [stdout] 85225b73be94b0ceb0c94e3223ff79ee19e2a2b4c10a96a62c35289f0d9069d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b2affb0bdd5917deef153d0552fb1b40f6dab6d687233c5bad9ea76efaf3fda [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3b2affb0bdd5917deef153d0552fb1b40f6dab6d687233c5bad9ea76efaf3fda", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling curl v0.4.38 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling isahc v1.4.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling sluice v0.5.4 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling libnghttp2-sys v0.1.6+1.43.0 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling curl-sys v0.4.44+curl-7.77.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling asserhttp v0.2.0 [INFO] [stderr] Compiling stubr-attributes v0.4.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2m 04s [INFO] running `Command { std: "docker" "inspect" "3b2affb0bdd5917deef153d0552fb1b40f6dab6d687233c5bad9ea76efaf3fda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b2affb0bdd5917deef153d0552fb1b40f6dab6d687233c5bad9ea76efaf3fda", kill_on_drop: false }` [INFO] [stdout] 3b2affb0bdd5917deef153d0552fb1b40f6dab6d687233c5bad9ea76efaf3fda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 60f2276b06f28e69c23c943c3ca273f46b77bbf80d4008ae2823397061a09c57 [INFO] running `Command { std: "docker" "start" "-a" "60f2276b06f28e69c23c943c3ca273f46b77bbf80d4008ae2823397061a09c57", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stdout] running 12 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/stubr_attributes-2a06725ae1af427d) [INFO] [stdout] test mock::mock_tests::attributes::should_conserve_attributes ... ok [INFO] [stdout] test mock::mock_tests::full_path::should_accept_str_full_path ... ok [INFO] [stdout] test mock::mock_tests::path::should_accept_str_path ... ok [INFO] [stdout] test mock::mock_tests::path::should_fail_when_path_not_str ... ok [INFO] [stdout] test mock::mock_tests::port::should_fail_when_port_not_int ... ok [INFO] [stdout] test mock::mock_tests::asyncness::should_conserve_asyncness ... ok [INFO] [stdout] test mock::mock_tests::full_path::should_fail_when_full_path_not_str ... ok [INFO] [stdout] test mock::mock_tests::name::should_conserve_function_name ... ok [INFO] [stdout] test mock::mock_tests::visibility::should_conserve_private_visibility ... ok [INFO] [stdout] test mock::mock_tests::asyncness::should_not_add_asyncness_when_none ... ok [INFO] [stdout] test mock::mock_tests::port::should_accept_int_port ... ok [INFO] [stderr] Doc-tests stubr-attributes [INFO] [stdout] test mock::mock_tests::visibility::should_conserve_pub_visibility ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - mock (line 36) - compile ... ok [INFO] [stdout] test src/lib.rs - record (line 79) - compile ... ok [INFO] [stdout] test src/lib.rs - record (line 64) - compile ... ok [INFO] [stdout] test src/lib.rs - mock (line 15) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - mock (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in `async_std` [INFO] [stdout] --> src/lib.rs:28: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:29: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:29: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:31: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: required by `poll` [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 15) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.54s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "60f2276b06f28e69c23c943c3ca273f46b77bbf80d4008ae2823397061a09c57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60f2276b06f28e69c23c943c3ca273f46b77bbf80d4008ae2823397061a09c57", kill_on_drop: false }` [INFO] [stdout] 60f2276b06f28e69c23c943c3ca273f46b77bbf80d4008ae2823397061a09c57