[INFO] fetching crate firebase 0.9.1... [INFO] checking firebase-0.9.1 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate firebase 0.9.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate firebase 0.9.1 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate firebase 0.9.1 [INFO] finished tweaking crates.io crate firebase 0.9.1 [INFO] tweaked toml for crates.io crate firebase 0.9.1 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e55c2de077859fc5c2d8b06de814beab32dd8974a42436b9a007386b0802705 [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" "4e55c2de077859fc5c2d8b06de814beab32dd8974a42436b9a007386b0802705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e55c2de077859fc5c2d8b06de814beab32dd8974a42436b9a007386b0802705", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e55c2de077859fc5c2d8b06de814beab32dd8974a42436b9a007386b0802705", kill_on_drop: false }` [INFO] [stdout] 4e55c2de077859fc5c2d8b06de814beab32dd8974a42436b9a007386b0802705 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2bba1ef41109c67e6e678a742aea3e1117bdf82ec42f3c700011c8d8fcd4afd [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" "e2bba1ef41109c67e6e678a742aea3e1117bdf82ec42f3c700011c8d8fcd4afd", kill_on_drop: false }` [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling curl-sys v0.1.35 [INFO] [stderr] Checking curl v0.2.19 [INFO] [stderr] Checking firebase v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | let url = try!( parse(&url) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | try!( unwrap_path(&url) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | try!( unwrap_path(&url) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | let mut url = try!( parse(&url) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | try!( unwrap_path(&url) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | let url = try!( parse(&url) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | try!( unwrap_path(&url) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | try!( unwrap_path(&url) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | let mut url = try!( parse(&url) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | try!( unwrap_path(&url) ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:121:31 [INFO] [stdout] | [INFO] [stdout] 121 | path.push(end.trim_right_matches(".json").to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib.rs:121:31 [INFO] [stdout] | [INFO] [stdout] 121 | path.push(end.trim_right_matches(".json").to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Url: ToUrl` is not satisfied [INFO] [stdout] --> src/lib.rs:343:47 [INFO] [stdout] | [INFO] [stdout] 343 | Method::GET => handler.get( url), [INFO] [stdout] | ^^^ the trait `ToUrl` is not implemented for `&Url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Url: ToUrl` is not satisfied [INFO] [stdout] --> src/lib.rs:344:40 [INFO] [stdout] | [INFO] [stdout] 344 | Method::POST => handler.post( url, data.unwrap()), [INFO] [stdout] | ^^^^ the trait `ToUrl` is not implemented for `&Url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Url: ToUrl` is not satisfied [INFO] [stdout] --> src/lib.rs:345:40 [INFO] [stdout] | [INFO] [stdout] 345 | Method::PUT => handler.put( url, data.unwrap()), [INFO] [stdout] | ^^^ the trait `ToUrl` is not implemented for `&Url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Url: ToUrl` is not satisfied [INFO] [stdout] --> src/lib.rs:346:40 [INFO] [stdout] | [INFO] [stdout] 346 | Method::PATCH => handler.patch( url, data.unwrap()), [INFO] [stdout] | ^^^^^ the trait `ToUrl` is not implemented for `&Url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Url: ToUrl` is not satisfied [INFO] [stdout] --> src/lib.rs:347:47 [INFO] [stdout] | [INFO] [stdout] 347 | Method::DELETE => handler.delete(url), [INFO] [stdout] | ^^^ the trait `ToUrl` is not implemented for `&Url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Url: ToUrl` is not satisfied [INFO] [stdout] --> src/lib.rs:343:47 [INFO] [stdout] | [INFO] [stdout] 343 | Method::GET => handler.get( url), [INFO] [stdout] | ^^^ the trait `ToUrl` is not implemented for `&Url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Url: ToUrl` is not satisfied [INFO] [stdout] --> src/lib.rs:344:40 [INFO] [stdout] | [INFO] [stdout] 344 | Method::POST => handler.post( url, data.unwrap()), [INFO] [stdout] | ^^^^ the trait `ToUrl` is not implemented for `&Url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Url: ToUrl` is not satisfied [INFO] [stdout] --> src/lib.rs:345:40 [INFO] [stdout] | [INFO] [stdout] 345 | Method::PUT => handler.put( url, data.unwrap()), [INFO] [stdout] | ^^^ the trait `ToUrl` is not implemented for `&Url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Url: ToUrl` is not satisfied [INFO] [stdout] --> src/lib.rs:346:40 [INFO] [stdout] | [INFO] [stdout] 346 | Method::PATCH => handler.patch( url, data.unwrap()), [INFO] [stdout] | ^^^^^ the trait `ToUrl` is not implemented for `&Url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&Url: ToUrl` is not satisfied [INFO] [stdout] --> src/lib.rs:347:47 [INFO] [stdout] | [INFO] [stdout] 347 | Method::DELETE => handler.delete(url), [INFO] [stdout] | ^^^ the trait `ToUrl` is not implemented for `&Url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `firebase` [INFO] [stdout] error: aborting due to 5 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e2bba1ef41109c67e6e678a742aea3e1117bdf82ec42f3c700011c8d8fcd4afd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2bba1ef41109c67e6e678a742aea3e1117bdf82ec42f3c700011c8d8fcd4afd", kill_on_drop: false }` [INFO] [stdout] e2bba1ef41109c67e6e678a742aea3e1117bdf82ec42f3c700011c8d8fcd4afd