[INFO] fetching crate cutlass 0.1.0... [INFO] testing cutlass-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate cutlass 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate cutlass 0.1.0 [INFO] finished tweaking crates.io crate cutlass 0.1.0 [INFO] tweaked toml for crates.io crate cutlass 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cutlass 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.110) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fbfe70c8a296c18b7789d2b12f6854fb65098a1939695150374d8d55f6d1dab [INFO] running `Command { std: "docker" "start" "-a" "7fbfe70c8a296c18b7789d2b12f6854fb65098a1939695150374d8d55f6d1dab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fbfe70c8a296c18b7789d2b12f6854fb65098a1939695150374d8d55f6d1dab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fbfe70c8a296c18b7789d2b12f6854fb65098a1939695150374d8d55f6d1dab", kill_on_drop: false }` [INFO] [stdout] 7fbfe70c8a296c18b7789d2b12f6854fb65098a1939695150374d8d55f6d1dab [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71b66fa3a7ea69b790da7dc65973d1b5d7852442af884786efa7813d1d998d9d [INFO] running `Command { std: "docker" "start" "-a" "71b66fa3a7ea69b790da7dc65973d1b5d7852442af884786efa7813d1d998d9d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cutlass v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.11s [INFO] running `Command { std: "docker" "inspect" "71b66fa3a7ea69b790da7dc65973d1b5d7852442af884786efa7813d1d998d9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71b66fa3a7ea69b790da7dc65973d1b5d7852442af884786efa7813d1d998d9d", kill_on_drop: false }` [INFO] [stdout] 71b66fa3a7ea69b790da7dc65973d1b5d7852442af884786efa7813d1d998d9d [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fac6381af4d7aee30c41958216eab9922c4e3015b567c699683f2bfa3c0c661 [INFO] running `Command { std: "docker" "start" "-a" "8fac6381af4d7aee30c41958216eab9922c4e3015b567c699683f2bfa3c0c661", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cutlass v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] type _product_T0 = u32; type _product_T1 = impl Fn(u32) -> _product_T0; pub fn [INFO] [stdout] product(x : u32) -> _product_T1 { return move | y | { return x * y; }; } [INFO] [stdout] type _add_T0 = u32; type _add_T1 = impl Fn(u32) -> _add_T0; pub fn [INFO] [stdout] add(x : u32) -> _add_T1 { return move | y | { x + y }; } [INFO] [stdout] warning: type `_product_T0` should have an upper camel case name [INFO] [stdout] --> tests/with_map.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn product(x: u32, y: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `ProductT0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] type _add_T0 = u32; type _add_T1 = impl Fn(u32) -> _add_T0; type _add_T2 = [INFO] [stdout] impl Fn(u32) -> _add_T1; fn add(x : u32) -> _add_T2 [INFO] [stdout] { return move | y | move | z | { return x + y + z; }; } [INFO] [stdout] warning: type `_product_T1` should have an upper camel case name [INFO] [stdout] --> tests/with_map.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn product(x: u32, y: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `ProductT1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `_add_T0` should have an upper camel case name [INFO] [stdout] --> tests/with_map.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn add(x: u32, y: u32) -> u32 { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `AddT0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `_add_T1` should have an upper camel case name [INFO] [stdout] --> tests/with_map.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn add(x: u32, y: u32) -> u32 { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `AddT1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> tests/with_map.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[curry] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `_product_T1` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> tests/with_map.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | #[curry] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `_add_T1` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `_add_T0` should have an upper camel case name [INFO] [stdout] --> tests/smoke.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn add(x: u32, y: u32, z: u32) -> u32 { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `AddT0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `_add_T1` should have an upper camel case name [INFO] [stdout] --> tests/smoke.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn add(x: u32, y: u32, z: u32) -> u32 { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `AddT1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `_add_T2` should have an upper camel case name [INFO] [stdout] --> tests/smoke.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn add(x: u32, y: u32, z: u32) -> u32 { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `AddT2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> tests/smoke.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[cutlass::curry] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `_add_T1` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> tests/smoke.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[cutlass::curry] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `_add_T2` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/smoke.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[cutlass::curry] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected opaque type, found closure [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `_add_T1` [INFO] [stdout] found closure `{closure@tests/smoke.rs:3:1: 3:18}` [INFO] [stdout] = note: this error originates in the attribute macro `cutlass::curry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/smoke.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[cutlass::curry] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected opaque type, found closure [INFO] [stdout] 4 | fn add(x: u32, y: u32, z: u32) -> u32 { [INFO] [stdout] | --- expected `_add_T2` because of return type [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `_add_T2` [INFO] [stdout] found closure `{closure@tests/smoke.rs:3:1: 3:18}` [INFO] [stdout] note: this item must have a `#[define_opaque(_add_T2)]` attribute to be able to define hidden types [INFO] [stdout] --> tests/smoke.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn add(x: u32, y: u32, z: u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the attribute macro `cutlass::curry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/with_map.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[curry] [INFO] [stdout] | ^^^^^^^^ expected opaque type, found closure [INFO] [stdout] 7 | pub fn product(x: u32, y: u32) -> u32 { [INFO] [stdout] | ------- expected `_product_T1` because of return type [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `_product_T1` [INFO] [stdout] found closure `{closure@tests/with_map.rs:6:5: 6:13}` [INFO] [stdout] note: this item must have a `#[define_opaque(_product_T1)]` attribute to be able to define hidden types [INFO] [stdout] --> tests/with_map.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn product(x: u32, y: u32) -> u32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: this error originates in the attribute macro `curry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/with_map.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | #[curry] [INFO] [stdout] | ^^^^^^^^ expected opaque type, found closure [INFO] [stdout] 11 | pub fn add(x: u32, y: u32) -> u32 { [INFO] [stdout] | --- expected `_add_T1` because of return type [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `_add_T1` [INFO] [stdout] found closure `{closure@tests/with_map.rs:10:5: 10:13}` [INFO] [stdout] note: this item must have a `#[define_opaque(_add_T1)]` attribute to be able to define hidden types [INFO] [stdout] --> tests/with_map.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn add(x: u32, y: u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this error originates in the attribute macro `curry` (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 E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cutlass` (test "with_map") due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cutlass` (test "smoke") due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8fac6381af4d7aee30c41958216eab9922c4e3015b567c699683f2bfa3c0c661", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fac6381af4d7aee30c41958216eab9922c4e3015b567c699683f2bfa3c0c661", kill_on_drop: false }` [INFO] [stdout] 8fac6381af4d7aee30c41958216eab9922c4e3015b567c699683f2bfa3c0c661