[INFO] cloning repository https://github.com/peb7268/RustyMissle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peb7268/RustyMissle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeb7268%2FRustyMissle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeb7268%2FRustyMissle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de1204e48dfe086443d2c8517c25ea782e3d71df [INFO] checking peb7268/RustyMissle/de1204e48dfe086443d2c8517c25ea782e3d71df against master#e3e432d4d65a55e6db167598e96db2bcb163e316 for pr-140313 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeb7268%2FRustyMissle" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/peb7268/RustyMissle on toolchain e3e432d4d65a55e6db167598e96db2bcb163e316 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/peb7268/RustyMissle [INFO] finished tweaking git repo https://github.com/peb7268/RustyMissle [INFO] tweaked toml for git repo https://github.com/peb7268/RustyMissle written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/peb7268/RustyMissle 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" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d690e68da7303e20376e4325a0488399c3c6b77b4508c836e53e772afeaa21b [INFO] running `Command { std: "docker" "start" "-a" "2d690e68da7303e20376e4325a0488399c3c6b77b4508c836e53e772afeaa21b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d690e68da7303e20376e4325a0488399c3c6b77b4508c836e53e772afeaa21b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d690e68da7303e20376e4325a0488399c3c6b77b4508c836e53e772afeaa21b", kill_on_drop: false }` [INFO] [stdout] 2d690e68da7303e20376e4325a0488399c3c6b77b4508c836e53e772afeaa21b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+e3e432d4d65a55e6db167598e96db2bcb163e316" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74610b63a06b7e0da05458072e8c930b6e6a83fe230a9bb5f84d3ff3d151861b [INFO] running `Command { std: "docker" "start" "-a" "74610b63a06b7e0da05458072e8c930b6e6a83fe230a9bb5f84d3ff3d151861b", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.75 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking warp v0.3.6 [INFO] [stderr] Checking multi-process-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0038]: the trait `Runnable` is not dyn compatible [INFO] [stdout] --> src/modules/main_module.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | let mut process_map: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Runnable` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/traits/runnable.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Runnable: Send + Sync + Clone { [INFO] [stdout] | -------- ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait is not dyn compatible... [INFO] [stdout] = help: the following types implement `Runnable`: [INFO] [stdout] modules::payload::Payload [INFO] [stdout] modules::server::Server [INFO] [stdout] modules::module::Module [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Runnable` for this new enum and using it instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Runnable` is not dyn compatible [INFO] [stdout] --> src/modules/main_module.rs:33:63 [INFO] [stdout] | [INFO] [stdout] 33 | let mut process_map: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ `Runnable` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/traits/runnable.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Runnable: Send + Sync + Clone { [INFO] [stdout] | -------- ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait is not dyn compatible... [INFO] [stdout] = help: the following types implement `Runnable`: [INFO] [stdout] modules::payload::Payload [INFO] [stdout] modules::server::Server [INFO] [stdout] modules::module::Module [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Runnable` for this new enum and using it instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Runnable` is not dyn compatible [INFO] [stdout] --> src/modules/main_module.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | process_map.insert("payload".to_string(), Box::new(payload::Payload)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `Runnable` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/traits/runnable.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Runnable: Send + Sync + Clone { [INFO] [stdout] | -------- ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait is not dyn compatible... [INFO] [stdout] = help: the following types implement `Runnable`: [INFO] [stdout] modules::payload::Payload [INFO] [stdout] modules::server::Server [INFO] [stdout] modules::module::Module [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Runnable` for this new enum and using it instead [INFO] [stdout] = note: required for the cast from `Box` to `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Runnable` is not dyn compatible [INFO] [stdout] --> src/modules/main_module.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | process_map.insert("server".to_string(), Box::new(server::Server)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Runnable` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/traits/runnable.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Runnable: Send + Sync + Clone { [INFO] [stdout] | -------- ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait is not dyn compatible... [INFO] [stdout] = help: the following types implement `Runnable`: [INFO] [stdout] modules::payload::Payload [INFO] [stdout] modules::server::Server [INFO] [stdout] modules::module::Module [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Runnable` for this new enum and using it instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Runnable` is not dyn compatible [INFO] [stdout] --> src/modules/main_module.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | process_map.insert("server".to_string(), Box::new(server::Server)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `Runnable` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/traits/runnable.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Runnable: Send + Sync + Clone { [INFO] [stdout] | -------- ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait is not dyn compatible... [INFO] [stdout] = help: the following types implement `Runnable`: [INFO] [stdout] modules::payload::Payload [INFO] [stdout] modules::server::Server [INFO] [stdout] modules::module::Module [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Runnable` for this new enum and using it instead [INFO] [stdout] = note: required for the cast from `Box` to `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Runnable` is not dyn compatible [INFO] [stdout] --> src/modules/main_module.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | process_map.insert("module".to_string(), Box::new(module::Module)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Runnable` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/traits/runnable.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Runnable: Send + Sync + Clone { [INFO] [stdout] | -------- ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait is not dyn compatible... [INFO] [stdout] = help: the following types implement `Runnable`: [INFO] [stdout] modules::payload::Payload [INFO] [stdout] modules::server::Server [INFO] [stdout] modules::module::Module [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Runnable` for this new enum and using it instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Runnable` is not dyn compatible [INFO] [stdout] --> src/modules/main_module.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | process_map.insert("module".to_string(), Box::new(module::Module)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `Runnable` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/traits/runnable.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Runnable: Send + Sync + Clone { [INFO] [stdout] | -------- ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait is not dyn compatible... [INFO] [stdout] = help: the following types implement `Runnable`: [INFO] [stdout] modules::payload::Payload [INFO] [stdout] modules::server::Server [INFO] [stdout] modules::module::Module [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Runnable` for this new enum and using it instead [INFO] [stdout] = note: required for the cast from `Box` to `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Runnable` is not dyn compatible [INFO] [stdout] --> src/modules/main_module.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(process) = process_map.get(process) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `Runnable` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/traits/runnable.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Runnable: Send + Sync + Clone { [INFO] [stdout] | -------- ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait is not dyn compatible... [INFO] [stdout] = help: the following types implement `Runnable`: [INFO] [stdout] modules::payload::Payload [INFO] [stdout] modules::server::Server [INFO] [stdout] modules::module::Module [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Runnable` for this new enum and using it instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Runnable` is not dyn compatible [INFO] [stdout] --> src/modules/main_module.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | let process = process.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ `Runnable` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/traits/runnable.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Runnable: Send + Sync + Clone { [INFO] [stdout] | -------- ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait is not dyn compatible... [INFO] [stdout] = help: the following types implement `Runnable`: [INFO] [stdout] modules::payload::Payload [INFO] [stdout] modules::server::Server [INFO] [stdout] modules::module::Module [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Runnable` for this new enum and using it instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `run` method cannot be invoked on a trait object [INFO] [stdout] --> src/modules/main_module.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | process.run(); [INFO] [stdout] | ^^^ this has a `Sized` requirement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `multi-process-rust` (bin "multi-process-rust") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0038]: the trait `Runnable` is not dyn compatible [INFO] [stdout] --> src/modules/main_module.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | let mut process_map: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Runnable` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/traits/runnable.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Runnable: Send + Sync + Clone { [INFO] [stdout] | -------- ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait is not dyn compatible... [INFO] [stdout] = help: the following types implement `Runnable`: [INFO] [stdout] modules::payload::Payload [INFO] [stdout] modules::server::Server [INFO] [stdout] modules::module::Module [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Runnable` for this new enum and using it instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Runnable` is not dyn compatible [INFO] [stdout] --> src/modules/main_module.rs:33:63 [INFO] [stdout] | [INFO] [stdout] 33 | let mut process_map: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^ `Runnable` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/traits/runnable.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Runnable: Send + Sync + Clone { [INFO] [stdout] | -------- ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait is not dyn compatible... [INFO] [stdout] = help: the following types implement `Runnable`: [INFO] [stdout] modules::payload::Payload [INFO] [stdout] modules::server::Server [INFO] [stdout] modules::module::Module [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Runnable` for this new enum and using it instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Runnable` is not dyn compatible [INFO] [stdout] --> src/modules/main_module.rs:34:47 [INFO] [stdout] | [INFO] [stdout] 34 | process_map.insert("payload".to_string(), Box::new(payload::Payload)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `Runnable` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/traits/runnable.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Runnable: Send + Sync + Clone { [INFO] [stdout] | -------- ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait is not dyn compatible... [INFO] [stdout] = help: the following types implement `Runnable`: [INFO] [stdout] modules::payload::Payload [INFO] [stdout] modules::server::Server [INFO] [stdout] modules::module::Module [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Runnable` for this new enum and using it instead [INFO] [stdout] = note: required for the cast from `Box` to `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Runnable` is not dyn compatible [INFO] [stdout] --> src/modules/main_module.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | process_map.insert("server".to_string(), Box::new(server::Server)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Runnable` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/traits/runnable.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Runnable: Send + Sync + Clone { [INFO] [stdout] | -------- ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait is not dyn compatible... [INFO] [stdout] = help: the following types implement `Runnable`: [INFO] [stdout] modules::payload::Payload [INFO] [stdout] modules::server::Server [INFO] [stdout] modules::module::Module [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Runnable` for this new enum and using it instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Runnable` is not dyn compatible [INFO] [stdout] --> src/modules/main_module.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | process_map.insert("server".to_string(), Box::new(server::Server)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `Runnable` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/traits/runnable.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Runnable: Send + Sync + Clone { [INFO] [stdout] | -------- ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait is not dyn compatible... [INFO] [stdout] = help: the following types implement `Runnable`: [INFO] [stdout] modules::payload::Payload [INFO] [stdout] modules::server::Server [INFO] [stdout] modules::module::Module [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Runnable` for this new enum and using it instead [INFO] [stdout] = note: required for the cast from `Box` to `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Runnable` is not dyn compatible [INFO] [stdout] --> src/modules/main_module.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | process_map.insert("module".to_string(), Box::new(module::Module)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Runnable` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/traits/runnable.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Runnable: Send + Sync + Clone { [INFO] [stdout] | -------- ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait is not dyn compatible... [INFO] [stdout] = help: the following types implement `Runnable`: [INFO] [stdout] modules::payload::Payload [INFO] [stdout] modules::server::Server [INFO] [stdout] modules::module::Module [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Runnable` for this new enum and using it instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Runnable` is not dyn compatible [INFO] [stdout] --> src/modules/main_module.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | process_map.insert("module".to_string(), Box::new(module::Module)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `Runnable` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/traits/runnable.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Runnable: Send + Sync + Clone { [INFO] [stdout] | -------- ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait is not dyn compatible... [INFO] [stdout] = help: the following types implement `Runnable`: [INFO] [stdout] modules::payload::Payload [INFO] [stdout] modules::server::Server [INFO] [stdout] modules::module::Module [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Runnable` for this new enum and using it instead [INFO] [stdout] = note: required for the cast from `Box` to `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Runnable` is not dyn compatible [INFO] [stdout] --> src/modules/main_module.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | if let Some(process) = process_map.get(process) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ `Runnable` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/traits/runnable.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Runnable: Send + Sync + Clone { [INFO] [stdout] | -------- ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait is not dyn compatible... [INFO] [stdout] = help: the following types implement `Runnable`: [INFO] [stdout] modules::payload::Payload [INFO] [stdout] modules::server::Server [INFO] [stdout] modules::module::Module [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Runnable` for this new enum and using it instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Runnable` is not dyn compatible [INFO] [stdout] --> src/modules/main_module.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | let process = process.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ `Runnable` is not dyn compatible [INFO] [stdout] | [INFO] [stdout] note: for a trait to be dyn compatible it needs to allow building a vtable [INFO] [stdout] for more information, visit [INFO] [stdout] --> src/traits/runnable.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Runnable: Send + Sync + Clone { [INFO] [stdout] | -------- ^^^^^ ...because it requires `Self: Sized` [INFO] [stdout] | | [INFO] [stdout] | this trait is not dyn compatible... [INFO] [stdout] = help: the following types implement `Runnable`: [INFO] [stdout] modules::payload::Payload [INFO] [stdout] modules::server::Server [INFO] [stdout] modules::module::Module [INFO] [stdout] consider defining an enum where each variant holds one of these types, [INFO] [stdout] implementing `Runnable` for this new enum and using it instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `run` method cannot be invoked on a trait object [INFO] [stdout] --> src/modules/main_module.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | process.run(); [INFO] [stdout] | ^^^ this has a `Sized` requirement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `multi-process-rust` (bin "multi-process-rust" test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "74610b63a06b7e0da05458072e8c930b6e6a83fe230a9bb5f84d3ff3d151861b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74610b63a06b7e0da05458072e8c930b6e6a83fe230a9bb5f84d3ff3d151861b", kill_on_drop: false }` [INFO] [stdout] 74610b63a06b7e0da05458072e8c930b6e6a83fe230a9bb5f84d3ff3d151861b