[INFO] fetching crate bachue-auto_impl 0.5.1... [INFO] checking bachue-auto_impl-0.5.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate bachue-auto_impl 0.5.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate bachue-auto_impl 0.5.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bachue-auto_impl 0.5.1 [INFO] finished tweaking crates.io crate bachue-auto_impl 0.5.1 [INFO] tweaked toml for crates.io crate bachue-auto_impl 0.5.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate bachue-auto_impl 0.5.1 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6af7b7fadd156d0dccf0e23fac3b2b4231f189d1e8a9273b8e03f33096066937 [INFO] running `Command { std: "docker" "start" "-a" "6af7b7fadd156d0dccf0e23fac3b2b4231f189d1e8a9273b8e03f33096066937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6af7b7fadd156d0dccf0e23fac3b2b4231f189d1e8a9273b8e03f33096066937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6af7b7fadd156d0dccf0e23fac3b2b4231f189d1e8a9273b8e03f33096066937", kill_on_drop: false }` [INFO] [stdout] 6af7b7fadd156d0dccf0e23fac3b2b4231f189d1e8a9273b8e03f33096066937 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5c7721c3a999a215f1e46a479a666564e313a97c80d5e801adbe42828a16515 [INFO] running `Command { std: "docker" "start" "-a" "c5c7721c3a999a215f1e46a479a666564e313a97c80d5e801adbe42828a16515", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling trybuild v1.0.52 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking quote v1.0.10 [INFO] [stderr] Checking bachue-auto_impl v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml v0.5.8 [INFO] [stdout] error[E0432]: unresolved import `auto_impl` [INFO] [stdout] --> tests/no_std.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use auto_impl::auto_impl; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `auto_impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `auto_impl` [INFO] [stdout] --> examples/keep_default_for.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use auto_impl::auto_impl; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `auto_impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `auto_impl` [INFO] [stdout] --> examples/refs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use auto_impl::auto_impl; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `auto_impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `auto_impl` [INFO] [stdout] --> examples/error_messages.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use auto_impl::auto_impl; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `auto_impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `auto_impl` [INFO] [stdout] --> examples/greet_closure.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use auto_impl::auto_impl; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `auto_impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `auto_impl` [INFO] [stdout] --> examples/names.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use auto_impl::auto_impl; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `auto_impl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bachue-auto_impl` (test "no_std") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [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] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&String: Foo` is not satisfied [INFO] [stdout] --> examples/keep_default_for.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | test_foo(&s); [INFO] [stdout] | -------- ^^ the trait `Foo` is not implemented for `&String` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `test_foo` [INFO] [stdout] --> examples/keep_default_for.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | fn test_foo(x: impl Foo) { [INFO] [stdout] | ^^^ required by this bound in `test_foo` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 45 - test_foo(&s); [INFO] [stdout] 45 + test_foo(s); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Vec<&str>: DisplayCollection` is not satisfied [INFO] [stdout] --> examples/refs.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | show_first(&v); // &Vec<&str> (auto-impl) [INFO] [stdout] | ---------- ^^ the trait `DisplayCollection` is not implemented for `&Vec<&str>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `show_first` [INFO] [stdout] --> examples/refs.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | fn show_first(c: impl DisplayCollection) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `show_first` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 58 - show_first(&v); // &Vec<&str> (auto-impl) [INFO] [stdout] 58 + show_first(v); // &Vec<&str> (auto-impl) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Box: Foo` is not satisfied [INFO] [stdout] --> examples/keep_default_for.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | test_foo(Box::new(s)); [INFO] [stdout] | -------- ^^^^^^^^^^^ the trait `Foo` is not implemented for `Box` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Foo` is implemented for `String` [INFO] [stdout] note: required by a bound in `test_foo` [INFO] [stdout] --> examples/keep_default_for.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | fn test_foo(x: impl Foo) { [INFO] [stdout] | ^^^ required by this bound in `test_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&&Vec<&str>: DisplayCollection` is not satisfied [INFO] [stdout] --> examples/refs.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | show_first(&&v); // &&Vec<&str> (works too, of course) [INFO] [stdout] | ---------- ^^^ the trait `DisplayCollection` is not implemented for `&&Vec<&str>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `show_first` [INFO] [stdout] --> examples/refs.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | fn show_first(c: impl DisplayCollection) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `show_first` [INFO] [stdout] help: consider removing 2 leading `&`-references [INFO] [stdout] | [INFO] [stdout] 59 - show_first(&&v); // &&Vec<&str> (works too, of course) [INFO] [stdout] 59 + show_first(v); // &&Vec<&str> (works too, of course) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Box>: DisplayCollection` is not satisfied [INFO] [stdout] --> examples/refs.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | show_first(boxed.clone()); // Box> (auto-impl) [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ the trait `DisplayCollection` is not implemented for `Box>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `DisplayCollection` is implemented for `Vec` [INFO] [stdout] note: required by a bound in `show_first` [INFO] [stdout] --> examples/refs.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | fn show_first(c: impl DisplayCollection) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `show_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Box>: DisplayCollection` is not satisfied [INFO] [stdout] --> examples/refs.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | show_first(&boxed); // &Box> [INFO] [stdout] | ---------- ^^^^^^ the trait `DisplayCollection` is not implemented for `&Box>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `DisplayCollection` is implemented for `Vec` [INFO] [stdout] note: required by a bound in `show_first` [INFO] [stdout] --> examples/refs.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | fn show_first(c: impl DisplayCollection) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `show_first` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bachue-auto_impl` (example "error_messages") due to 2 previous errors [INFO] [stderr] error: could not compile `bachue-auto_impl` (example "names") due to 2 previous errors [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{closure@examples/greet_closure.rs:36:18: 36:30}: Greeter` is not satisfied [INFO] [stdout] --> examples/greet_closure.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | greet_people(|name: &str| println!("Hallo {} :)", name)); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Greeter` is not implemented for closure `{closure@examples/greet_closure.rs:36:18: 36:30}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> examples/greet_closure.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | trait Greeter { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `greet_people` [INFO] [stdout] --> examples/greet_closure.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | fn greet_people(greeter: impl Greeter) { [INFO] [stdout] | ^^^^^^^ required by this bound in `greet_people` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bachue-auto_impl` (example "keep_default_for") due to 4 previous errors [INFO] [stderr] error: could not compile `bachue-auto_impl` (example "refs") due to 6 previous errors [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bachue-auto_impl` (example "greet_closure") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "c5c7721c3a999a215f1e46a479a666564e313a97c80d5e801adbe42828a16515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5c7721c3a999a215f1e46a479a666564e313a97c80d5e801adbe42828a16515", kill_on_drop: false }` [INFO] [stdout] c5c7721c3a999a215f1e46a479a666564e313a97c80d5e801adbe42828a16515