[INFO] cloning repository https://github.com/Osama530/iron-API-get-post [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Osama530/iron-API-get-post" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2Firon-API-get-post", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2Firon-API-get-post'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d8ebacccb6145175f3773cdf7433df0840b0774 [INFO] testing Osama530/iron-API-get-post against 1.75.0 for beta-1.76-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2Firon-API-get-post" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Osama530/iron-API-get-post on toolchain 1.75.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Osama530/iron-API-get-post [INFO] finished tweaking git repo https://github.com/Osama530/iron-API-get-post [INFO] tweaked toml for git repo https://github.com/Osama530/iron-API-get-post written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Osama530/iron-API-get-post 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded iron v0.6.1 [INFO] [stderr] Downloaded router v0.6.0 [INFO] [stderr] Downloaded route-recognizer v0.1.13 [INFO] [stderr] Downloaded logger v0.4.0 [INFO] [stderr] Downloaded hermit-abi v0.1.13 [INFO] [stderr] Downloaded mime_guess v1.8.8 [INFO] [stderr] Downloaded aho-corasick v0.7.10 [INFO] [stderr] Downloaded regex v1.3.7 [INFO] [stderr] Downloaded regex-syntax v0.6.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a43f9999093a3dac42229c315befe6a899b44994289720375076580f4329a89 [INFO] running `Command { std: "docker" "start" "-a" "2a43f9999093a3dac42229c315befe6a899b44994289720375076580f4329a89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a43f9999093a3dac42229c315befe6a899b44994289720375076580f4329a89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a43f9999093a3dac42229c315befe6a899b44994289720375076580f4329a89", kill_on_drop: false }` [INFO] [stdout] 2a43f9999093a3dac42229c315befe6a899b44994289720375076580f4329a89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac48507135d1c39893206e6ea4945778362a6a54dad39793d131830ba9f902dd [INFO] running `Command { std: "docker" "start" "-a" "ac48507135d1c39893206e6ea4945778362a6a54dad39793d131830ba9f902dd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling uuid v0.2.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling logger v0.4.0 [INFO] [stderr] Compiling api_with_iron v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/models.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/models.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] ... [INFO] [stdout] 85 | let payload = try_handler!(json::encode(lock!(self.database).posts())); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] ... [INFO] [stdout] 105 | try_handler!(req.body.read_to_string(&mut payload)); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] ... [INFO] [stdout] 107 | let post = try_handler!(json::decode(&payload)); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] ... [INFO] [stdout] 135 | let id = try_handler!(Uuid::parse_str(post_id)); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] ... [INFO] [stdout] 138 | let payload = try_handler!(json::encode(&post)); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.73s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24, traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "ac48507135d1c39893206e6ea4945778362a6a54dad39793d131830ba9f902dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac48507135d1c39893206e6ea4945778362a6a54dad39793d131830ba9f902dd", kill_on_drop: false }` [INFO] [stdout] ac48507135d1c39893206e6ea4945778362a6a54dad39793d131830ba9f902dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22d7466b406a71e5a075c9804f4cf9c7e17dbb1bd4be0d38300dd431b848d0fb [INFO] running `Command { std: "docker" "start" "-a" "22d7466b406a71e5a075c9804f4cf9c7e17dbb1bd4be0d38300dd431b848d0fb", kill_on_drop: false }` [INFO] [stderr] Compiling api_with_iron v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/models.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/models.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] ... [INFO] [stdout] 85 | let payload = try_handler!(json::encode(lock!(self.database).posts())); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] ... [INFO] [stdout] 105 | try_handler!(req.body.read_to_string(&mut payload)); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] ... [INFO] [stdout] 107 | let post = try_handler!(json::decode(&payload)); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] ... [INFO] [stdout] 135 | let id = try_handler!(Uuid::parse_str(post_id)); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] ... [INFO] [stdout] 138 | let payload = try_handler!(json::encode(&post)); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.60s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24, traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "22d7466b406a71e5a075c9804f4cf9c7e17dbb1bd4be0d38300dd431b848d0fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22d7466b406a71e5a075c9804f4cf9c7e17dbb1bd4be0d38300dd431b848d0fb", kill_on_drop: false }` [INFO] [stdout] 22d7466b406a71e5a075c9804f4cf9c7e17dbb1bd4be0d38300dd431b848d0fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 99de27e112afa0ba83ba1795f90883dc4b347c3acb240b44b64a244dc3c5d92a [INFO] running `Command { std: "docker" "start" "-a" "99de27e112afa0ba83ba1795f90883dc4b347c3acb240b44b64a244dc3c5d92a", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/models.rs:5:24 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/models.rs:5:40 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Clone, Debug, RustcEncodable, RustcDecodable)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/handlers.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] ... [INFO] [stderr] 85 | let payload = try_handler!(json::encode(lock!(self.database).posts())); [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/handlers.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] ... [INFO] [stderr] 105 | try_handler!(req.body.read_to_string(&mut payload)); [INFO] [stderr] | --------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/handlers.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] ... [INFO] [stderr] 107 | let post = try_handler!(json::decode(&payload)); [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/handlers.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] ... [INFO] [stderr] 135 | let id = try_handler!(Uuid::parse_str(post_id)); [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/handlers.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] ... [INFO] [stderr] 138 | let payload = try_handler!(json::encode(&post)); [INFO] [stderr] | --------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `try_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `api_with_iron` (bin "api_with_iron" test) generated 7 warnings (run `cargo fix --bin "api_with_iron" --tests` to apply 5 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24, traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/api_with_iron-9b3b37b924e3cbd0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "99de27e112afa0ba83ba1795f90883dc4b347c3acb240b44b64a244dc3c5d92a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99de27e112afa0ba83ba1795f90883dc4b347c3acb240b44b64a244dc3c5d92a", kill_on_drop: false }` [INFO] [stdout] 99de27e112afa0ba83ba1795f90883dc4b347c3acb240b44b64a244dc3c5d92a [INFO] testing Osama530/iron-API-get-post against beta-2024-01-09 for beta-1.76-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOsama530%2Firon-API-get-post" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Osama530/iron-API-get-post on toolchain beta-2024-01-09 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-01-09" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Osama530/iron-API-get-post [INFO] finished tweaking git repo https://github.com/Osama530/iron-API-get-post [INFO] tweaked toml for git repo https://github.com/Osama530/iron-API-get-post written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Osama530/iron-API-get-post 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" "+beta-2024-01-09" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-01-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c10b122273e9ccc87afeaf9c3f3e0d86c5b92c5cc428456d037db01f223d6a50 [INFO] running `Command { std: "docker" "start" "-a" "c10b122273e9ccc87afeaf9c3f3e0d86c5b92c5cc428456d037db01f223d6a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c10b122273e9ccc87afeaf9c3f3e0d86c5b92c5cc428456d037db01f223d6a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c10b122273e9ccc87afeaf9c3f3e0d86c5b92c5cc428456d037db01f223d6a50", kill_on_drop: false }` [INFO] [stdout] c10b122273e9ccc87afeaf9c3f3e0d86c5b92c5cc428456d037db01f223d6a50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-01-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02037571487e93a7844f4e386fd0984d58f1defcf32f60a629ef59874ef095c0 [INFO] running `Command { std: "docker" "start" "-a" "02037571487e93a7844f4e386fd0984d58f1defcf32f60a629ef59874ef095c0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.24/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/650745ceb2ae60e04f8cd7bfb671fc37239533e4/library/alloc/src/borrow.rs:180:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "02037571487e93a7844f4e386fd0984d58f1defcf32f60a629ef59874ef095c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02037571487e93a7844f4e386fd0984d58f1defcf32f60a629ef59874ef095c0", kill_on_drop: false }` [INFO] [stdout] 02037571487e93a7844f4e386fd0984d58f1defcf32f60a629ef59874ef095c0