[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#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluojia65%2Fcsky-rust-test" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/luojia65/csky-rust-test on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-11/source/Cargo.toml [INFO] crate git repo https://github.com/luojia65/csky-rust-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 336913c43c84eefceb29c8a20fe0e4aaaf2263ad11b77fc52ce5d8f998ea7860 [INFO] running `Command { std: "docker" "start" "-a" "336913c43c84eefceb29c8a20fe0e4aaaf2263ad11b77fc52ce5d8f998ea7860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "336913c43c84eefceb29c8a20fe0e4aaaf2263ad11b77fc52ce5d8f998ea7860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "336913c43c84eefceb29c8a20fe0e4aaaf2263ad11b77fc52ce5d8f998ea7860", kill_on_drop: false }` [INFO] [stdout] 336913c43c84eefceb29c8a20fe0e4aaaf2263ad11b77fc52ce5d8f998ea7860 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7497d33c87ae3ec6f9083016dcede7247cddf3be4b1189956bbb8bc05e8e1a4c [INFO] running `Command { std: "docker" "start" "-a" "7497d33c87ae3ec6f9083016dcede7247cddf3be4b1189956bbb8bc05e8e1a4c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling csky-rust-test v0.1.0 (/opt/rustwide/workdir) [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `unsize` [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Unsize {} [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `coerce_unsized` [INFO] [stdout] --> src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait CoerceUnsized {} [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `dispatch_from_dyn` [INFO] [stdout] --> src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait DispatchFromDyn {} [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `receiver` [INFO] [stdout] --> src/main.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait Receiver {} [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `copy` [INFO] [stdout] --> src/main.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub unsafe trait Copy {} [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `sync` [INFO] [stdout] --> src/main.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub unsafe trait Sync {} [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `freeze` [INFO] [stdout] --> src/main.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe auto trait Freeze {} [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `structural_peq` [INFO] [stdout] --> src/main.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | pub trait StructuralPartialEq {} [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `structural_teq` [INFO] [stdout] --> src/main.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | pub trait StructuralEq {} [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `not` [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] = 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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `mul` [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] = 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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `add` [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] = 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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `sub` [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] = 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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `rem` [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] = 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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `bitor` [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] = 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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eq` [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] = 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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `shl` [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] = 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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `neg` [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] = 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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `phantom_data` [INFO] [stdout] --> src/main.rs:440:1 [INFO] [stdout] | [INFO] [stdout] 440 | pub struct PhantomData; [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `fn_once` [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] 447 | | [INFO] [stdout] 448 | | extern "rust-call" fn call_once(self, args: Args) -> Self::Output; [INFO] [stdout] 449 | | } [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `fn_once_output` [INFO] [stdout] --> src/main.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | type Output; [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `fn_mut` [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] = 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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic` [INFO] [stdout] --> src/main.rs:459:1 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn panic(_msg: &str) -> ! { [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_bounds_check` [INFO] [stdout] --> src/main.rs:468:1 [INFO] [stdout] | [INFO] [stdout] 468 | fn panic_bounds_check(index: usize, len: usize) -> ! { [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> src/main.rs:476:1 [INFO] [stdout] | [INFO] [stdout] 476 | fn eh_personality() -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_unwind` (which `std` depends on) [INFO] [stdout] = note: first definition in `panic_unwind` loaded from /opt/rustwide/rustup-home/toolchains/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `drop_in_place` [INFO] [stdout] --> src/main.rs:482:1 [INFO] [stdout] | [INFO] [stdout] 482 | pub unsafe fn drop_in_place(to_drop: *mut T) { [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `deref` [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] = 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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `owned_box` [INFO] [stdout] --> src/main.rs:496:1 [INFO] [stdout] | [INFO] [stdout] 496 | pub struct Box(*mut T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `alloc` (which `std` depends on) [INFO] [stdout] = note: first definition in `alloc` loaded from /opt/rustwide/rustup-home/toolchains/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `exchange_malloc` [INFO] [stdout] --> src/main.rs:515:1 [INFO] [stdout] | [INFO] [stdout] 515 | unsafe fn allocate(size: usize, _align: usize) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `alloc` (which `std` depends on) [INFO] [stdout] = note: first definition in `alloc` loaded from /opt/rustwide/rustup-home/toolchains/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `box_free` [INFO] [stdout] --> src/main.rs:520:1 [INFO] [stdout] | [INFO] [stdout] 520 | unsafe fn box_free(ptr: *mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `alloc` (which `std` depends on) [INFO] [stdout] = note: first definition in `alloc` loaded from /opt/rustwide/rustup-home/toolchains/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `drop` [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] = 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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `manually_drop` [INFO] [stdout] --> src/main.rs:531:1 [INFO] [stdout] | [INFO] [stdout] 531 | / pub struct ManuallyDrop { [INFO] [stdout] 532 | | pub value: T, [INFO] [stdout] 533 | | } [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `maybe_uninit` [INFO] [stdout] --> src/main.rs:537:1 [INFO] [stdout] | [INFO] [stdout] 537 | / pub union MaybeUninit { [INFO] [stdout] 538 | | pub uninit: (), [INFO] [stdout] 539 | | pub value: ManuallyDrop, [INFO] [stdout] 540 | | } [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `index` [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] = 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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `va_list` [INFO] [stdout] --> src/main.rs:602:1 [INFO] [stdout] | [INFO] [stdout] 602 | pub struct VaList<'a>(&'a mut VaListImpl); [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_location` [INFO] [stdout] --> src/main.rs:627:1 [INFO] [stdout] | [INFO] [stdout] 627 | / struct PanicLocation { [INFO] [stdout] 628 | | file: &'static str, [INFO] [stdout] 629 | | line: u32, [INFO] [stdout] 630 | | column: u32, [INFO] [stdout] 631 | | } [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/936f2600b6c903b04387f74ed5cbce88bb06d243/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib [INFO] [stdout] = note: second definition in the local crate (`csky_rust_test`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `csky-rust-test` due to 38 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7497d33c87ae3ec6f9083016dcede7247cddf3be4b1189956bbb8bc05e8e1a4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7497d33c87ae3ec6f9083016dcede7247cddf3be4b1189956bbb8bc05e8e1a4c", kill_on_drop: false }` [INFO] [stdout] 7497d33c87ae3ec6f9083016dcede7247cddf3be4b1189956bbb8bc05e8e1a4c