[INFO] fetching crate cutlass 0.1.0... [INFO] checking cutlass-0.1.0 against try#38c2997544af84fe301d600d6896397738163002 for pr-154205-1 [INFO] extracting crate cutlass 0.1.0 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cutlass 0.1.0 on toolchain 38c2997544af84fe301d600d6896397738163002 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "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" "+38c2997544af84fe301d600d6896397738163002" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.117) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "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] 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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b2eb0a89f274a0edcbca38e9a9111463a97d0c1215afdd81e78757a556a1de8 [INFO] running `Command { std: "docker" "start" "-a" "8b2eb0a89f274a0edcbca38e9a9111463a97d0c1215afdd81e78757a556a1de8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b2eb0a89f274a0edcbca38e9a9111463a97d0c1215afdd81e78757a556a1de8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b2eb0a89f274a0edcbca38e9a9111463a97d0c1215afdd81e78757a556a1de8", kill_on_drop: false }` [INFO] [stdout] 8b2eb0a89f274a0edcbca38e9a9111463a97d0c1215afdd81e78757a556a1de8 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e774af965e1b15dda63e74f834a7a563a17e687b16c77317d0f2170d70671e6 [INFO] running `Command { std: "docker" "start" "-a" "5e774af965e1b15dda63e74f834a7a563a17e687b16c77317d0f2170d70671e6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-ident v1.0.24 [INFO] [stderr] Checking cutlass v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:48:32","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:51:57","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:51:30","p":2,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:52:57","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:52:30","p":2,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:86:64","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:86:36","p":2,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:95:13","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:48:32","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:51:57","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:51:30","p":2,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:52:57","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:52:30","p":2,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:86:64","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:86:36","p":2,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:95:13","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:48:32","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:51:57","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:51:30","p":2,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:52:57","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:52:30","p":2,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:86:64","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:86:36","p":2,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"cutlass","loc":"src/lib.rs:95:13","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [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] 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] 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] 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] 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] [stderr] error: could not compile `cutlass` (test "smoke") due to 4 previous errors; 3 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cutlass` (test "with_map") due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5e774af965e1b15dda63e74f834a7a563a17e687b16c77317d0f2170d70671e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e774af965e1b15dda63e74f834a7a563a17e687b16c77317d0f2170d70671e6", kill_on_drop: false }` [INFO] [stdout] 5e774af965e1b15dda63e74f834a7a563a17e687b16c77317d0f2170d70671e6