[INFO] fetching crate cutlass 0.1.0... [INFO] testing cutlass-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate cutlass 0.1.0 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cutlass 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b995dd3bcc007eeeef4811f841a011638832cbd1201d7f7ed231b605244c26c1 [INFO] running `Command { std: "docker" "start" "-a" "b995dd3bcc007eeeef4811f841a011638832cbd1201d7f7ed231b605244c26c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b995dd3bcc007eeeef4811f841a011638832cbd1201d7f7ed231b605244c26c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b995dd3bcc007eeeef4811f841a011638832cbd1201d7f7ed231b605244c26c1", kill_on_drop: false }` [INFO] [stdout] b995dd3bcc007eeeef4811f841a011638832cbd1201d7f7ed231b605244c26c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cd9a403465a3ccc32c78c0a6af0e13c39718a252b2bf9b3b0128a3bf4a671e9 [INFO] running `Command { std: "docker" "start" "-a" "2cd9a403465a3ccc32c78c0a6af0e13c39718a252b2bf9b3b0128a3bf4a671e9", 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.39s [INFO] running `Command { std: "docker" "inspect" "2cd9a403465a3ccc32c78c0a6af0e13c39718a252b2bf9b3b0128a3bf4a671e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cd9a403465a3ccc32c78c0a6af0e13c39718a252b2bf9b3b0128a3bf4a671e9", kill_on_drop: false }` [INFO] [stdout] 2cd9a403465a3ccc32c78c0a6af0e13c39718a252b2bf9b3b0128a3bf4a671e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5af924ab086f047fdefa45a8f39317d24a6a1e04a8ce8977cff8609dacd60934 [INFO] running `Command { std: "docker" "start" "-a" "5af924ab086f047fdefa45a8f39317d24a6a1e04a8ce8977cff8609dacd60934", 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 _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 `_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 _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/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/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: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" "5af924ab086f047fdefa45a8f39317d24a6a1e04a8ce8977cff8609dacd60934", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5af924ab086f047fdefa45a8f39317d24a6a1e04a8ce8977cff8609dacd60934", kill_on_drop: false }` [INFO] [stdout] 5af924ab086f047fdefa45a8f39317d24a6a1e04a8ce8977cff8609dacd60934