[INFO] updating cached repository https://github.com/bkolad/type_level_trick [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] abe51077588615bb3c7452b1fde6e03e230bb844 [INFO] testing bkolad/type_level_trick against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbkolad%2Ftype_level_trick" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bkolad/type_level_trick on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/bkolad/type_level_trick [INFO] finished tweaking git repo https://github.com/bkolad/type_level_trick [INFO] tweaked toml for git repo https://github.com/bkolad/type_level_trick written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/bkolad/type_level_trick already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3603c04ce8243f85b4d970bb1a0304a0709e320e5325ec60cbbe2362b4735761 [INFO] running `"docker" "start" "-a" "3603c04ce8243f85b4d970bb1a0304a0709e320e5325ec60cbbe2362b4735761"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling type_level_trick v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused variable: `gadget1` [INFO] [stderr] --> src/main.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | let gadget1= Gadget::{ [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gadget1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `native1` [INFO] [stderr] --> src/main.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | let native1= Native::{ [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_native1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `g` [INFO] [stderr] --> src/main.rs:43:27 [INFO] [stderr] | [INFO] [stderr] 43 | fn force_the_same_hash(g:Gadget::, native:Native){ [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `native` [INFO] [stderr] --> src/main.rs:43:42 [INFO] [stderr] | [INFO] [stderr] 43 | fn force_the_same_hash(g:Gadget::, native:Native){ [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_native` [INFO] [stderr] [INFO] [stderr] error[E0382]: use of moved value: `gadget` [INFO] [stderr] --> src/main.rs:38:25 [INFO] [stderr] | [INFO] [stderr] 19 | let gadget= Gadget::{ [INFO] [stderr] | ------ move occurs because `gadget` has type `Gadget<'_, MIMCType>`, which does not implement the `Copy` trait [INFO] [stderr] ... [INFO] [stderr] 28 | force_the_same_hash(gadget, native); [INFO] [stderr] | ------ value moved here [INFO] [stderr] ... [INFO] [stderr] 38 | force_the_same_hash(gadget, native); [INFO] [stderr] | ^^^^^^ value used here after move [INFO] [stderr] [INFO] [stderr] error[E0382]: use of moved value: `native` [INFO] [stderr] --> src/main.rs:38:33 [INFO] [stderr] | [INFO] [stderr] 23 | let native= Native::{ [INFO] [stderr] | ------ move occurs because `native` has type `Native<'_, MIMCType>`, which does not implement the `Copy` trait [INFO] [stderr] ... [INFO] [stderr] 28 | force_the_same_hash(gadget, native); [INFO] [stderr] | ------ value moved here [INFO] [stderr] ... [INFO] [stderr] 38 | force_the_same_hash(gadget, native); [INFO] [stderr] | ^^^^^^ value used here after move [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0382`. [INFO] [stderr] error: could not compile `type_level_trick`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3603c04ce8243f85b4d970bb1a0304a0709e320e5325ec60cbbe2362b4735761"` [INFO] running `"docker" "rm" "-f" "3603c04ce8243f85b4d970bb1a0304a0709e320e5325ec60cbbe2362b4735761"` [INFO] [stdout] 3603c04ce8243f85b4d970bb1a0304a0709e320e5325ec60cbbe2362b4735761