[INFO] cloning repository https://github.com/luojia65/csky-rust-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luojia65/csky-rust-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Fcsky-rust-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Fcsky-rust-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95dc19d725f1708b4eb2a0c1977f9a561dffca13 [INFO] checking luojia65/csky-rust-test against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Fcsky-rust-test" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/luojia65/csky-rust-test [INFO] finished tweaking git repo https://github.com/luojia65/csky-rust-test [INFO] tweaked toml for git repo https://github.com/luojia65/csky-rust-test written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/luojia65/csky-rust-test on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/luojia65/csky-rust-test 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57f69cea443f2a59004a998ea6fc2ecadcb32bf56e1bb39e546bcf223f51d0b1 [INFO] running `Command { std: "docker" "start" "-a" "57f69cea443f2a59004a998ea6fc2ecadcb32bf56e1bb39e546bcf223f51d0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57f69cea443f2a59004a998ea6fc2ecadcb32bf56e1bb39e546bcf223f51d0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57f69cea443f2a59004a998ea6fc2ecadcb32bf56e1bb39e546bcf223f51d0b1", kill_on_drop: false }` [INFO] [stdout] 57f69cea443f2a59004a998ea6fc2ecadcb32bf56e1bb39e546bcf223f51d0b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58ee733333ba9b4a2b4219a17b7481fde9e4df72302add14589dbc5f02efbb7c [INFO] running `Command { std: "docker" "start" "-a" "58ee733333ba9b4a2b4219a17b7481fde9e4df72302add14589dbc5f02efbb7c", kill_on_drop: false }` [INFO] [stderr] Compiling csky-rust-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | untagged_unions, decl_macro, rustc_attrs, transparent_unions, auto_traits, [INFO] [stdout] | ^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.64.0; see for more information [INFO] [stdout] = note: unions with `Copy` and `ManuallyDrop` fields are stable; there is no intent to stabilize more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | untagged_unions, decl_macro, rustc_attrs, transparent_unions, auto_traits, [INFO] [stdout] | ^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.64.0; see for more information [INFO] [stdout] = note: unions with `Copy` and `ManuallyDrop` fields are stable; there is no intent to stabilize more [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | no_core, lang_items, intrinsics, unboxed_closures, type_ascription, extern_types, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | no_core, lang_items, intrinsics, unboxed_closures, type_ascription, extern_types, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `rustc_attrs` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | untagged_unions, decl_macro, rustc_attrs, transparent_unions, auto_traits, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/main.rs:596:1 [INFO] [stdout] | [INFO] [stdout] 596 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown lang item: `structural_teq` [INFO] [stdout] --> src/main.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | #[lang = "structural_teq"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ definition of unknown lang item `structural_teq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0522]: definition of an unknown lang item: `box_free` [INFO] [stdout] --> src/main.rs:519:1 [INFO] [stdout] | [INFO] [stdout] 519 | #[lang = "box_free"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ definition of unknown lang item `box_free` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0703]: invalid ABI: found `rust-intrinsic` [INFO] [stdout] --> src/main.rs:544:12 [INFO] [stdout] | [INFO] [stdout] 544 | extern "rust-intrinsic" { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ invalid ABI [INFO] [stdout] | [INFO] [stdout] = note: invoke `rustc --print=calling-conventions` for a full list of supported calling conventions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | no_core, lang_items, intrinsics, unboxed_closures, type_ascription, extern_types, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `type_ascription` [INFO] [stdout] --> src/main.rs:2:56 [INFO] [stdout] | [INFO] [stdout] 2 | no_core, lang_items, intrinsics, unboxed_closures, type_ascription, extern_types, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | no_core, lang_items, intrinsics, unboxed_closures, type_ascription, extern_types, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `rustc_attrs` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | untagged_unions, decl_macro, rustc_attrs, transparent_unions, auto_traits, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/main.rs:596:1 [INFO] [stdout] | [INFO] [stdout] 596 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `sized` [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Sized {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `core` (which `std` depends on) [INFO] [stdout] = note: first definition in `core` loaded from /opt/rustwide/rustup-home/toolchains/8c32e313cccf7df531e2d49ffb8227bb92304aee/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-28a6d102916cede1.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Sized {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Unsize {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait CoerceUnsized {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | impl<'a, 'b: 'a, T: ?Sized + Unsize, U: ?Sized> CoerceUnsized<&'a U> for &'b T {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a, T: ?Sized + Unsize, U: ?Sized> CoerceUnsized<&'a mut U> for &'a mut T {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl, U: ?Sized> CoerceUnsized<*const U> for *const T {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | impl, U: ?Sized> CoerceUnsized<*mut U> for *mut T {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait DispatchFromDyn {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | impl<'a, T: ?Sized+Unsize, U: ?Sized> DispatchFromDyn<&'a U> for &'a T {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'a, T: ?Sized+Unsize, U: ?Sized> DispatchFromDyn<&'a mut U> for &'a mut T {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | impl, U: ?Sized> DispatchFromDyn<*const U> for *const T {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 42 | impl, U: ?Sized> DispatchFromDyn<*mut U> for *mut T {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0557. [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 43 | impl, U: ?Sized> DispatchFromDyn> for Box {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait Receiver {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | impl Receiver for &T {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | impl Receiver for &mut T {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | impl Receiver for Box {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub unsafe trait Copy {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | unsafe impl Copy for bool {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 55 - unsafe impl Copy for bool {} [INFO] [stdout] 55 + impl Copy for bool {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe impl Copy for u8 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 56 - unsafe impl Copy for u8 {} [INFO] [stdout] 56 + impl Copy for u8 {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe impl Copy for u16 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 57 - unsafe impl Copy for u16 {} [INFO] [stdout] 57 + impl Copy for u16 {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | unsafe impl Copy for u32 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 58 - unsafe impl Copy for u32 {} [INFO] [stdout] 58 + impl Copy for u32 {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe impl Copy for u64 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 59 - unsafe impl Copy for u64 {} [INFO] [stdout] 59 + impl Copy for u64 {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe impl Copy for u128 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 60 - unsafe impl Copy for u128 {} [INFO] [stdout] 60 + impl Copy for u128 {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | unsafe impl Copy for usize {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 61 - unsafe impl Copy for usize {} [INFO] [stdout] 61 + impl Copy for usize {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe impl Copy for i8 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 62 - unsafe impl Copy for i8 {} [INFO] [stdout] 62 + impl Copy for i8 {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | unsafe impl Copy for i16 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 63 - unsafe impl Copy for i16 {} [INFO] [stdout] 63 + impl Copy for i16 {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe impl Copy for i32 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 64 - unsafe impl Copy for i32 {} [INFO] [stdout] 64 + impl Copy for i32 {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | unsafe impl Copy for isize {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 65 - unsafe impl Copy for isize {} [INFO] [stdout] 65 + impl Copy for isize {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe impl Copy for f32 {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 66 - unsafe impl Copy for f32 {} [INFO] [stdout] 66 + impl Copy for f32 {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | unsafe impl Copy for char {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 67 - unsafe impl Copy for char {} [INFO] [stdout] 67 + impl Copy for char {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0199]: implementing the trait `Copy` is not unsafe [INFO] [stdout] --> src/main.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe impl<'a, T: ?Sized> Copy for &'a T {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove `unsafe` from this trait implementation [INFO] [stdout] | [INFO] [stdout] 68 - unsafe impl<'a, T: ?Sized> Copy for &'a T {} [INFO] [stdout] 68 + impl<'a, T: ?Sized> Copy for &'a T {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe impl<'a, T: ?Sized> Copy for &'a T {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | unsafe impl Copy for *const T {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | unsafe impl Copy for *mut T {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe impl Copy for Option {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub unsafe trait Sync {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe impl<'a, T: ?Sized> Sync for &'a T {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe auto trait Freeze {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | unsafe impl Freeze for PhantomData {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | unsafe impl Freeze for *const T {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe impl Freeze for *mut T {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | unsafe impl Freeze for &T {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | unsafe impl Freeze for &mut T {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | pub trait StructuralPartialEq {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | pub trait StructuralEq {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / pub trait Not { [INFO] [stdout] 107 | | type Output; [INFO] [stdout] 108 | | [INFO] [stdout] 109 | | fn not(self) -> Self::Output; [INFO] [stdout] 110 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | type Output; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | / pub trait Mul { [INFO] [stdout] 122 | | type Output; [INFO] [stdout] 123 | | [INFO] [stdout] 124 | | #[must_use] [INFO] [stdout] 125 | | fn mul(self, rhs: RHS) -> Self::Output; [INFO] [stdout] 126 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | type Output; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | / pub trait Add { [INFO] [stdout] 146 | | type Output; [INFO] [stdout] 147 | | [INFO] [stdout] 148 | | fn add(self, rhs: RHS) -> Self::Output; [INFO] [stdout] 149 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | type Output; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | / pub trait Sub { [INFO] [stdout] 177 | | type Output; [INFO] [stdout] 178 | | [INFO] [stdout] 179 | | fn sub(self, rhs: RHS) -> Self::Output; [INFO] [stdout] 180 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | type Output; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 215 | / pub trait Rem { [INFO] [stdout] 216 | | type Output; [INFO] [stdout] 217 | | [INFO] [stdout] 218 | | fn rem(self, rhs: RHS) -> Self::Output; [INFO] [stdout] 219 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | type Output; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:230:1 [INFO] [stdout] | [INFO] [stdout] 230 | / pub trait BitOr { [INFO] [stdout] 231 | | type Output; [INFO] [stdout] 232 | | [INFO] [stdout] 233 | | #[must_use] [INFO] [stdout] 234 | | fn bitor(self, rhs: RHS) -> Self::Output; [INFO] [stdout] 235 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | type Output; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 254 | / pub trait PartialEq { [INFO] [stdout] 255 | | fn eq(&self, other: &Rhs) -> bool; [INFO] [stdout] 256 | | fn ne(&self, other: &Rhs) -> bool; [INFO] [stdout] 257 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:350:6 [INFO] [stdout] | [INFO] [stdout] 350 | impl PartialEq for *const T { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:359:7 [INFO] [stdout] | [INFO] [stdout] 359 | impl PartialEq for Option { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:378:1 [INFO] [stdout] | [INFO] [stdout] 378 | / pub trait Shl { [INFO] [stdout] 379 | | type Output; [INFO] [stdout] 380 | | [INFO] [stdout] 381 | | #[must_use] [INFO] [stdout] 382 | | fn shl(self, rhs: RHS) -> Self::Output; [INFO] [stdout] 383 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 379 | type Output; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:394:1 [INFO] [stdout] | [INFO] [stdout] 394 | / pub trait Neg { [INFO] [stdout] 395 | | type Output; [INFO] [stdout] 396 | | [INFO] [stdout] 397 | | fn neg(self) -> Self::Output; [INFO] [stdout] 398 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | type Output; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:432:17 [INFO] [stdout] | [INFO] [stdout] 432 | pub enum Option { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:440:24 [INFO] [stdout] | [INFO] [stdout] 440 | pub struct PhantomData; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:444:1 [INFO] [stdout] | [INFO] [stdout] 444 | / pub trait FnOnce { [INFO] [stdout] 445 | | #[lang = "fn_once_output"] [INFO] [stdout] 446 | | type Output; [INFO] [stdout] ... | [INFO] [stdout] 449 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:453:1 [INFO] [stdout] | [INFO] [stdout] 453 | / pub trait FnMut: FnOnce { [INFO] [stdout] 454 | | extern "rust-call" fn call_mut(&mut self, args: Args) -> Self::Output; [INFO] [stdout] 455 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:482:29 [INFO] [stdout] | [INFO] [stdout] 482 | pub unsafe fn drop_in_place(to_drop: *mut T) { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:489:1 [INFO] [stdout] | [INFO] [stdout] 489 | / pub trait Deref { [INFO] [stdout] 490 | | type Target: ?Sized; [INFO] [stdout] 491 | | [INFO] [stdout] 492 | | fn deref(&self) -> &Self::Target; [INFO] [stdout] 493 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:496:16 [INFO] [stdout] | [INFO] [stdout] 496 | pub struct Box(*mut T); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:498:6 [INFO] [stdout] | [INFO] [stdout] 498 | impl, U: ?Sized> CoerceUnsized> for Box {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:500:6 [INFO] [stdout] | [INFO] [stdout] 500 | impl Drop for Box { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:506:6 [INFO] [stdout] | [INFO] [stdout] 506 | impl Deref for Box { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:520:20 [INFO] [stdout] | [INFO] [stdout] 520 | unsafe fn box_free(ptr: *mut T) { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:525:1 [INFO] [stdout] | [INFO] [stdout] 525 | / pub trait Drop { [INFO] [stdout] 526 | | fn drop(&mut self); [INFO] [stdout] 527 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `csky-rust-test` (bin "csky-rust-test" test) due to 2 previous errors; 4 warnings emitted [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:531:25 [INFO] [stdout] | [INFO] [stdout] 531 | pub struct ManuallyDrop { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:537:23 [INFO] [stdout] | [INFO] [stdout] 537 | pub union MaybeUninit { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0044]: foreign items may not have type parameters [INFO] [stdout] --> src/main.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | pub fn size_of() -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't have type parameters [INFO] [stdout] | [INFO] [stdout] = help: replace the type parameters with concrete types like `u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:546:24 [INFO] [stdout] | [INFO] [stdout] 546 | pub fn size_of() -> usize; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:575:1 [INFO] [stdout] | [INFO] [stdout] 575 | / pub trait Index { [INFO] [stdout] 576 | | type Output: ?Sized; [INFO] [stdout] 577 | | fn index(&self, index: Idx) -> &Self::Output; [INFO] [stdout] 578 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:580:6 [INFO] [stdout] | [INFO] [stdout] 580 | impl Index for [T; 3] { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: requires `meta_sized` lang_item [INFO] [stdout] --> src/main.rs:588:6 [INFO] [stdout] | [INFO] [stdout] 588 | impl Index for [T] { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0044, E0199, E0522, E0557, E0635, E0703. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0044`. [INFO] [stdout] [INFO] [stderr] error: could not compile `csky-rust-test` (bin "csky-rust-test") due to 89 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "58ee733333ba9b4a2b4219a17b7481fde9e4df72302add14589dbc5f02efbb7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58ee733333ba9b4a2b4219a17b7481fde9e4df72302add14589dbc5f02efbb7c", kill_on_drop: false }` [INFO] [stdout] 58ee733333ba9b4a2b4219a17b7481fde9e4df72302add14589dbc5f02efbb7c