[INFO] fetching crate bachue-auto_impl 0.5.1... [INFO] testing bachue-auto_impl-0.5.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate bachue-auto_impl 0.5.1 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bachue-auto_impl 0.5.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84bb1db4f3c939fa0c9360494bbb9cd35b8ccac3967ab66b409feb10a729ee4a [INFO] running `Command { std: "docker" "start" "-a" "84bb1db4f3c939fa0c9360494bbb9cd35b8ccac3967ab66b409feb10a729ee4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84bb1db4f3c939fa0c9360494bbb9cd35b8ccac3967ab66b409feb10a729ee4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84bb1db4f3c939fa0c9360494bbb9cd35b8ccac3967ab66b409feb10a729ee4a", kill_on_drop: false }` [INFO] [stdout] 84bb1db4f3c939fa0c9360494bbb9cd35b8ccac3967ab66b409feb10a729ee4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 827de846e4b90b05f9c74e0ea0916b8abe45bc9d014b1f1a1ec0ed5fdc27f0c9 [INFO] running `Command { std: "docker" "start" "-a" "827de846e4b90b05f9c74e0ea0916b8abe45bc9d014b1f1a1ec0ed5fdc27f0c9", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [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 proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling bachue-auto_impl v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.20s [INFO] running `Command { std: "docker" "inspect" "827de846e4b90b05f9c74e0ea0916b8abe45bc9d014b1f1a1ec0ed5fdc27f0c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "827de846e4b90b05f9c74e0ea0916b8abe45bc9d014b1f1a1ec0ed5fdc27f0c9", kill_on_drop: false }` [INFO] [stdout] 827de846e4b90b05f9c74e0ea0916b8abe45bc9d014b1f1a1ec0ed5fdc27f0c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ad09f28bcc980e884d010add6cc43ace68a8f450ab6ed7cc5ad2511c15328b2 [INFO] running `Command { std: "docker" "start" "-a" "3ad09f28bcc980e884d010add6cc43ace68a8f450ab6ed7cc5ad2511c15328b2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [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 itoa v0.4.8 [INFO] [stderr] Compiling trybuild v1.0.52 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling bachue-auto_impl v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling toml v0.5.8 [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 unresolved module or unlinked crate `auto_impl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `auto_impl`, use `cargo add auto_impl` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `auto_impl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `auto_impl`, use `cargo add auto_impl` to add it to your `Cargo.toml` [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 `&&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] 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 dereferencing here [INFO] [stdout] | [INFO] [stdout] 60 | show_first(*boxed.clone()); // Box> (auto-impl) [INFO] [stdout] | + [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] [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 "refs") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 unresolved module or unlinked crate `auto_impl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `auto_impl`, use `cargo add auto_impl` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `auto_impl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `auto_impl`, use `cargo add auto_impl` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `auto_impl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `auto_impl`, use `cargo add auto_impl` to add it to your `Cargo.toml` [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 `{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` (test "no_std") due to 1 previous error [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 2 previous errors [INFO] [stderr] error: could not compile `bachue-auto_impl` (example "error_messages") due to 1 previous error [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 unresolved module or unlinked crate `auto_impl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `auto_impl`, use `cargo add auto_impl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bachue-auto_impl` (example "names") due to 1 previous error [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 `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] 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 dereferencing here [INFO] [stdout] | [INFO] [stdout] 49 | test_foo(*Box::new(s)); [INFO] [stdout] | + [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 "keep_default_for") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "3ad09f28bcc980e884d010add6cc43ace68a8f450ab6ed7cc5ad2511c15328b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ad09f28bcc980e884d010add6cc43ace68a8f450ab6ed7cc5ad2511c15328b2", kill_on_drop: false }` [INFO] [stdout] 3ad09f28bcc980e884d010add6cc43ace68a8f450ab6ed7cc5ad2511c15328b2