[INFO] updating cached repository https://github.com/Zyphicx/ecstest [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] cf3d0dc4be347e92edc1a5dcc010a3d92f090d44 [INFO] checking Zyphicx/ecstest against nightly-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZyphicx%2Fecstest" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Zyphicx/ecstest on toolchain nightly-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Zyphicx/ecstest [INFO] finished tweaking git repo https://github.com/Zyphicx/ecstest [INFO] tweaked toml for git repo https://github.com/Zyphicx/ecstest written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Zyphicx/ecstest already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=allow" "-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" "+nightly-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c0bc2558aac5efa5912629276eb03ac735e026091ad3d8de92a8b4c4a5318148 [INFO] running `"docker" "start" "-a" "c0bc2558aac5efa5912629276eb03ac735e026091ad3d8de92a8b4c4a5318148"` [INFO] [stderr] Checking ecstest v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0277]: a collection of type `&Vel` cannot be built from an iterator over elements of type `&Vel` [INFO] [stderr] --> src/main.rs:94:30 [INFO] [stderr] | [INFO] [stderr] 94 | .collect() [INFO] [stderr] | ^^^^^^^ a collection of type `&Vel` cannot be built from `std::iter::Iterator` [INFO] [stderr] ... [INFO] [stderr] 357 | read!( Tag::HasGravity: Vel ); [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::iter::FromIterator<&Vel>` is not implemented for `&Vel` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:133:67 [INFO] [stderr] | [INFO] [stderr] 133 | .map(|x| { let comp: &mut Component = &**world.components.get_mut(&TypeId::of::<$components>()) [INFO] [stderr] | ___________________________________________________________________^ [INFO] [stderr] 134 | | .unwrap() [INFO] [stderr] 135 | | .get_mut(*x) // Get the corresponding component [INFO] [stderr] 136 | | .unwrap(); [INFO] [stderr] | |______________________________________________________________________________________________^ types differ in mutability [INFO] [stderr] ... [INFO] [stderr] 358 | write!( Tag::HasGravity: Pos ); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected type `&mut (dyn Component + 'static)` [INFO] [stderr] found type `&(dyn Component + 'static)` [INFO] [stderr] [INFO] [stderr] error[E0277]: a collection of type `&mut Pos` cannot be built from an iterator over elements of type `&mut Pos` [INFO] [stderr] --> src/main.rs:144:30 [INFO] [stderr] | [INFO] [stderr] 144 | .collect() [INFO] [stderr] | ^^^^^^^ a collection of type `&mut Pos` cannot be built from `std::iter::Iterator` [INFO] [stderr] ... [INFO] [stderr] 358 | write!( Tag::HasGravity: Pos ); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::iter::FromIterator<&mut Pos>` is not implemented for `&mut Pos` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:191:14 [INFO] [stderr] | [INFO] [stderr] 191 | Some(&self[id as usize]) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stderr] | [INFO] [stderr] = note: expected type `&mut std::boxed::Box<(dyn Component + 'static)>` [INFO] [stderr] found type `&std::boxed::Box<(dyn Component + 'static)>` [INFO] [stderr] [INFO] [stderr] error[E0277]: a collection of type `&Vel` cannot be built from an iterator over elements of type `&Vel` [INFO] [stderr] --> src/main.rs:94:30 [INFO] [stderr] | [INFO] [stderr] 94 | .collect() [INFO] [stderr] | ^^^^^^^ a collection of type `&Vel` cannot be built from `std::iter::Iterator` [INFO] [stderr] ... [INFO] [stderr] 357 | read!( Tag::HasGravity: Vel ); [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::iter::FromIterator<&Vel>` is not implemented for `&Vel` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `ecstest`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:133:67 [INFO] [stderr] | [INFO] [stderr] 133 | .map(|x| { let comp: &mut Component = &**world.components.get_mut(&TypeId::of::<$components>()) [INFO] [stderr] | ___________________________________________________________________^ [INFO] [stderr] 134 | | .unwrap() [INFO] [stderr] 135 | | .get_mut(*x) // Get the corresponding component [INFO] [stderr] 136 | | .unwrap(); [INFO] [stderr] | |______________________________________________________________________________________________^ types differ in mutability [INFO] [stderr] ... [INFO] [stderr] 358 | write!( Tag::HasGravity: Pos ); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected type `&mut (dyn Component + 'static)` [INFO] [stderr] found type `&(dyn Component + 'static)` [INFO] [stderr] [INFO] [stderr] error[E0277]: a collection of type `&mut Pos` cannot be built from an iterator over elements of type `&mut Pos` [INFO] [stderr] --> src/main.rs:144:30 [INFO] [stderr] | [INFO] [stderr] 144 | .collect() [INFO] [stderr] | ^^^^^^^ a collection of type `&mut Pos` cannot be built from `std::iter::Iterator` [INFO] [stderr] ... [INFO] [stderr] 358 | write!( Tag::HasGravity: Pos ); [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::iter::FromIterator<&mut Pos>` is not implemented for `&mut Pos` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:191:14 [INFO] [stderr] | [INFO] [stderr] 191 | Some(&self[id as usize]) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stderr] | [INFO] [stderr] = note: expected type `&mut std::boxed::Box<(dyn Component + 'static)>` [INFO] [stderr] found type `&std::boxed::Box<(dyn Component + 'static)>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `ecstest`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c0bc2558aac5efa5912629276eb03ac735e026091ad3d8de92a8b4c4a5318148"` [INFO] running `"docker" "rm" "-f" "c0bc2558aac5efa5912629276eb03ac735e026091ad3d8de92a8b4c4a5318148"` [INFO] [stdout] c0bc2558aac5efa5912629276eb03ac735e026091ad3d8de92a8b4c4a5318148