[INFO] fetching crate kathy 0.1.0... [INFO] checking kathy-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate kathy 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate kathy 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate kathy 0.1.0 [INFO] tweaked toml for crates.io crate kathy 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kathy 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kathy 0.1.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kathy_macros v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a0842c560b77b5f261915fbc8205f64fc9ce2b3a1b549e682c08f20270c709f [INFO] running `Command { std: "docker" "start" "-a" "8a0842c560b77b5f261915fbc8205f64fc9ce2b3a1b549e682c08f20270c709f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a0842c560b77b5f261915fbc8205f64fc9ce2b3a1b549e682c08f20270c709f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a0842c560b77b5f261915fbc8205f64fc9ce2b3a1b549e682c08f20270c709f", kill_on_drop: false }` [INFO] [stdout] 8a0842c560b77b5f261915fbc8205f64fc9ce2b3a1b549e682c08f20270c709f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2299c8f9d83bf309f8312514b084aeb11c62240b9ec3be8a11169bad0ab60397 [INFO] running `Command { std: "docker" "start" "-a" "2299c8f9d83bf309f8312514b084aeb11c62240b9ec3be8a11169bad0ab60397", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling kathy_macros v0.1.0 [INFO] [stderr] Checking kathy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `for<'a> <&'a Vec2 as KeyPathIndexable<_>>::Output: TypeEquals<&'a _>` is not satisfied [INFO] [stdout] --> examples/demo.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | println!("height: {}", family.people[0].dimensions[height_agg]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'a> TypeEquals<&'a _>` is not implemented for `<&'a Vec2 as KeyPathIndexable<_>>::Output` [INFO] [stdout] | [INFO] [stdout] note: this is a known limitation of the trait solver that will be lifted in the future [INFO] [stdout] --> examples/demo.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | println!("height: {}", family.people[0].dimensions[height_agg]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ try adding turbofish arguments to this expression to specify the types manually, even if it's redundant [INFO] [stdout] note: required for `Vec2` to implement `Index<_>` [INFO] [stdout] --> examples/demo.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Keyable)] [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] 18 | struct Vec2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Keyable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&Person: KeyPathIndexable<(_, _)>` [INFO] [stdout] --> examples/iterator.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | .map_kp(Person::dimensions.kp::<"height">()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`iterator`) [INFO] [stdout] = note: required for `&Person` to implement `KeyPathIndexable<(_, (_, _))>` [INFO] [stdout] = note: 126 redundant requirements hidden [INFO] [stdout] = note: required for `&Person` to implement `KeyPathIndexable<(_, (_, (_, (_, (_, (_, (_, (_, (_, ...)))))))))>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/iterator-974fbb1d5c0cee1b.long-type-6554830435865932848.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'a> <&'a Person as KeyPathIndexable<_>>::Output: TypeEquals<&'a _>` is not satisfied [INFO] [stdout] --> examples/demo.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | println!("height: {}", family.people[0][height_agg]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `for<'a> TypeEquals<&'a _>` is not implemented for `<&'a Person as KeyPathIndexable<_>>::Output` [INFO] [stdout] | [INFO] [stdout] note: this is a known limitation of the trait solver that will be lifted in the future [INFO] [stdout] --> examples/demo.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | println!("height: {}", family.people[0][height_agg]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ try adding turbofish arguments to this expression to specify the types manually, even if it's redundant [INFO] [stdout] note: required for `Person` to implement `Index<_>` [INFO] [stdout] --> examples/demo.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Keyable)] [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] 11 | struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Keyable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'a> <&'a Family as KeyPathIndexable<_>>::Output: TypeEquals<&'a _>` is not satisfied [INFO] [stdout] --> examples/demo.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | println!("height: {}", family[height_agg]); [INFO] [stdout] | ^^^^^^ the trait `for<'a> TypeEquals<&'a _>` is not implemented for `<&'a Family as KeyPathIndexable<_>>::Output` [INFO] [stdout] | [INFO] [stdout] note: this is a known limitation of the trait solver that will be lifted in the future [INFO] [stdout] --> examples/demo.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | println!("height: {}", family[height_agg]); [INFO] [stdout] | ^^^^^^ try adding turbofish arguments to this expression to specify the types manually, even if it's redundant [INFO] [stdout] note: required for `Family` to implement `Index<_>` [INFO] [stdout] --> examples/demo.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Keyable)] [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] 6 | struct Family { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Keyable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kathy` (example "iterator") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `for<'a> <&'a Person as KeyPathIndexable<_>>::Output: TypeEquals<&'a _>` is not satisfied [INFO] [stdout] --> examples/demo.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 52 | modify( [INFO] [stdout] | ------ required by a bound introduced by this call [INFO] [stdout] 53 | &mut family.people[0], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `for<'a> TypeEquals<&'a _>` is not implemented for `<&'a Person as KeyPathIndexable<_>>::Output` [INFO] [stdout] | [INFO] [stdout] note: this is a known limitation of the trait solver that will be lifted in the future [INFO] [stdout] --> examples/demo.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 52 | / modify( [INFO] [stdout] 53 | | &mut family.people[0], [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^ the trait solver is unable to infer the generic types that should be inferred from this argument [INFO] [stdout] 54 | | Person::dimensions.kp::<"height">(), [INFO] [stdout] 55 | | 5 [INFO] [stdout] 56 | | ); [INFO] [stdout] | |_____- add turbofish arguments to this call to specify the types manually, even if it's redundant [INFO] [stdout] note: required for `Person` to implement `IndexMut<_>` [INFO] [stdout] --> examples/demo.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Keyable)] [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] 11 | struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required by a bound in `modify` [INFO] [stdout] --> examples/demo.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 61 | fn modify(thing: &mut Person, path: KP, new_val: I) [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] 62 | where [INFO] [stdout] 63 | Person: IndexMut [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `modify` [INFO] [stdout] = note: this error originates in the derive macro `Keyable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'a> <&'a mut Person as KeyPathIndexable<_>>::Output: TypeEquals<&'a mut _>` is not satisfied [INFO] [stdout] --> examples/demo.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 52 | modify( [INFO] [stdout] | ------ required by a bound introduced by this call [INFO] [stdout] 53 | &mut family.people[0], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `for<'a> TypeEquals<&'a mut _>` is not implemented for `<&'a mut Person as KeyPathIndexable<_>>::Output` [INFO] [stdout] | [INFO] [stdout] note: this is a known limitation of the trait solver that will be lifted in the future [INFO] [stdout] --> examples/demo.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 52 | / modify( [INFO] [stdout] 53 | | &mut family.people[0], [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^ the trait solver is unable to infer the generic types that should be inferred from this argument [INFO] [stdout] 54 | | Person::dimensions.kp::<"height">(), [INFO] [stdout] 55 | | 5 [INFO] [stdout] 56 | | ); [INFO] [stdout] | |_____- add turbofish arguments to this call to specify the types manually, even if it's redundant [INFO] [stdout] note: required for `Person` to implement `IndexMut<_>` [INFO] [stdout] --> examples/demo.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Keyable)] [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] 11 | struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required by a bound in `modify` [INFO] [stdout] --> examples/demo.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 61 | fn modify(thing: &mut Person, path: KP, new_val: I) [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] 62 | where [INFO] [stdout] 63 | Person: IndexMut [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `modify` [INFO] [stdout] = note: this error originates in the derive macro `Keyable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'a> <&'a Person as KeyPathIndexable<_>>::Output: TypeEquals<&'a _>` is not satisfied [INFO] [stdout] --> examples/demo.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 52 | modify( [INFO] [stdout] | ------ required by a bound introduced by this call [INFO] [stdout] 53 | &mut family.people[0], [INFO] [stdout] 54 | Person::dimensions.kp::<"height">(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'a> TypeEquals<&'a _>` is not implemented for `<&'a Person as KeyPathIndexable<_>>::Output` [INFO] [stdout] | [INFO] [stdout] note: this is a known limitation of the trait solver that will be lifted in the future [INFO] [stdout] --> examples/demo.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 52 | / modify( [INFO] [stdout] 53 | | &mut family.people[0], [INFO] [stdout] 54 | | Person::dimensions.kp::<"height">(), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait solver is unable to infer the generic types that should be inferred from this argument [INFO] [stdout] 55 | | 5 [INFO] [stdout] 56 | | ); [INFO] [stdout] | |_____- add turbofish arguments to this call to specify the types manually, even if it's redundant [INFO] [stdout] note: required for `Person` to implement `Index<_>` [INFO] [stdout] --> examples/demo.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Keyable)] [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] 11 | struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required by a bound in `modify` [INFO] [stdout] --> examples/demo.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 61 | fn modify(thing: &mut Person, path: KP, new_val: I) [INFO] [stdout] | ------ required by a bound in this function [INFO] [stdout] 62 | where [INFO] [stdout] 63 | Person: IndexMut [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `modify` [INFO] [stdout] = note: this error originates in the derive macro `Keyable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPathIndexable` [INFO] [stdout] --> examples/demo.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use kathy::{KeyPathIndexable, Keyable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'a> <&'a Person as KeyPathIndexable<_>>::Output: TypeEquals<&'a _>` is not satisfied [INFO] [stdout] --> examples/inlines.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | std::hint::black_box(person[Person::age]); [INFO] [stdout] | ^^^^^^ the trait `for<'a> TypeEquals<&'a _>` is not implemented for `<&'a Person as KeyPathIndexable<_>>::Output` [INFO] [stdout] | [INFO] [stdout] note: this is a known limitation of the trait solver that will be lifted in the future [INFO] [stdout] --> examples/inlines.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | std::hint::black_box(person[Person::age]); [INFO] [stdout] | ^^^^^^ try adding turbofish arguments to this expression to specify the types manually, even if it's redundant [INFO] [stdout] note: required for `Person` to implement `Index<_>` [INFO] [stdout] --> examples/inlines.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Keyable)] [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] 4 | struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Keyable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kathy` (example "inlines") due to 1 previous error [INFO] [stderr] error: could not compile `kathy` (example "demo") due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2299c8f9d83bf309f8312514b084aeb11c62240b9ec3be8a11169bad0ab60397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2299c8f9d83bf309f8312514b084aeb11c62240b9ec3be8a11169bad0ab60397", kill_on_drop: false }` [INFO] [stdout] 2299c8f9d83bf309f8312514b084aeb11c62240b9ec3be8a11169bad0ab60397