[INFO] cloning repository https://github.com/psatomas/testing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/psatomas/testing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Ftesting", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Ftesting'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d72b55fd5ad3d37971cdbd30eb3cada3300c23a [INFO] checking psatomas/testing against try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Ftesting" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/psatomas/testing [INFO] finished tweaking git repo https://github.com/psatomas/testing [INFO] tweaked toml for git repo https://github.com/psatomas/testing written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/psatomas/testing on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/psatomas/testing 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" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking psatomas/testing against try#595142ec72045c7f2fab2923de8e59995a52e6e7 for pr-151830 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsatomas%2Ftesting" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/psatomas/testing [INFO] finished tweaking git repo https://github.com/psatomas/testing [INFO] tweaked toml for git repo https://github.com/psatomas/testing written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/psatomas/testing on toolchain 595142ec72045c7f2fab2923de8e59995a52e6e7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/psatomas/testing 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" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest_macros v0.25.0 [INFO] [stderr] Downloaded rstest v0.25.0 [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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8606ae3d33ab5eaebde5723a160ca0f8e70358fd2b3cdb1713a689f7fba6e8c [INFO] running `Command { std: "docker" "start" "-a" "c8606ae3d33ab5eaebde5723a160ca0f8e70358fd2b3cdb1713a689f7fba6e8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8606ae3d33ab5eaebde5723a160ca0f8e70358fd2b3cdb1713a689f7fba6e8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8606ae3d33ab5eaebde5723a160ca0f8e70358fd2b3cdb1713a689f7fba6e8c", kill_on_drop: false }` [INFO] [stdout] c8606ae3d33ab5eaebde5723a160ca0f8e70358fd2b3cdb1713a689f7fba6e8c [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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+595142ec72045c7f2fab2923de8e59995a52e6e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 281fc3e64323676a755e47520e7491a6b6b8e4736f7414eda87940ccbd90d03f [INFO] running `Command { std: "docker" "start" "-a" "281fc3e64323676a755e47520e7491a6b6b8e4736f7414eda87940ccbd90d03f", kill_on_drop: false }` [INFO] [stderr] Checking testing v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stdout] error[E0601]: `main` function not found in crate `dependency_injection_i` [INFO] [stdout] --> src/bin/dependency_injection_i.rs:173:2 [INFO] [stdout] | [INFO] [stdout] 173 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/dependency_injection_i.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing::attractions` [INFO] [stdout] --> src/bin/integration_tests.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use testing::attractions::Museum; [INFO] [stdout] | ^^^^^^^^^^^ could not find `attractions` in `testing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing::management` [INFO] [stdout] --> src/bin/integration_tests.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use testing::management::VenueManagement; [INFO] [stdout] | ^^^^^^^^^^ could not find `management` in `testing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pretty_assertions` [INFO] [stdout] --> src/bin/integration_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use pretty_assertions::assert_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pretty_assertions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pretty_assertions`, use `cargo add pretty_assertions` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `integration_tests` [INFO] [stdout] --> src/bin/integration_tests.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/integration_tests.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `trait_requirements_for_types_in_testing` [INFO] [stdout] --> src/bin/trait_requirements_for_types_in_testing.rs:63:2 [INFO] [stdout] | [INFO] [stdout] 63 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/trait_requirements_for_types_in_testing.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `the_should_panic_macro` [INFO] [stdout] --> src/bin/the_should_panic_macro.rs:89:2 [INFO] [stdout] | [INFO] [stdout] 89 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/the_should_panic_macro.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing::attractions` [INFO] [stdout] --> src/bin/fixtures_with_the_rstest_crate.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use testing::attractions::{MovieTheater, Museum}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `attractions` in `testing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `ignoring_tests` [INFO] [stdout] --> src/bin/ignoring_tests.rs:97:2 [INFO] [stdout] | [INFO] [stdout] 97 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/ignoring_tests.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `testing::management` [INFO] [stdout] --> src/bin/fixtures_with_the_rstest_crate.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use testing::management::VenueManagement; [INFO] [stdout] | ^^^^^^^^^^ could not find `management` in `testing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pretty_assertions` [INFO] [stdout] --> src/bin/fixtures_with_the_rstest_crate.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pretty_assertions::assert_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `pretty_assertions` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pretty_assertions`, use `cargo add pretty_assertions` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rstest` [INFO] [stdout] --> src/bin/fixtures_with_the_rstest_crate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rstest::{fixture, rstest}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rstest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rstest`, use `cargo add rstest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `test_failure` [INFO] [stdout] --> src/bin/test_failure.rs:47:2 [INFO] [stdout] | [INFO] [stdout] 47 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/test_failure.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `dependency_injection_ii` [INFO] [stdout] --> src/bin/dependency_injection_ii.rs:180:2 [INFO] [stdout] | [INFO] [stdout] 180 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/dependency_injection_ii.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `testing` (bin "integration_tests") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0601]: `main` function not found in crate `fixtures_with_the_rstest_crate` [INFO] [stdout] --> src/bin/fixtures_with_the_rstest_crate.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 50 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/fixtures_with_the_rstest_crate.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `testing` (bin "dependency_injection_i") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `testing` (bin "fixtures_with_the_rstest_crate") due to 5 previous errors [INFO] [stderr] error: could not compile `testing` (bin "trait_requirements_for_types_in_testing") due to 1 previous error [INFO] [stderr] error: could not compile `testing` (bin "the_should_panic_macro") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Museum` in this scope [INFO] [stdout] --> src/bin/documentation_tests.rs:1:6 [INFO] [stdout] | [INFO] [stdout] 1 | impl Museum { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `testing` (bin "test_failure") due to 1 previous error [INFO] [stdout] error[E0601]: `main` function not found in crate `documentation_tests` [INFO] [stdout] --> src/bin/documentation_tests.rs:39:2 [INFO] [stdout] | [INFO] [stdout] 39 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/documentation_tests.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `intro_to_testing` [INFO] [stdout] --> src/bin/intro_to_testing.rs:27:2 [INFO] [stdout] | [INFO] [stdout] 27 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/intro_to_testing.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rstest` in this scope [INFO] [stdout] --> src/bin/test_driven_development_tdd.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[rstest] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/595142ec72045c7f2fab2923de8e59995a52e6e7/library/core/src/macros/mod.rs:1750:4 [INFO] [stdout] | [INFO] [stdout] = note: similarly named attribute macro `test` defined here [INFO] [stdout] help: an attribute macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 24 - #[rstest] [INFO] [stdout] 24 + #[test] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `testing` (bin "ignoring_tests") due to 1 previous error [INFO] [stderr] error: could not compile `testing` (bin "dependency_injection_ii") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TicketSeller` in this scope [INFO] [stdout] --> src/bin/test_driven_development_tdd.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | impl TicketSeller for Museum { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Museum` in this scope [INFO] [stdout] --> src/bin/test_driven_development_tdd.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | impl TicketSeller for Museum { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Museum` in this scope [INFO] [stdout] --> src/bin/test_driven_development_tdd.rs:25:78 [INFO] [stdout] | [INFO] [stdout] 25 | fn venue_management_interacts_with_museum_venue(museum_with_three_paintings: Museum) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `test_driven_development_tdd` [INFO] [stdout] --> src/bin/test_driven_development_tdd.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 31 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/test_driven_development_tdd.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `VenueManagement` in this scope [INFO] [stdout] --> src/bin/test_driven_development_tdd.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | let mut venue_mgmt = VenueManagement::new(museum_with_three_paintings); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `VenueManagement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433, E0601. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `testing` (bin "intro_to_testing") due to 1 previous error [INFO] [stderr] error: could not compile `testing` (bin "test_driven_development_tdd") due to 6 previous errors [INFO] [stderr] error: could not compile `testing` (bin "documentation_tests") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "281fc3e64323676a755e47520e7491a6b6b8e4736f7414eda87940ccbd90d03f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "281fc3e64323676a755e47520e7491a6b6b8e4736f7414eda87940ccbd90d03f", kill_on_drop: false }` [INFO] [stdout] 281fc3e64323676a755e47520e7491a6b6b8e4736f7414eda87940ccbd90d03f