[INFO] cloning repository https://github.com/Vidrochka/anthill-game-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vidrochka/anthill-game-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVidrochka%2Fanthill-game-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVidrochka%2Fanthill-game-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae742a7d198fc5cbfbcc29c2fa38b8281a6a9298 [INFO] checking Vidrochka/anthill-game-engine against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVidrochka%2Fanthill-game-engine" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Vidrochka/anthill-game-engine on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Vidrochka/anthill-game-engine [INFO] finished tweaking git repo https://github.com/Vidrochka/anthill-game-engine [INFO] tweaked toml for git repo https://github.com/Vidrochka/anthill-game-engine written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_yaml v0.8.21 [INFO] [stderr] Downloaded xml-rs v0.8.4 [INFO] [stderr] Downloaded ordered-float v2.8.0 [INFO] [stderr] Downloaded unsafe-any v0.4.2 [INFO] [stderr] Downloaded thread-id v3.3.0 [INFO] [stderr] Downloaded serde-value v0.7.0 [INFO] [stderr] Downloaded arc-swap v0.4.8 [INFO] [stderr] Downloaded typemap v0.3.3 [INFO] [stderr] Downloaded log-mdc v0.1.0 [INFO] [stderr] Downloaded log4rs v1.0.0 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded dtoa v0.4.8 [INFO] [stderr] Downloaded sdl2 v0.35.1 [INFO] [stderr] Downloaded version-compare v0.1.0 [INFO] [stderr] Downloaded sdl2-sys v0.35.1 [INFO] [stderr] Downloaded anthill-di v0.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4609183d710c863f8ec8bfd0478dee2c46e2a5110e52d9259c54067f55e8451 [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" "d4609183d710c863f8ec8bfd0478dee2c46e2a5110e52d9259c54067f55e8451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4609183d710c863f8ec8bfd0478dee2c46e2a5110e52d9259c54067f55e8451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4609183d710c863f8ec8bfd0478dee2c46e2a5110e52d9259c54067f55e8451", kill_on_drop: false }` [INFO] [stdout] d4609183d710c863f8ec8bfd0478dee2c46e2a5110e52d9259c54067f55e8451 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 044f37c392e08e9f4037cf89498f5ef57ed9cb8323bbe539252e3155811f2682 [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" "044f37c392e08e9f4037cf89498f5ef57ed9cb8323bbe539252e3155811f2682", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling sdl2 v0.35.1 [INFO] [stderr] Compiling anthill-window-lib v0.1.0 (/opt/rustwide/workdir/anthill-window-lib) [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking arc-swap v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking proc-macro2 v1.0.32 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling sdl2-sys v0.35.1 [INFO] [stderr] Checking quote v1.0.10 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking ordered-float v2.8.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Checking derive_builder v0.10.2 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking serde_json v1.0.72 [INFO] [stderr] Checking serde_yaml v0.8.21 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking log4rs v1.0.0 [INFO] [stderr] Checking anthill-macros-lib v0.1.0 (/opt/rustwide/workdir/anthill-macros-lib) [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking anthill-di v0.1.8 [INFO] [stdout] error[E0277]: `dyn TWindowBuildStrategy` cannot be sent between threads safely [INFO] [stdout] --> anthill-window-lib/src/window/window_system.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | injector.add_container(ContainerBuilder::bind_interface::().build()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `dyn TWindowBuildStrategy` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn TWindowBuildStrategy` [INFO] [stdout] note: required by a bound in `ContainerBuilder::bind_interface` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anthill-di-0.1.8/src/builders/builder.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | TInterface: ?Sized + Send + Sync + 'static, [INFO] [stdout] | ^^^^ required by this bound in `ContainerBuilder::bind_interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn TWindowBuildStrategy` cannot be shared between threads safely [INFO] [stdout] --> anthill-window-lib/src/window/window_system.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | injector.add_container(ContainerBuilder::bind_interface::().build()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `dyn TWindowBuildStrategy` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn TWindowBuildStrategy` [INFO] [stdout] note: required by a bound in `ContainerBuilder::bind_interface` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anthill-di-0.1.8/src/builders/builder.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | TInterface: ?Sized + Send + Sync + 'static, [INFO] [stdout] | ^^^^ required by this bound in `ContainerBuilder::bind_interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `build` exists for struct `builders::interface_builder::InterfaceBuilder`, but its trait bounds were not satisfied [INFO] [stdout] --> anthill-window-lib/src/window/window_system.rs:38:130 [INFO] [stdout] | [INFO] [stdout] 38 | injector.add_container(ContainerBuilder::bind_interface::().build()); [INFO] [stdout] | ^^^^^ method cannot be called on `builders::interface_builder::InterfaceBuilder` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: anthill-window-lib/src/window_build_strategy/window_build_strategy.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait TWindowBuildStrategy { [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `dyn TWindowBuildStrategy: Send` [INFO] [stdout] | doesn't satisfy `dyn TWindowBuildStrategy: Sync` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn TWindowBuildStrategy: Sync` [INFO] [stdout] `dyn TWindowBuildStrategy: Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn TWindowBuildStrategy` cannot be shared between threads safely [INFO] [stdout] --> anthill-window-lib/src/window/window_system.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | injector.add_container(ContainerBuilder::bind_interface::().build()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `dyn TWindowBuildStrategy` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn TWindowBuildStrategy` [INFO] [stdout] note: required by a bound in `builders::interface_builder::InterfaceBuilder` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anthill-di-0.1.8/src/builders/interface_builder.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | TInterface: ?Sized + Sync + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `builders::interface_builder::InterfaceBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn TWindowBuildStrategy` cannot be sent between threads safely [INFO] [stdout] --> anthill-window-lib/src/window/window_system.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | injector.add_container(ContainerBuilder::bind_interface::().build()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `dyn TWindowBuildStrategy` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn TWindowBuildStrategy` [INFO] [stdout] note: required by a bound in `builders::interface_builder::InterfaceBuilder` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anthill-di-0.1.8/src/builders/interface_builder.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | TInterface: ?Sized + Sync + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `builders::interface_builder::InterfaceBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn TWindowBuildStrategy` cannot be shared between threads safely [INFO] [stdout] --> anthill-window-lib/src/window/window_system.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | let window_build_strategy = injector.get_new_instance::>()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `dyn TWindowBuildStrategy` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn TWindowBuildStrategy` [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `Unique` [INFO] [stdout] = note: required because it appears within the type `Box` [INFO] [stdout] note: required by a bound in `Injector::get_new_instance` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anthill-di-0.1.8/src/injector.rs:74:93 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_new_instance(&mut self) -> Result where TType: Sync + Send + 'static { [INFO] [stdout] | ^^^^ required by this bound in `Injector::get_new_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn TWindowBuildStrategy` cannot be sent between threads safely [INFO] [stdout] --> anthill-window-lib/src/window/window_system.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | let window_build_strategy = injector.get_new_instance::>()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `dyn TWindowBuildStrategy` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn TWindowBuildStrategy` [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `Unique` [INFO] [stdout] = note: required because it appears within the type `Box` [INFO] [stdout] note: required by a bound in `Injector::get_new_instance` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anthill-di-0.1.8/src/injector.rs:74:100 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_new_instance(&mut self) -> Result where TType: Sync + Send + 'static { [INFO] [stdout] | ^^^^ required by this bound in `Injector::get_new_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `anthill-window-lib` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `dyn TWindowBuildStrategy` cannot be sent between threads safely [INFO] [stdout] --> anthill-window-lib/src/window/window_system.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | injector.add_container(ContainerBuilder::bind_interface::().build()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `dyn TWindowBuildStrategy` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn TWindowBuildStrategy` [INFO] [stdout] note: required by a bound in `ContainerBuilder::bind_interface` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anthill-di-0.1.8/src/builders/builder.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | TInterface: ?Sized + Send + Sync + 'static, [INFO] [stdout] | ^^^^ required by this bound in `ContainerBuilder::bind_interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn TWindowBuildStrategy` cannot be shared between threads safely [INFO] [stdout] --> anthill-window-lib/src/window/window_system.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | injector.add_container(ContainerBuilder::bind_interface::().build()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `dyn TWindowBuildStrategy` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn TWindowBuildStrategy` [INFO] [stdout] note: required by a bound in `ContainerBuilder::bind_interface` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anthill-di-0.1.8/src/builders/builder.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | TInterface: ?Sized + Send + Sync + 'static, [INFO] [stdout] | ^^^^ required by this bound in `ContainerBuilder::bind_interface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `build` exists for struct `builders::interface_builder::InterfaceBuilder`, but its trait bounds were not satisfied [INFO] [stdout] --> anthill-window-lib/src/window/window_system.rs:38:130 [INFO] [stdout] | [INFO] [stdout] 38 | injector.add_container(ContainerBuilder::bind_interface::().build()); [INFO] [stdout] | ^^^^^ method cannot be called on `builders::interface_builder::InterfaceBuilder` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: anthill-window-lib/src/window_build_strategy/window_build_strategy.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait TWindowBuildStrategy { [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `dyn TWindowBuildStrategy: Send` [INFO] [stdout] | doesn't satisfy `dyn TWindowBuildStrategy: Sync` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `dyn TWindowBuildStrategy: Sync` [INFO] [stdout] `dyn TWindowBuildStrategy: Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn TWindowBuildStrategy` cannot be shared between threads safely [INFO] [stdout] --> anthill-window-lib/src/window/window_system.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | injector.add_container(ContainerBuilder::bind_interface::().build()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `dyn TWindowBuildStrategy` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn TWindowBuildStrategy` [INFO] [stdout] note: required by a bound in `builders::interface_builder::InterfaceBuilder` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anthill-di-0.1.8/src/builders/interface_builder.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | TInterface: ?Sized + Sync + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `builders::interface_builder::InterfaceBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn TWindowBuildStrategy` cannot be sent between threads safely [INFO] [stdout] --> anthill-window-lib/src/window/window_system.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | injector.add_container(ContainerBuilder::bind_interface::().build()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `dyn TWindowBuildStrategy` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn TWindowBuildStrategy` [INFO] [stdout] note: required by a bound in `builders::interface_builder::InterfaceBuilder` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anthill-di-0.1.8/src/builders/interface_builder.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | TInterface: ?Sized + Sync + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `builders::interface_builder::InterfaceBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn TWindowBuildStrategy` cannot be shared between threads safely [INFO] [stdout] --> anthill-window-lib/src/window/window_system.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | let window_build_strategy = injector.get_new_instance::>()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `dyn TWindowBuildStrategy` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn TWindowBuildStrategy` [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `Unique` [INFO] [stdout] = note: required because it appears within the type `Box` [INFO] [stdout] note: required by a bound in `Injector::get_new_instance` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anthill-di-0.1.8/src/injector.rs:74:93 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_new_instance(&mut self) -> Result where TType: Sync + Send + 'static { [INFO] [stdout] | ^^^^ required by this bound in `Injector::get_new_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `dyn TWindowBuildStrategy` cannot be sent between threads safely [INFO] [stdout] --> anthill-window-lib/src/window/window_system.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | let window_build_strategy = injector.get_new_instance::>()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `dyn TWindowBuildStrategy` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `dyn TWindowBuildStrategy` [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `Unique` [INFO] [stdout] = note: required because it appears within the type `Box` [INFO] [stdout] note: required by a bound in `Injector::get_new_instance` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anthill-di-0.1.8/src/injector.rs:74:100 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_new_instance(&mut self) -> Result where TType: Sync + Send + 'static { [INFO] [stdout] | ^^^^ required by this bound in `Injector::get_new_instance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "044f37c392e08e9f4037cf89498f5ef57ed9cb8323bbe539252e3155811f2682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "044f37c392e08e9f4037cf89498f5ef57ed9cb8323bbe539252e3155811f2682", kill_on_drop: false }` [INFO] [stdout] 044f37c392e08e9f4037cf89498f5ef57ed9cb8323bbe539252e3155811f2682