[INFO] cloning repository https://github.com/ailisp/profile-borsh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ailisp/profile-borsh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Failisp%2Fprofile-borsh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Failisp%2Fprofile-borsh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 928fa4c4e4ec2631cc5d311492fb09b4c7c757ef [INFO] checking ailisp/profile-borsh against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Failisp%2Fprofile-borsh" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ailisp/profile-borsh on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ailisp/profile-borsh [INFO] finished tweaking git repo https://github.com/ailisp/profile-borsh [INFO] tweaked toml for git repo https://github.com/ailisp/profile-borsh written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/ailisp/profile-borsh already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ca0feffc32828b38f2f71d143a7ef1874ce311a073c5d9c775008de5fc26091 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6ca0feffc32828b38f2f71d143a7ef1874ce311a073c5d9c775008de5fc26091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ca0feffc32828b38f2f71d143a7ef1874ce311a073c5d9c775008de5fc26091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ca0feffc32828b38f2f71d143a7ef1874ce311a073c5d9c775008de5fc26091", kill_on_drop: false }` [INFO] [stdout] 6ca0feffc32828b38f2f71d143a7ef1874ce311a073c5d9c775008de5fc26091 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f29ec28905ab587f23bc50b83d1c77fbd915e0801147327dfce8764f6de4373 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5f29ec28905ab587f23bc50b83d1c77fbd915e0801147327dfce8764f6de4373", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive-internal v0.8.1 (https://github.com/near/borsh-rs?rev=c62cdfbd10d4a17fc877809eba4ccb65e866d5f8#c62cdfbd) [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.1 (https://github.com/near/borsh-rs?rev=c62cdfbd10d4a17fc877809eba4ccb65e866d5f8#c62cdfbd) [INFO] [stderr] Compiling borsh-derive v0.8.1 (https://github.com/near/borsh-rs?rev=c62cdfbd10d4a17fc877809eba4ccb65e866d5f8#c62cdfbd) [INFO] [stderr] Checking borsh v0.8.1 (https://github.com/near/borsh-rs?rev=c62cdfbd10d4a17fc877809eba4ccb65e866d5f8#c62cdfbd) [INFO] [stderr] Checking profile-borsh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0161]: cannot move a value of type [(usize, ExceptionCode)]: the size of [(usize, ExceptionCode)] cannot be statically determined [INFO] [stdout] --> src/main.rs:337:36 [INFO] [stdout] | [INFO] [stdout] 337 | BorshSerialize::serialize(&unsafe{*std::ptr::slice_from_raw_parts(data_start, buckets+buckets+16)}, writer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0161]: cannot move a value of type [(usize, ExceptionCode)]: the size of [(usize, ExceptionCode)] cannot be statically determined [INFO] [stdout] --> src/main.rs:337:36 [INFO] [stdout] | [INFO] [stdout] 337 | BorshSerialize::serialize(&unsafe{*std::ptr::slice_from_raw_parts(data_start, buckets+buckets+16)}, writer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | let mut std_hashmap: HashMap2 = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | let mut hashbrown_raw_table = std_hashmap.base.table; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | ... let mut data_start = unsafe{NonNull::new_unchecked(hashbrown_raw_table.ctrl.as_ptr() as *mut (usize, ExceptionCode)).as_ptr().wrapp... [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | let mut std_hashmap: HashMap2 = unsafe { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0508]: cannot move out of type `[(usize, ExceptionCode)]`, a non-copy slice [INFO] [stdout] --> src/main.rs:337:43 [INFO] [stdout] | [INFO] [stdout] 337 | BorshSerialize::serialize(&unsafe{*std::ptr::slice_from_raw_parts(data_start, buckets+buckets+16)}, writer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot move out of here [INFO] [stdout] | move occurs because value has type `[(usize, ExceptionCode)]`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | let mut hashbrown_raw_table = std_hashmap.base.table; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0161, E0508. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0161`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | ... let mut data_start = unsafe{NonNull::new_unchecked(hashbrown_raw_table.ctrl.as_ptr() as *mut (usize, ExceptionCode)).as_ptr().wrapp... [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `profile-borsh` [INFO] [stdout] error[E0508]: cannot move out of type `[(usize, ExceptionCode)]`, a non-copy slice [INFO] [stdout] --> src/main.rs:337:43 [INFO] [stdout] | [INFO] [stdout] 337 | BorshSerialize::serialize(&unsafe{*std::ptr::slice_from_raw_parts(data_start, buckets+buckets+16)}, writer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot move out of here [INFO] [stdout] | move occurs because value has type `[(usize, ExceptionCode)]`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] Some errors have detailed explanations: E0161, E0508. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0161`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5f29ec28905ab587f23bc50b83d1c77fbd915e0801147327dfce8764f6de4373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f29ec28905ab587f23bc50b83d1c77fbd915e0801147327dfce8764f6de4373", kill_on_drop: false }` [INFO] [stdout] 5f29ec28905ab587f23bc50b83d1c77fbd915e0801147327dfce8764f6de4373