[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] testing ailisp/profile-borsh against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Failisp%2Fprofile-borsh" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ailisp/profile-borsh on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ailisp/profile-borsh 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/near/borsh-rs` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87ff69810635345a77d2c5e473079796bc64382e330368e9be56403f1b44ad51 [INFO] running `Command { std: "docker" "start" "-a" "87ff69810635345a77d2c5e473079796bc64382e330368e9be56403f1b44ad51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87ff69810635345a77d2c5e473079796bc64382e330368e9be56403f1b44ad51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87ff69810635345a77d2c5e473079796bc64382e330368e9be56403f1b44ad51", kill_on_drop: false }` [INFO] [stdout] 87ff69810635345a77d2c5e473079796bc64382e330368e9be56403f1b44ad51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d077691dc17d02c9195e6f657331dadbd0e899acc90a7184297333693034163c [INFO] running `Command { std: "docker" "start" "-a" "d077691dc17d02c9195e6f657331dadbd0e899acc90a7184297333693034163c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.1 (https://github.com/near/borsh-rs?rev=c62cdfbd10d4a17fc877809eba4ccb65e866d5f8#c62cdfbd) [INFO] [stderr] Compiling borsh-derive-internal v0.8.1 (https://github.com/near/borsh-rs?rev=c62cdfbd10d4a17fc877809eba4ccb65e866d5f8#c62cdfbd) [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-derive v0.8.1 (https://github.com/near/borsh-rs?rev=c62cdfbd10d4a17fc877809eba4ccb65e866d5f8#c62cdfbd) [INFO] [stderr] Compiling borsh v0.8.1 (https://github.com/near/borsh-rs?rev=c62cdfbd10d4a17fc877809eba4ccb65e866d5f8#c62cdfbd) [INFO] [stderr] Compiling profile-borsh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0161]: cannot move a value of type `[(usize, ExceptionCode)]` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the size of `[(usize, ExceptionCode)]` cannot be statically determined [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)]` (part of `#[warn(unused)]`) 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] 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] Some errors have detailed explanations: E0161, E0508. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0161`. [INFO] [stdout] [INFO] [stderr] error: could not compile `profile-borsh` (bin "profile-borsh") due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d077691dc17d02c9195e6f657331dadbd0e899acc90a7184297333693034163c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d077691dc17d02c9195e6f657331dadbd0e899acc90a7184297333693034163c", kill_on_drop: false }` [INFO] [stdout] d077691dc17d02c9195e6f657331dadbd0e899acc90a7184297333693034163c