[INFO] cloning repository https://github.com/ca1ek/example_project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ca1ek/example_project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fca1ek%2Fexample_project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fca1ek%2Fexample_project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bbdd03fad72e621dfff9f33ad032fb7112687bdb [INFO] checking ca1ek/example_project against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fca1ek%2Fexample_project" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ca1ek/example_project on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ca1ek/example_project [INFO] finished tweaking git repo https://github.com/ca1ek/example_project [INFO] tweaked toml for git repo https://github.com/ca1ek/example_project written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/ca1ek/example_project already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/ca1ek/a_web_framework` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/ca1ek/a_web_framework` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lru-cache v0.0.7 [INFO] [stderr] Downloaded rusqlite v0.7.4 [INFO] [stderr] Downloaded linked-hash-map v0.0.9 [INFO] [stderr] Downloaded libsqlite3-sys v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d8997b238e02e7b3de18959e2daad0daac35a62ae284758b947d8b79ebf44bb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5d8997b238e02e7b3de18959e2daad0daac35a62ae284758b947d8b79ebf44bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d8997b238e02e7b3de18959e2daad0daac35a62ae284758b947d8b79ebf44bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d8997b238e02e7b3de18959e2daad0daac35a62ae284758b947d8b79ebf44bb", kill_on_drop: false }` [INFO] [stdout] 5d8997b238e02e7b3de18959e2daad0daac35a62ae284758b947d8b79ebf44bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d889c4df830b8e546a9503d3e486d819451b1050221afeef37a07d6607b21d2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3d889c4df830b8e546a9503d3e486d819451b1050221afeef37a07d6607b21d2", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking linked-hash-map v0.0.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling libsqlite3-sys v0.5.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking lru-cache v0.0.7 [INFO] [stderr] Checking rusqlite v0.7.4 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking a_web_framework v0.1.0 (https://github.com/ca1ek/a_web_framework#f066540c) [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking example_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / def_model! { [INFO] [stdout] 6 | | struct User { [INFO] [stdout] 7 | | name: String, [INFO] [stdout] 8 | | password: String, [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / def_model! { [INFO] [stdout] 6 | | struct User { [INFO] [stdout] 7 | | name: String, [INFO] [stdout] 8 | | password: String, [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / def_model! { [INFO] [stdout] 6 | | struct User { [INFO] [stdout] 7 | | name: String, [INFO] [stdout] 8 | | password: String, [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / def_model! { [INFO] [stdout] 6 | | struct User { [INFO] [stdout] 7 | | name: String, [INFO] [stdout] 8 | | password: String, [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / def_model! { [INFO] [stdout] 6 | | struct User { [INFO] [stdout] 7 | | name: String, [INFO] [stdout] 8 | | password: String, [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/models.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / def_model! { [INFO] [stdout] 6 | | struct User { [INFO] [stdout] 7 | | name: String, [INFO] [stdout] 8 | | password: String, [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/views.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | return response; [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 25 | HTTPResponse::new(HTTPResponseCodes::Forbidden, "".to_string(), "Heyy".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/views.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 20 | return response; [INFO] [stdout] | --------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 25 | HTTPResponse::new(HTTPResponseCodes::Forbidden, "".to_string(), "Heyy".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/views.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn view_users(request: &HTTPRequest) -> HTTPResponse { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/views.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let res = user.insert(&conn.unwrap()).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/views.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn view_users(request: &HTTPRequest) -> HTTPResponse { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/views.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let res = user.insert(&conn.unwrap()).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/views.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut uri: Vec<&str> = params.split("/").collect(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/views.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut uri: Vec<&str> = params.split("/").collect(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_handler` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(panic_handler)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_handler` has been stable since 1.30.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(panic_handler)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/models.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / def_model! { [INFO] [stdout] 6 | | struct User { [INFO] [stdout] 7 | | name: String, [INFO] [stdout] 8 | | password: String, [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/models.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / def_model! { [INFO] [stdout] 6 | | struct User { [INFO] [stdout] 7 | | name: String, [INFO] [stdout] 8 | | password: String, [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/models.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / def_model! { [INFO] [stdout] 6 | | struct User { [INFO] [stdout] 7 | | name: String, [INFO] [stdout] 8 | | password: String, [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/models.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / def_model! { [INFO] [stdout] 6 | | struct User { [INFO] [stdout] 7 | | name: String, [INFO] [stdout] 8 | | password: String, [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.73s [INFO] running `Command { std: "docker" "inspect" "3d889c4df830b8e546a9503d3e486d819451b1050221afeef37a07d6607b21d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d889c4df830b8e546a9503d3e486d819451b1050221afeef37a07d6607b21d2", kill_on_drop: false }` [INFO] [stdout] 3d889c4df830b8e546a9503d3e486d819451b1050221afeef37a07d6607b21d2