[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] checking Arjun259194/simple_social against master#46424fb5054f211ec836c5c03159f92e46bb35ac for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArjun259194%2Fsimple_social" "/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/Arjun259194/simple_social on toolchain 46424fb5054f211ec836c5c03159f92e46bb35ac
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-5-tc1/source/Cargo.toml
[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" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded numtoa v0.1.0
[INFO] [stderr]   Downloaded redox_termios v0.1.3
[INFO] [stderr]   Downloaded getrandom v0.2.14
[INFO] [stderr]   Downloaded termion v3.0.0
[INFO] [stderr]   Downloaded terminfo v0.8.0
[INFO] [stderr]   Downloaded clearscreen v2.0.1
[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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ee49986bde49525375bbc0b6b714e40e2b839a8d09b4adbd2fe7161a006f27dc
[INFO] running `Command { std: "docker" "start" "-a" "ee49986bde49525375bbc0b6b714e40e2b839a8d09b4adbd2fe7161a006f27dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ee49986bde49525375bbc0b6b714e40e2b839a8d09b4adbd2fe7161a006f27dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee49986bde49525375bbc0b6b714e40e2b839a8d09b4adbd2fe7161a006f27dc", kill_on_drop: false }`
[INFO] [stdout] ee49986bde49525375bbc0b6b714e40e2b839a8d09b4adbd2fe7161a006f27dc
[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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 63be20e0b881e4f192eeb40d4c46ab5dce95b72d2473d3fa33acd9e33b8209f0
[INFO] running `Command { std: "docker" "start" "-a" "63be20e0b881e4f192eeb40d4c46ab5dce95b72d2473d3fa33acd9e33b8209f0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]    Compiling rustix v0.38.32
[INFO] [stderr]     Checking siphasher v0.3.11
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking linux-raw-sys v0.4.13
[INFO] [stderr]     Checking regex-syntax v0.8.3
[INFO] [stderr]     Checking either v1.10.0
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]     Checking numtoa v0.1.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking phf v0.11.2
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling phf_codegen v0.11.2
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling terminfo v0.8.0
[INFO] [stderr]    Compiling syn v2.0.58
[INFO] [stderr]     Checking dirs-sys v0.3.7
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]     Checking termion v3.0.0
[INFO] [stderr]     Checking dirs v4.0.0
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking which v4.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking clearscreen v2.0.1
[INFO] [stderr]     Checking 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/46424fb5054f211ec836c5c03159f92e46bb35ac/library/alloc/src/sync.rs:407: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] 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/46424fb5054f211ec836c5c03159f92e46bb35ac/library/alloc/src/sync.rs:407: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 test) due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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] running `Command { std: "docker" "inspect" "63be20e0b881e4f192eeb40d4c46ab5dce95b72d2473d3fa33acd9e33b8209f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63be20e0b881e4f192eeb40d4c46ab5dce95b72d2473d3fa33acd9e33b8209f0", kill_on_drop: false }`
[INFO] [stdout] 63be20e0b881e4f192eeb40d4c46ab5dce95b72d2473d3fa33acd9e33b8209f0
