[INFO] cloning repository https://github.com/tmtaybah/simple__rust_server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tmtaybah/simple__rust_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmtaybah%2Fsimple__rust_server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmtaybah%2Fsimple__rust_server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cd56a160eb500420959072994b99a0a3f54805ef
[INFO] checking tmtaybah/simple__rust_server against try#1bdcb63291ccffc030f8223f6f978568dd240e3e for 155501-infallible-never-with-reservation
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmtaybah%2Fsimple__rust_server" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tmtaybah/simple__rust_server
[INFO] finished tweaking git repo https://github.com/tmtaybah/simple__rust_server
[INFO] tweaked toml for git repo https://github.com/tmtaybah/simple__rust_server written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tmtaybah/simple__rust_server on toolchain 1bdcb63291ccffc030f8223f6f978568dd240e3e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1bdcb63291ccffc030f8223f6f978568dd240e3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tmtaybah/simple__rust_server 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" "+1bdcb63291ccffc030f8223f6f978568dd240e3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1bdcb63291ccffc030f8223f6f978568dd240e3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 31a724c84e0f2e3fcaca9f6d7f24ee74f26f72544f7e3c7d6d72d6cf76ab2c92
[INFO] running `Command { std: "docker" "start" "-a" "31a724c84e0f2e3fcaca9f6d7f24ee74f26f72544f7e3c7d6d72d6cf76ab2c92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "31a724c84e0f2e3fcaca9f6d7f24ee74f26f72544f7e3c7d6d72d6cf76ab2c92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31a724c84e0f2e3fcaca9f6d7f24ee74f26f72544f7e3c7d6d72d6cf76ab2c92", kill_on_drop: false }`
[INFO] [stdout] 31a724c84e0f2e3fcaca9f6d7f24ee74f26f72544f7e3c7d6d72d6cf76ab2c92
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1bdcb63291ccffc030f8223f6f978568dd240e3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c61959d6d6a76fd43f291904735b660462e797a3dbd8a1f5f8ee238466266621
[INFO] running `Command { std: "docker" "start" "-a" "c61959d6d6a76fd43f291904735b660462e797a3dbd8a1f5f8ee238466266621", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.94
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling autocfg v0.1.4
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.39
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling askama_escape v0.2.0
[INFO] [stderr]    Compiling humansize v1.1.0
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling toml v0.4.10
[INFO] [stderr]    Compiling serde_derive v1.0.94
[INFO] [stderr]    Compiling askama_shared v0.8.0
[INFO] [stderr]    Compiling askama_derive v0.8.0
[INFO] [stderr]     Checking askama v0.8.0
[INFO] [stderr]     Checking simple_webserver v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0573]: expected type, found module `self`
[INFO] [stdout]   --> src/lib.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                           ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a self type with a similar name exists (notice the capitalization)
[INFO] [stdout]    |
[INFO] [stdout] 12 -     fn call_box(self: Box<self>);
[INFO] [stdout] 12 +     fn call_box(self: Box<Self>);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 | type Job = Box<FnBox + Send + 'static>;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 | type Job = Box<dyn FnBox + Send + 'static>;
[INFO] [stdout]    |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:8:26
[INFO] [stdout]    |
[INFO] [stdout]  8 |     sender: mpsc::Sender<Job>, // ThreadPool holds sending end of channel
[INFO] [stdout]    |                          ^^^ `FnBox` is not dyn compatible
[INFO] [stdout] ...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:73:58
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn new(id: usize, receiver: Arc<Mutex<mpsc::Receiver<Job>>>) -> Worker {
[INFO] [stdout]    |                                                          ^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:44:42
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 44 |             workers.push(Worker::new(id, Arc::clone(&receiver)));
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:37:34
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 37 |         let (sender, receiver) = mpsc::channel();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 49 |             sender,
[INFO] [stdout]    |             ^^^^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 59 |         self.sender.send(job).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 59 |         self.sender.send(job).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 76 |                 let job = receiver.lock().unwrap().recv().unwrap();
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 76 |                 let job = receiver.lock().unwrap().recv().unwrap();
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 76 |                 let job = receiver.lock().unwrap().recv().unwrap();
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 76 |                 let job = receiver.lock().unwrap().recv().unwrap();
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0038, E0573.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0038`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `simple_webserver` (lib test) due to 12 previous errors; 1 warning emitted
[INFO] [stdout] error[E0573]: expected type, found module `self`
[INFO] [stdout]   --> src/lib.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                           ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a self type with a similar name exists (notice the capitalization)
[INFO] [stdout]    |
[INFO] [stdout] 12 -     fn call_box(self: Box<self>);
[INFO] [stdout] 12 +     fn call_box(self: Box<Self>);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 | type Job = Box<FnBox + Send + 'static>;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 | type Job = Box<dyn FnBox + Send + 'static>;
[INFO] [stdout]    |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:8:26
[INFO] [stdout]    |
[INFO] [stdout]  8 |     sender: mpsc::Sender<Job>, // ThreadPool holds sending end of channel
[INFO] [stdout]    |                          ^^^ `FnBox` is not dyn compatible
[INFO] [stdout] ...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:73:58
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn new(id: usize, receiver: Arc<Mutex<mpsc::Receiver<Job>>>) -> Worker {
[INFO] [stdout]    |                                                          ^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:44:42
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 44 |             workers.push(Worker::new(id, Arc::clone(&receiver)));
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:37:34
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 37 |         let (sender, receiver) = mpsc::channel();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 49 |             sender,
[INFO] [stdout]    |             ^^^^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 59 |         self.sender.send(job).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 59 |         self.sender.send(job).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 76 |                 let job = receiver.lock().unwrap().recv().unwrap();
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 76 |                 let job = receiver.lock().unwrap().recv().unwrap();
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 76 |                 let job = receiver.lock().unwrap().recv().unwrap();
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0038]: the trait `FnBox` is not dyn compatible
[INFO] [stdout]   --> src/lib.rs:76:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       --------- help: consider changing method `call_box`'s `self` parameter to be `&self`: `&Self`
[INFO] [stdout] ...
[INFO] [stdout] 76 |                 let job = receiver.lock().unwrap().recv().unwrap();
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `FnBox` 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 <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait FnBox {
[INFO] [stdout]    |       ----- this trait is not dyn compatible...
[INFO] [stdout] 12 |     fn call_box(self: Box<self>);
[INFO] [stdout]    |                       ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0038, E0573.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0038`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `simple_webserver` (lib) due to 12 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "c61959d6d6a76fd43f291904735b660462e797a3dbd8a1f5f8ee238466266621", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c61959d6d6a76fd43f291904735b660462e797a3dbd8a1f5f8ee238466266621", kill_on_drop: false }`
[INFO] [stdout] c61959d6d6a76fd43f291904735b660462e797a3dbd8a1f5f8ee238466266621
