[INFO] cloning repository https://github.com/Arjun259194/simple_social
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Arjun259194/simple_social" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArjun259194%2Fsimple_social", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArjun259194%2Fsimple_social'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f9705f3fb9c14f4f76d1a48dd4112ebcbfa1ba9d
[INFO] testing Arjun259194/simple_social against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArjun259194%2Fsimple_social" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Arjun259194/simple_social
[INFO] finished tweaking git repo https://github.com/Arjun259194/simple_social
[INFO] tweaked toml for git repo https://github.com/Arjun259194/simple_social written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Arjun259194/simple_social on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Arjun259194/simple_social 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded redox_termios v0.1.3
[INFO] [stderr]   Downloaded termion v3.0.0
[INFO] [stderr]   Downloaded clearscreen v2.0.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8ab519add13d9991218e5c61b86fbbd10d565569e452cfd65533488fd5671c41
[INFO] running `Command { std: "docker" "start" "-a" "8ab519add13d9991218e5c61b86fbbd10d565569e452cfd65533488fd5671c41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8ab519add13d9991218e5c61b86fbbd10d565569e452cfd65533488fd5671c41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ab519add13d9991218e5c61b86fbbd10d565569e452cfd65533488fd5671c41", kill_on_drop: false }`
[INFO] [stdout] 8ab519add13d9991218e5c61b86fbbd10d565569e452cfd65533488fd5671c41
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f45125e75513c056fefab2d0941039f10a38668a6a393675d01828386c0f7210
[INFO] running `Command { std: "docker" "start" "-a" "f45125e75513c056fefab2d0941039f10a38668a6a393675d01828386c0f7210", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling rustix v0.38.32
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling numtoa v0.1.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.58
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling phf_codegen v0.11.2
[INFO] [stderr]    Compiling terminfo v0.8.0
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling nix v0.26.4
[INFO] [stderr]    Compiling termion v3.0.0
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling clearscreen v2.0.1
[INFO] [stderr]    Compiling simple_social v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/server.rs:57:31
[INFO] [stdout]    |
[INFO] [stdout] 57 |             handler: Arc::new(handler),
[INFO] [stdout]    |                      -------- ^^^^^^^ expected `Result<(), Box<dyn std::error::Error>>`, found `()`
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn(TcpStream) -> Result<(), Box<dyn std::error::Error>>`
[INFO] [stdout]               found fn pointer `fn(TcpStream) -> ()`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/sync.rs:419:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server.rs:138:62
[INFO] [stdout]     |
[INFO] [stdout] 138 |         self.end_points.push(Handler::new(path, Method::Get, h));
[INFO] [stdout]     |                              ------------                    ^ expected `()`, found `Result<(), Box<dyn Error>>`
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected fn pointer `fn(TcpStream) -> ()`
[INFO] [stdout]                found fn pointer `fn(TcpStream) -> Result<(), Box<(dyn std::error::Error + 'static)>>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/server.rs:54:8
[INFO] [stdout]     |
[INFO] [stdout]  54 |     fn new(path: &str, method: Method, handler: fn(TcpStream)) -> Handler {
[INFO] [stdout]     |        ^^^                             ----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server.rs:143:63
[INFO] [stdout]     |
[INFO] [stdout] 143 |         self.end_points.push(Handler::new(path, Method::Post, h));
[INFO] [stdout]     |                              ------------                     ^ expected `()`, found `Result<(), Box<dyn Error>>`
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected fn pointer `fn(TcpStream) -> ()`
[INFO] [stdout]                found fn pointer `fn(TcpStream) -> Result<(), Box<(dyn std::error::Error + 'static)>>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/server.rs:54:8
[INFO] [stdout]     |
[INFO] [stdout]  54 |     fn new(path: &str, method: Method, handler: fn(TcpStream)) -> Handler {
[INFO] [stdout]     |        ^^^                             ----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server.rs:148:65
[INFO] [stdout]     |
[INFO] [stdout] 148 |         self.end_points.push(Handler::new(path, Method::Delete, h));
[INFO] [stdout]     |                              ------------                       ^ expected `()`, found `Result<(), Box<dyn Error>>`
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected fn pointer `fn(TcpStream) -> ()`
[INFO] [stdout]                found fn pointer `fn(TcpStream) -> Result<(), Box<(dyn std::error::Error + 'static)>>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/server.rs:54:8
[INFO] [stdout]     |
[INFO] [stdout]  54 |     fn new(path: &str, method: Method, handler: fn(TcpStream)) -> Handler {
[INFO] [stdout]     |        ^^^                             ----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server.rs:153:62
[INFO] [stdout]     |
[INFO] [stdout] 153 |         self.end_points.push(Handler::new(path, Method::Put, h));
[INFO] [stdout]     |                              ------------                    ^ expected `()`, found `Result<(), Box<dyn Error>>`
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected fn pointer `fn(TcpStream) -> ()`
[INFO] [stdout]                found fn pointer `fn(TcpStream) -> Result<(), Box<(dyn std::error::Error + 'static)>>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/server.rs:54:8
[INFO] [stdout]     |
[INFO] [stdout]  54 |     fn new(path: &str, method: Method, handler: fn(TcpStream)) -> Handler {
[INFO] [stdout]     |        ^^^                             ----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/server.rs:177:61
[INFO] [stdout]     |
[INFO] [stdout] 177 |                 .push(Handler::new(&path, end_point.method, handler_fn));
[INFO] [stdout]     |                       ------------                          ^^^^^^^^^^ expected `()`, found `Result<(), Box<dyn std::error::Error>>`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected fn pointer `fn(TcpStream) -> ()`
[INFO] [stdout]                found fn pointer `fn(TcpStream) -> Result<(), Box<dyn std::error::Error>>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/server.rs:54:8
[INFO] [stdout]     |
[INFO] [stdout]  54 |     fn new(path: &str, method: Method, handler: fn(TcpStream)) -> Handler {
[INFO] [stdout]     |        ^^^                             ----------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `simple_social` (lib) due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "f45125e75513c056fefab2d0941039f10a38668a6a393675d01828386c0f7210", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f45125e75513c056fefab2d0941039f10a38668a6a393675d01828386c0f7210", kill_on_drop: false }`
[INFO] [stdout] f45125e75513c056fefab2d0941039f10a38668a6a393675d01828386c0f7210
