[INFO] updating cached repository https://github.com/Zyphicx/ecstest [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf3d0dc4be347e92edc1a5dcc010a3d92f090d44 [INFO] testing Zyphicx/ecstest against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZyphicx%2Fecstest" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Zyphicx/ecstest on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1/source/Cargo.toml [INFO] crate git repo https://github.com/Zyphicx/ecstest already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7de39dade451b219fd4ab3397a97fb38d434ebfe241ad08a09af8b2933851f7b [INFO] running `Command { std: "docker" "start" "-a" "7de39dade451b219fd4ab3397a97fb38d434ebfe241ad08a09af8b2933851f7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7de39dade451b219fd4ab3397a97fb38d434ebfe241ad08a09af8b2933851f7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7de39dade451b219fd4ab3397a97fb38d434ebfe241ad08a09af8b2933851f7b", kill_on_drop: false }` [INFO] [stdout] 7de39dade451b219fd4ab3397a97fb38d434ebfe241ad08a09af8b2933851f7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63ea2e1a31d881a468a9098288ff3e7cda60e8615013acb00422c4b187bd0c02 [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" "63ea2e1a31d881a468a9098288ff3e7cda60e8615013acb00422c4b187bd0c02", kill_on_drop: false }` [INFO] [stderr] Compiling ecstest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Tag::*` [INFO] [stdout] --> src/main.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | use Tag::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:162:47 [INFO] [stdout] | [INFO] [stdout] 162 | fn put(&mut self, id: EntityID, comp: Box); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:163:48 [INFO] [stdout] | [INFO] [stdout] 163 | fn get(&self, id: EntityID) -> Option<&Box>; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:164:60 [INFO] [stdout] | [INFO] [stdout] 164 | fn get_mut(&mut self, id: EntityID) -> Option<&mut Box>; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:167:49 [INFO] [stdout] | [INFO] [stdout] 167 | impl ComponentStorage for HashMap> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:168:47 [INFO] [stdout] | [INFO] [stdout] 168 | fn put(&mut self, id: EntityID, comp: Box) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:172:48 [INFO] [stdout] | [INFO] [stdout] 172 | fn get(&self, id: EntityID) -> Option<&Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:176:60 [INFO] [stdout] | [INFO] [stdout] 176 | fn get_mut(&mut self, id: EntityID) -> Option<&mut Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:181:35 [INFO] [stdout] | [INFO] [stdout] 181 | impl ComponentStorage for Vec> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:182:47 [INFO] [stdout] | [INFO] [stdout] 182 | fn put(&mut self, id: EntityID, comp: Box) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:186:48 [INFO] [stdout] | [INFO] [stdout] 186 | fn get(&self, id: EntityID) -> Option<&Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:190:60 [INFO] [stdout] | [INFO] [stdout] 190 | fn get_mut(&mut self, id: EntityID) -> Option<&mut Box> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:224:26 [INFO] [stdout] | [INFO] [stdout] 224 | fn as_any(&self) -> &std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn std::any::Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:234:37 [INFO] [stdout] | [INFO] [stdout] 234 | components: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ComponentStorage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:261:26 [INFO] [stdout] | [INFO] [stdout] 261 | fn as_any(&self) -> &std::any::Any { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn std::any::Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:269:26 [INFO] [stdout] | [INFO] [stdout] 269 | fn as_any(&self) -> &std::any::Any { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn std::any::Any` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:295:25 [INFO] [stdout] | [INFO] [stdout] 295 | let component: &Component = &**component_storage.get(*entity).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | type Read = ( $( $( &'a $components ),+ )+ ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 357 | read!( Tag::HasGravity: Vel ); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:83:51 [INFO] [stdout] | [INFO] [stdout] 83 | .map(|x| { let comp: &Component = &**world.components.get(&TypeId::of::<$components>()) [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] ... [INFO] [stdout] 357 | read!( Tag::HasGravity: Vel ); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | type Write = ( $( $( &'a mut $components ),+ )+ ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] ... [INFO] [stdout] 358 | write!( Tag::HasGravity: Pos ); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:133:55 [INFO] [stdout] | [INFO] [stdout] 133 | .map(|x| { let comp: &mut Component = &**world.components.get_mut(&TypeId::of::<$components>()) [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Component` [INFO] [stdout] ... [INFO] [stdout] 358 | write!( Tag::HasGravity: Pos ); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `&Vel` cannot be built from an iterator over elements of type `&Vel` [INFO] [stdout] --> src/main.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | .collect() [INFO] [stdout] | ^^^^^^^ value of type `&Vel` cannot be built from `std::iter::Iterator` [INFO] [stdout] ... [INFO] [stdout] 357 | read!( Tag::HasGravity: Vel ); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::iter::FromIterator<&Vel>` is not implemented for `&Vel` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:133:67 [INFO] [stdout] | [INFO] [stdout] 133 | .map(|x| { let comp: &mut Component = &**world.components.get_mut(&TypeId::of::<$components>()) [INFO] [stdout] | __________________________________________________--------------___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 134 | | .unwrap() [INFO] [stdout] 135 | | .get_mut(*x) // Get the corresponding component [INFO] [stdout] 136 | | .unwrap(); [INFO] [stdout] | |______________________________________________________________________________________________^ types differ in mutability [INFO] [stdout] ... [INFO] [stdout] 358 | write!( Tag::HasGravity: Pos ); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut (dyn Component + 'static)` [INFO] [stdout] found reference `&(dyn Component + 'static)` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `&mut Pos` cannot be built from an iterator over elements of type `&mut Pos` [INFO] [stdout] --> src/main.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | .collect() [INFO] [stdout] | ^^^^^^^ value of type `&mut Pos` cannot be built from `std::iter::Iterator` [INFO] [stdout] ... [INFO] [stdout] 358 | write!( Tag::HasGravity: Pos ); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::iter::FromIterator<&mut Pos>` is not implemented for `&mut Pos` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:191:14 [INFO] [stdout] | [INFO] [stdout] 191 | Some(&self[id as usize]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut std::boxed::Box<(dyn Component + 'static)>` [INFO] [stdout] found reference `&std::boxed::Box<(dyn Component + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ecstest`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "63ea2e1a31d881a468a9098288ff3e7cda60e8615013acb00422c4b187bd0c02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63ea2e1a31d881a468a9098288ff3e7cda60e8615013acb00422c4b187bd0c02", kill_on_drop: false }` [INFO] [stdout] 63ea2e1a31d881a468a9098288ff3e7cda60e8615013acb00422c4b187bd0c02