[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmtaybah%2Fsimple__rust_server" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tmtaybah/simple__rust_server on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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/source/Cargo.toml [INFO] crate git repo https://github.com/tmtaybah/simple__rust_server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48f4f16e41d5be0adc7f5550a31ce66760f29c07a5d40e347a67bdbf448371a7 [INFO] running `Command { std: "docker" "start" "-a" "48f4f16e41d5be0adc7f5550a31ce66760f29c07a5d40e347a67bdbf448371a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48f4f16e41d5be0adc7f5550a31ce66760f29c07a5d40e347a67bdbf448371a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48f4f16e41d5be0adc7f5550a31ce66760f29c07a5d40e347a67bdbf448371a7", kill_on_drop: false }` [INFO] [stdout] 48f4f16e41d5be0adc7f5550a31ce66760f29c07a5d40e347a67bdbf448371a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99c5f0883c16d107870d9e2c8460948c658f60b91193490d14df8391a878cff2 [INFO] running `Command { std: "docker" "start" "-a" "99c5f0883c16d107870d9e2c8460948c658f60b91193490d14df8391a878cff2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling askama_escape v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking 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 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [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); [INFO] [stdout] | ^^^^ help: a self type with a similar name exists (notice the capitalization): `Self` [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; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `FnBox` cannot be made into an object [INFO] [stdout] --> src/lib.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | sender: mpsc::Sender, // ThreadPool holds sending end of channel [INFO] [stdout] | ^^^ `FnBox` cannot be made into an object [INFO] [stdout] ... [INFO] [stdout] 12 | fn call_box(self: Box); [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 "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 11 | trait FnBox { [INFO] [stdout] | ----- this trait cannot be made into an object... [INFO] [stdout] 12 | fn call_box(self: Box); [INFO] [stdout] | ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `FnBox` cannot be made into an object [INFO] [stdout] --> src/lib.rs:73:58 [INFO] [stdout] | [INFO] [stdout] 12 | fn call_box(self: Box); [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>>) -> Worker { [INFO] [stdout] | ^^^ `FnBox` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 11 | trait FnBox { [INFO] [stdout] | ----- this trait cannot be made into an object... [INFO] [stdout] 12 | fn call_box(self: Box); [INFO] [stdout] | ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [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` due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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); [INFO] [stdout] | ^^^^ help: a self type with a similar name exists (notice the capitalization): `Self` [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; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `FnBox` cannot be made into an object [INFO] [stdout] --> src/lib.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | sender: mpsc::Sender, // ThreadPool holds sending end of channel [INFO] [stdout] | ^^^ `FnBox` cannot be made into an object [INFO] [stdout] ... [INFO] [stdout] 12 | fn call_box(self: Box); [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 "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 11 | trait FnBox { [INFO] [stdout] | ----- this trait cannot be made into an object... [INFO] [stdout] 12 | fn call_box(self: Box); [INFO] [stdout] | ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `FnBox` cannot be made into an object [INFO] [stdout] --> src/lib.rs:73:58 [INFO] [stdout] | [INFO] [stdout] 12 | fn call_box(self: Box); [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>>) -> Worker { [INFO] [stdout] | ^^^ `FnBox` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/lib.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 11 | trait FnBox { [INFO] [stdout] | ----- this trait cannot be made into an object... [INFO] [stdout] 12 | fn call_box(self: Box); [INFO] [stdout] | ^^^^^^^^^ ...because method `call_box`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [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: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "99c5f0883c16d107870d9e2c8460948c658f60b91193490d14df8391a878cff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99c5f0883c16d107870d9e2c8460948c658f60b91193490d14df8391a878cff2", kill_on_drop: false }` [INFO] [stdout] 99c5f0883c16d107870d9e2c8460948c658f60b91193490d14df8391a878cff2