[INFO] cloning repository https://github.com/halvko/bsau [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/halvko/bsau" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhalvko%2Fbsau", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhalvko%2Fbsau'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17594dba90182764a7a2b45f0cdb9021063dd18d [INFO] checking halvko/bsau against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhalvko%2Fbsau" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/halvko/bsau [INFO] finished tweaking git repo https://github.com/halvko/bsau [INFO] tweaked toml for git repo https://github.com/halvko/bsau written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/halvko/bsau on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/halvko/bsau 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32e9bff4157a62b1324d163808e5fbbe22cf0314eaa28e97c1475c90893c8057 [INFO] running `Command { std: "docker" "start" "-a" "32e9bff4157a62b1324d163808e5fbbe22cf0314eaa28e97c1475c90893c8057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32e9bff4157a62b1324d163808e5fbbe22cf0314eaa28e97c1475c90893c8057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32e9bff4157a62b1324d163808e5fbbe22cf0314eaa28e97c1475c90893c8057", kill_on_drop: false }` [INFO] [stdout] 32e9bff4157a62b1324d163808e5fbbe22cf0314eaa28e97c1475c90893c8057 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b7d9c098390be98ec30c7886f30228c35ffa46c47fba35780cec65fe3010edb [INFO] running `Command { std: "docker" "start" "-a" "9b7d9c098390be98ec30c7886f30228c35ffa46c47fba35780cec65fe3010edb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking siphasher v0.3.10 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking hdrhistogram v7.5.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking hyper v0.14.13 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking tower v0.4.12 [INFO] [stderr] Checking lambda_runtime_api_client v0.5.0 [INFO] [stderr] Checking lambda_runtime v0.5.1 [INFO] [stderr] Checking bsau v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:22:62 [INFO] [stdout] | [INFO] [stdout] 22 | async fn func(event: LambdaEvent) -> Result { [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 23 | | let (event, _cxt) = event.into_parts(); [INFO] [stdout] 24 | | let path = event["pathParameters"] [INFO] [stdout] 25 | | .as_object() [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:22:62 [INFO] [stdout] | [INFO] [stdout] 22 | async fn func(event: LambdaEvent) -> Result { [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 23 | | let (event, _cxt) = event.into_parts(); [INFO] [stdout] 24 | | let path = event["pathParameters"] [INFO] [stdout] 25 | | .as_object() [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / match path { [INFO] [stdout] 30 | | "test" | "oversigt" => Ok(json!({ [INFO] [stdout] 31 | | "statusCode": u16::from(http::StatusCode::OK), [INFO] [stdout] 32 | | "headers": { [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | "test" | "oversigt" => Ok(json!({ [INFO] [stdout] | ________________________________^ [INFO] [stdout] 31 | | "statusCode": u16::from(http::StatusCode::OK), [INFO] [stdout] 32 | | "headers": { [INFO] [stdout] 33 | | "content-type": "text/html" [INFO] [stdout] ... | [INFO] [stdout] 36 | | "isBase64Encoded": false [INFO] [stdout] 37 | | })), [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | s if s.starts_with("toast") => { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 39 | | if rand::random::() <= 25 { [INFO] [stdout] 40 | | return Ok(json!({ [INFO] [stdout] 41 | | "statusCode": u16::from(http::StatusCode::OK), [INFO] [stdout] ... | [INFO] [stdout] 56 | | })) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | return Ok(json!({ [INFO] [stdout] | ________________________^ [INFO] [stdout] 41 | | "statusCode": u16::from(http::StatusCode::OK), [INFO] [stdout] 42 | | "headers": { [INFO] [stdout] 43 | | "content-type": "text/html" [INFO] [stdout] ... | [INFO] [stdout] 46 | | "isBase64Encoded": false [INFO] [stdout] 47 | | })); [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | / Ok(json!({ [INFO] [stdout] 50 | | "statusCode": u16::from(http::StatusCode::FOUND), [INFO] [stdout] 51 | | "headers": { [INFO] [stdout] 52 | | "location": "https://bamboozle.academy" [INFO] [stdout] ... | [INFO] [stdout] 55 | | "isBase64Encoded": false [INFO] [stdout] 56 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | rest => { [INFO] [stdout] | _________________^ [INFO] [stdout] 59 | | let &url = COURSES.get(rest).unwrap_or(&"https://brightspace.au.dk"); [INFO] [stdout] 60 | | Ok(json!({ [INFO] [stdout] 61 | | "statusCode": u16::from(http::StatusCode::FOUND), [INFO] [stdout] ... | [INFO] [stdout] 67 | | })) [INFO] [stdout] 68 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | / Ok(json!({ [INFO] [stdout] 61 | | "statusCode": u16::from(http::StatusCode::FOUND), [INFO] [stdout] 62 | | "headers": { [INFO] [stdout] 63 | | "location": url [INFO] [stdout] ... | [INFO] [stdout] 66 | | "isBase64Encoded": false [INFO] [stdout] 67 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:22:62 [INFO] [stdout] | [INFO] [stdout] 22 | async fn func(event: LambdaEvent) -> Result { [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 23 | | let (event, _cxt) = event.into_parts(); [INFO] [stdout] 24 | | let path = event["pathParameters"] [INFO] [stdout] 25 | | .as_object() [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:22:62 [INFO] [stdout] | [INFO] [stdout] 22 | async fn func(event: LambdaEvent) -> Result { [INFO] [stdout] | ______________________________________________________________^ [INFO] [stdout] 23 | | let (event, _cxt) = event.into_parts(); [INFO] [stdout] 24 | | let path = event["pathParameters"] [INFO] [stdout] 25 | | .as_object() [INFO] [stdout] ... | [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / match path { [INFO] [stdout] 30 | | "test" | "oversigt" => Ok(json!({ [INFO] [stdout] 31 | | "statusCode": u16::from(http::StatusCode::OK), [INFO] [stdout] 32 | | "headers": { [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | "test" | "oversigt" => Ok(json!({ [INFO] [stdout] | ________________________________^ [INFO] [stdout] 31 | | "statusCode": u16::from(http::StatusCode::OK), [INFO] [stdout] 32 | | "headers": { [INFO] [stdout] 33 | | "content-type": "text/html" [INFO] [stdout] ... | [INFO] [stdout] 36 | | "isBase64Encoded": false [INFO] [stdout] 37 | | })), [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | s if s.starts_with("toast") => { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 39 | | if rand::random::() <= 25 { [INFO] [stdout] 40 | | return Ok(json!({ [INFO] [stdout] 41 | | "statusCode": u16::from(http::StatusCode::OK), [INFO] [stdout] ... | [INFO] [stdout] 56 | | })) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | return Ok(json!({ [INFO] [stdout] | ________________________^ [INFO] [stdout] 41 | | "statusCode": u16::from(http::StatusCode::OK), [INFO] [stdout] 42 | | "headers": { [INFO] [stdout] 43 | | "content-type": "text/html" [INFO] [stdout] ... | [INFO] [stdout] 46 | | "isBase64Encoded": false [INFO] [stdout] 47 | | })); [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | / Ok(json!({ [INFO] [stdout] 50 | | "statusCode": u16::from(http::StatusCode::FOUND), [INFO] [stdout] 51 | | "headers": { [INFO] [stdout] 52 | | "location": "https://bamboozle.academy" [INFO] [stdout] ... | [INFO] [stdout] 55 | | "isBase64Encoded": false [INFO] [stdout] 56 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | rest => { [INFO] [stdout] | _________________^ [INFO] [stdout] 59 | | let &url = COURSES.get(rest).unwrap_or(&"https://brightspace.au.dk"); [INFO] [stdout] 60 | | Ok(json!({ [INFO] [stdout] 61 | | "statusCode": u16::from(http::StatusCode::FOUND), [INFO] [stdout] ... | [INFO] [stdout] 67 | | })) [INFO] [stdout] 68 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | / Ok(json!({ [INFO] [stdout] 61 | | "statusCode": u16::from(http::StatusCode::FOUND), [INFO] [stdout] 62 | | "headers": { [INFO] [stdout] 63 | | "location": url [INFO] [stdout] ... | [INFO] [stdout] 66 | | "isBase64Encoded": false [INFO] [stdout] 67 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bsau` (bin "bsau" test) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bsau` (bin "bsau") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "9b7d9c098390be98ec30c7886f30228c35ffa46c47fba35780cec65fe3010edb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b7d9c098390be98ec30c7886f30228c35ffa46c47fba35780cec65fe3010edb", kill_on_drop: false }` [INFO] [stdout] 9b7d9c098390be98ec30c7886f30228c35ffa46c47fba35780cec65fe3010edb