[INFO] cloning repository https://github.com/LiorKaufman/rust_microservice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LiorKaufman/rust_microservice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiorKaufman%2Frust_microservice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiorKaufman%2Frust_microservice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bf217d9f2aff3019938842e7be624ca92030b890
[INFO] checking LiorKaufman/rust_microservice against try#c86ec274072509d26d0ee52682a0c94ed012ed89 for pr-153027
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiorKaufman%2Frust_microservice" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/LiorKaufman/rust_microservice
[INFO] finished tweaking git repo https://github.com/LiorKaufman/rust_microservice
[INFO] tweaked toml for git repo https://github.com/LiorKaufman/rust_microservice written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LiorKaufman/rust_microservice on toolchain c86ec274072509d26d0ee52682a0c94ed012ed89
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LiorKaufman/rust_microservice 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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded want v0.0.4
[INFO] [stderr]   Downloaded tokio-proto v0.1.1
[INFO] [stderr]   Downloaded try-lock v0.1.0
[INFO] [stderr]   Downloaded slab v0.3.0
[INFO] [stderr]   Downloaded smallvec v0.2.1
[INFO] [stderr]   Downloaded relay v0.1.1
[INFO] [stderr]   Downloaded hyper v0.11.27
[INFO] [stderr]   Downloaded scoped-tls v0.1.2
[INFO] [stderr]   Downloaded take v0.1.0
[INFO] [stderr]   Downloaded tokio-core v0.1.18
[INFO] [stderr]   Downloaded libc v0.2.134
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0203ae99ab62346409da87948043fdf249e509255ab9c8cd05c240bfd475b776
[INFO] running `Command { std: "docker" "start" "-a" "0203ae99ab62346409da87948043fdf249e509255ab9c8cd05c240bfd475b776", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0203ae99ab62346409da87948043fdf249e509255ab9c8cd05c240bfd475b776", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0203ae99ab62346409da87948043fdf249e509255ab9c8cd05c240bfd475b776", kill_on_drop: false }`
[INFO] [stdout] 0203ae99ab62346409da87948043fdf249e509255ab9c8cd05c240bfd475b776
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c86ec274072509d26d0ee52682a0c94ed012ed89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3816d95dce57c1bc35aa3cc37f7757669c38e52d1c1f439acb371bf0e89bbb69
[INFO] running `Command { std: "docker" "start" "-a" "3816d95dce57c1bc35aa3cc37f7757669c38e52d1c1f439acb371bf0e89bbb69", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling libc v0.2.134
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking scoped-tls v0.1.2
[INFO] [stderr]     Checking aho-corasick v0.7.19
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking percent-encoding v2.2.0
[INFO] [stderr]     Checking regex-syntax v0.6.27
[INFO] [stderr]     Checking take v0.1.0
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]     Checking smallvec v0.2.1
[INFO] [stderr]     Checking try-lock v0.1.0
[INFO] [stderr]     Checking slab v0.3.0
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]     Checking form_urlencoded v1.1.0
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr]     Checking parking_lot_core v0.6.2
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking parking_lot v0.9.0
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking tokio-service v0.1.0
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking futures-cpupool v0.1.8
[INFO] [stderr]     Checking want v0.0.4
[INFO] [stderr]     Checking relay v0.1.1
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking language-tags v0.2.2
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]     Checking tokio-codec v0.1.2
[INFO] [stderr]     Checking tokio-fs v0.1.7
[INFO] [stderr]     Checking tokio-uds v0.2.7
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking tokio-udp v0.1.6
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]     Checking tokio-core v0.1.18
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]     Checking tokio-proto v0.1.1
[INFO] [stderr]     Checking env_logger v0.5.13
[INFO] [stderr]     Checking hyper v0.11.27
[INFO] [stderr]     Checking rust_microservice_tutorial v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0463]: can't find crate for `serde_json`
[INFO] [stdout]   --> src/main.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | extern crate serde_json;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `serde_derive`
[INFO] [stdout]   --> src/main.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | extern crate serde_derive;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `json` in this scope
[INFO] [stdout]   --> src/main.rs:51:27
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let payload = json!({ "timestamp": timestamp }).to_string();
[INFO] [stdout]    |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]   --> src/main.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             debug!("{:?}", response);
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  5 + use log::debug;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ContentLength` in this scope
[INFO] [stdout]   --> src/main.rs:53:30
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 .with_header(ContentLength(payload.len() as u64))
[INFO] [stdout]    |                              ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  5 + use hyper::header::ContentLength;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ContentType` in this scope
[INFO] [stdout]   --> src/main.rs:54:30
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 .with_header(ContentType::json())
[INFO] [stdout]    |                              ^^^^^^^^^^^ use of undeclared type `ContentType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  5 + use hyper::header::ContentType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `description` found for enum `hyper::Error` in the current scope
[INFO] [stdout]   --> src/main.rs:59:49
[INFO] [stdout]    |
[INFO] [stdout] 59 |         Err(error) => make_error_response(error.description()),
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ method not found in `hyper::Error`
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/c86ec274072509d26d0ee52682a0c94ed012ed89/library/core/src/error.rs:137:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `hyper::Error` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Error` which provides `description` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `make_error_response` in this scope
[INFO] [stdout]   --> src/main.rs:59:23
[INFO] [stdout]    |
[INFO] [stdout] 59 |         Err(error) => make_error_response(error.description()),
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry`
[INFO] [stdout]   --> src/main.rs:63:16
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn write_to_db(entry: NewMessage) -> FutureResult<i64, hyper::Error> {
[INFO] [stdout]    |                ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `serde_json`
[INFO] [stdout]   --> src/main.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | extern crate serde_json;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `serde_derive`
[INFO] [stdout]   --> src/main.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | extern crate serde_derive;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `json` in this scope
[INFO] [stdout]   --> src/main.rs:51:27
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let payload = json!({ "timestamp": timestamp }).to_string();
[INFO] [stdout]    |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]   --> src/main.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             debug!("{:?}", response);
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this macro
[INFO] [stdout]    |
[INFO] [stdout]  5 + use log::debug;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ContentLength` in this scope
[INFO] [stdout]   --> src/main.rs:53:30
[INFO] [stdout]    |
[INFO] [stdout] 53 |                 .with_header(ContentLength(payload.len() as u64))
[INFO] [stdout]    |                              ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  5 + use hyper::header::ContentLength;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ContentType` in this scope
[INFO] [stdout]   --> src/main.rs:54:30
[INFO] [stdout]    |
[INFO] [stdout] 54 |                 .with_header(ContentType::json())
[INFO] [stdout]    |                              ^^^^^^^^^^^ use of undeclared type `ContentType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  5 + use hyper::header::ContentType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `description` found for enum `hyper::Error` in the current scope
[INFO] [stdout]   --> src/main.rs:59:49
[INFO] [stdout]    |
[INFO] [stdout] 59 |         Err(error) => make_error_response(error.description()),
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ method not found in `hyper::Error`
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/c86ec274072509d26d0ee52682a0c94ed012ed89/library/core/src/error.rs:137:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `hyper::Error` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Error` which provides `description` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `make_error_response` in this scope
[INFO] [stdout]   --> src/main.rs:59:23
[INFO] [stdout]    |
[INFO] [stdout] 59 |         Err(error) => make_error_response(error.description()),
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry`
[INFO] [stdout]   --> src/main.rs:63:16
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn write_to_db(entry: NewMessage) -> FutureResult<i64, hyper::Error> {
[INFO] [stdout]    |                ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_microservice_tutorial` (bin "rust_microservice_tutorial") due to 8 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust_microservice_tutorial` (bin "rust_microservice_tutorial" test) due to 8 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "3816d95dce57c1bc35aa3cc37f7757669c38e52d1c1f439acb371bf0e89bbb69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3816d95dce57c1bc35aa3cc37f7757669c38e52d1c1f439acb371bf0e89bbb69", kill_on_drop: false }`
[INFO] [stdout] 3816d95dce57c1bc35aa3cc37f7757669c38e52d1c1f439acb371bf0e89bbb69
