[INFO] cloning repository https://github.com/lijinpei/mlir-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lijinpei/mlir-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flijinpei%2Fmlir-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flijinpei%2Fmlir-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e90215cbba706e34ece56d093fd224e7d54f9651 [INFO] checking lijinpei/mlir-rs against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flijinpei%2Fmlir-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lijinpei/mlir-rs on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lijinpei/mlir-rs [INFO] finished tweaking git repo https://github.com/lijinpei/mlir-rs [INFO] tweaked toml for git repo https://github.com/lijinpei/mlir-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lijinpei/mlir-rs 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/lijinpei/mlir-capi-rs.git` [INFO] [stderr] Updating git repository `https://github.com/lijinpei/llvm-capi-rs.git` [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding llvm-capi v0.1.0 (https://github.com/lijinpei/llvm-capi-rs.git#fda093f1) [INFO] [stderr] Adding mlir-capi v0.1.0 (https://github.com/lijinpei/mlir-capi-rs.git#3d0bd1c3) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] caea43a9b6f65ac0c4a9524bb2b2d4ce9a68d9e25f54ba487a6f4ed1ca084bfa [INFO] running `Command { std: "docker" "start" "-a" "caea43a9b6f65ac0c4a9524bb2b2d4ce9a68d9e25f54ba487a6f4ed1ca084bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "caea43a9b6f65ac0c4a9524bb2b2d4ce9a68d9e25f54ba487a6f4ed1ca084bfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caea43a9b6f65ac0c4a9524bb2b2d4ce9a68d9e25f54ba487a6f4ed1ca084bfa", kill_on_drop: false }` [INFO] [stdout] caea43a9b6f65ac0c4a9524bb2b2d4ce9a68d9e25f54ba487a6f4ed1ca084bfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c97a64398a900c111f224366f1eea5b7a04333d8d9b007a1094bb2c7e13d1ff [INFO] running `Command { std: "docker" "start" "-a" "0c97a64398a900c111f224366f1eea5b7a04333d8d9b007a1094bb2c7e13d1ff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking llvm-capi v0.1.0 (https://github.com/lijinpei/llvm-capi-rs.git#fda093f1) [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking mlir-capi v0.1.0 (https://github.com/lijinpei/mlir-capi-rs.git#3d0bd1c3) [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.90 [INFO] [stderr] Checking mlir-capi-extra v0.1.0 (/opt/rustwide/workdir/mlir-capi-extra-rs) [INFO] [stderr] Checking mlir-impl-macros v0.0.0 (/opt/rustwide/workdir/mlir-impl-macros-rs) [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking mlir-rs v0.1.0 (/opt/rustwide/workdir/mlir-rs) [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | affine_map.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | array.into(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | dense_array.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | dense_elements.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | dense_string.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | dict_attr.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | float_attr.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | int_attr.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | int_set_attr.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | opaque_attr.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | sparse_elem_attr.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | str_attr.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | flat_sym_ref.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | nested_sym_ref.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | type_attr.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | unit_attr.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | strided_attr.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | loc_attr1.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | loc_attr2.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | loc_attr3.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | loc_attr4.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | loc_attr5.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/attribute/mod.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | loc_attr6.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `r#type::ComplexType<'_>` to `r#type::ComplexType<'_>` [INFO] [stdout] --> mlir-rs/src/type/mod.rs:366:39 [INFO] [stdout] | [INFO] [stdout] 366 | assert!(ComplexType::is_a(ty.into())); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `attribute::Attr<'_>` to `attribute::Attr<'_>` [INFO] [stdout] --> mlir-rs/src/type/mod.rs:601:13 [INFO] [stdout] | [INFO] [stdout] 601 | Attr::create_null().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mlir-rs` (lib test) due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "0c97a64398a900c111f224366f1eea5b7a04333d8d9b007a1094bb2c7e13d1ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c97a64398a900c111f224366f1eea5b7a04333d8d9b007a1094bb2c7e13d1ff", kill_on_drop: false }` [INFO] [stdout] 0c97a64398a900c111f224366f1eea5b7a04333d8d9b007a1094bb2c7e13d1ff