[INFO] fetching crate scrappy-router 0.0.1...
[INFO] testing scrappy-router-0.0.1 against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] extracting crate scrappy-router 0.0.1 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate scrappy-router 0.0.1
[INFO] finished tweaking crates.io crate scrappy-router 0.0.1
[INFO] tweaked toml for crates.io crate scrappy-router 0.0.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate scrappy-router 0.0.1 on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 19 packages to latest compatible versions
[INFO] [stderr]       Adding bytestring v0.1.5 (available: v1.5.1)
[INFO] [stderr]       Adding http v0.2.12 (available: v1.4.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bytestring v0.1.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dcb8ec3bbe773410582602628660d2b5b0a41322b6d08dd8ae0b741b262053ab
[INFO] running `Command { std: "docker" "start" "-a" "dcb8ec3bbe773410582602628660d2b5b0a41322b6d08dd8ae0b741b262053ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dcb8ec3bbe773410582602628660d2b5b0a41322b6d08dd8ae0b741b262053ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcb8ec3bbe773410582602628660d2b5b0a41322b6d08dd8ae0b741b262053ab", kill_on_drop: false }`
[INFO] [stdout] dcb8ec3bbe773410582602628660d2b5b0a41322b6d08dd8ae0b741b262053ab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4fc46d00a264bf0e466377baed620b5fa24fbc8194e17605f8a3582162ce4dd8
[INFO] running `Command { std: "docker" "start" "-a" "4fc46d00a264bf0e466377baed620b5fa24fbc8194e17605f8a3582162ce4dd8", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling bytestring v0.1.5
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling scrappy-router v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/url.rs:34:37
[INFO] [stdout]    |
[INFO] [stdout] 34 |     static DEFAULT_QUOTER: Quoter = { Quoter::new(b"@:", b"/+") };
[INFO] [stdout]    |                                     ^^                         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 34 -     static DEFAULT_QUOTER: Quoter = { Quoter::new(b"@:", b"/+") };
[INFO] [stdout] 34 +     static DEFAULT_QUOTER: Quoter = Quoter::new(b"@:", b"/+") ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `resource` is never read
[INFO] [stdout]  --> src/router.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct ResourceInfo {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] 9 |     resource: ResourceId,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ResourceInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/path.rs:161:17
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pub fn iter(&self) -> PathIter<T> {
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pub fn iter(&self) -> PathIter<'_, T> {
[INFO] [stdout]     |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/resource.rs:297:40
[INFO] [stdout]     |
[INFO] [stdout] 297 |                     path.add(names[idx].clone(), segments[idx]);
[INFO] [stdout]     |                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/resource.rs:329:44
[INFO] [stdout]     |
[INFO] [stdout] 329 |                         path.add(names[idx].clone(), segments[idx]);
[INFO] [stdout]     |                                            ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/resource.rs:416:40
[INFO] [stdout]     |
[INFO] [stdout] 416 |                     path.add(names[idx].clone(), segments[idx]);
[INFO] [stdout]     |                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/resource.rs:455:44
[INFO] [stdout]     |
[INFO] [stdout] 455 |                         path.add(names[idx].clone(), segments[idx]);
[INFO] [stdout]     |                                            ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.86s
[INFO] running `Command { std: "docker" "inspect" "4fc46d00a264bf0e466377baed620b5fa24fbc8194e17605f8a3582162ce4dd8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fc46d00a264bf0e466377baed620b5fa24fbc8194e17605f8a3582162ce4dd8", kill_on_drop: false }`
[INFO] [stdout] 4fc46d00a264bf0e466377baed620b5fa24fbc8194e17605f8a3582162ce4dd8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c55411ed84f2f58fbc35c3627f18c13e65c325661657eba26ba72cf9876807d4
[INFO] running `Command { std: "docker" "start" "-a" "c55411ed84f2f58fbc35c3627f18c13e65c325661657eba26ba72cf9876807d4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/url.rs:34:37
[INFO] [stdout]    |
[INFO] [stdout] 34 |     static DEFAULT_QUOTER: Quoter = { Quoter::new(b"@:", b"/+") };
[INFO] [stdout]    |                                     ^^                         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 34 -     static DEFAULT_QUOTER: Quoter = { Quoter::new(b"@:", b"/+") };
[INFO] [stdout] 34 +     static DEFAULT_QUOTER: Quoter = Quoter::new(b"@:", b"/+") ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `resource` is never read
[INFO] [stdout]  --> src/router.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct ResourceInfo {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] 9 |     resource: ResourceId,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ResourceInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/path.rs:161:17
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pub fn iter(&self) -> PathIter<T> {
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pub fn iter(&self) -> PathIter<'_, T> {
[INFO] [stdout]     |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/resource.rs:297:40
[INFO] [stdout]     |
[INFO] [stdout] 297 |                     path.add(names[idx].clone(), segments[idx]);
[INFO] [stdout]     |                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/resource.rs:329:44
[INFO] [stdout]     |
[INFO] [stdout] 329 |                         path.add(names[idx].clone(), segments[idx]);
[INFO] [stdout]     |                                            ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/resource.rs:416:40
[INFO] [stdout]     |
[INFO] [stdout] 416 |                     path.add(names[idx].clone(), segments[idx]);
[INFO] [stdout]     |                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/resource.rs:455:44
[INFO] [stdout]     |
[INFO] [stdout] 455 |                         path.add(names[idx].clone(), segments[idx]);
[INFO] [stdout]     |                                            ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling scrappy-router v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary braces around block return value
[INFO] [stdout]   --> src/url.rs:34:37
[INFO] [stdout]    |
[INFO] [stdout] 34 |     static DEFAULT_QUOTER: Quoter = { Quoter::new(b"@:", b"/+") };
[INFO] [stdout]    |                                     ^^                         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these braces
[INFO] [stdout]    |
[INFO] [stdout] 34 -     static DEFAULT_QUOTER: Quoter = { Quoter::new(b"@:", b"/+") };
[INFO] [stdout] 34 +     static DEFAULT_QUOTER: Quoter = Quoter::new(b"@:", b"/+") ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Id` is never constructed
[INFO] [stdout]    --> src/de.rs:494:12
[INFO] [stdout]     |
[INFO] [stdout] 494 |     struct Id {
[INFO] [stdout]     |            ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `resource` is never read
[INFO] [stdout]  --> src/router.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct ResourceInfo {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] 9 |     resource: ResourceId,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ResourceInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/path.rs:161:17
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pub fn iter(&self) -> PathIter<T> {
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pub fn iter(&self) -> PathIter<'_, T> {
[INFO] [stdout]     |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/resource.rs:297:40
[INFO] [stdout]     |
[INFO] [stdout] 297 |                     path.add(names[idx].clone(), segments[idx]);
[INFO] [stdout]     |                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/resource.rs:329:44
[INFO] [stdout]     |
[INFO] [stdout] 329 |                         path.add(names[idx].clone(), segments[idx]);
[INFO] [stdout]     |                                            ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/resource.rs:416:40
[INFO] [stdout]     |
[INFO] [stdout] 416 |                     path.add(names[idx].clone(), segments[idx]);
[INFO] [stdout]     |                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/resource.rs:455:44
[INFO] [stdout]     |
[INFO] [stdout] 455 |                         path.add(names[idx].clone(), segments[idx]);
[INFO] [stdout]     |                                            ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 8.71s
[INFO] running `Command { std: "docker" "inspect" "c55411ed84f2f58fbc35c3627f18c13e65c325661657eba26ba72cf9876807d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c55411ed84f2f58fbc35c3627f18c13e65c325661657eba26ba72cf9876807d4", kill_on_drop: false }`
[INFO] [stdout] c55411ed84f2f58fbc35c3627f18c13e65c325661657eba26ba72cf9876807d4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a30b0de2bfff35c89aeff9c274e58fd52820e3ab168d32641cffaad251244651
[INFO] running `Command { std: "docker" "start" "-a" "a30b0de2bfff35c89aeff9c274e58fd52820e3ab168d32641cffaad251244651", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary braces around block return value
[INFO] [stderr]   --> src/url.rs:34:37
[INFO] [stderr]    |
[INFO] [stderr] 34 |     static DEFAULT_QUOTER: Quoter = { Quoter::new(b"@:", b"/+") };
[INFO] [stderr]    |                                     ^^                         ^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these braces
[INFO] [stderr]    |
[INFO] [stderr] 34 -     static DEFAULT_QUOTER: Quoter = { Quoter::new(b"@:", b"/+") };
[INFO] [stderr] 34 +     static DEFAULT_QUOTER: Quoter = Quoter::new(b"@:", b"/+") ;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `resource` is never read
[INFO] [stderr]  --> src/router.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub struct ResourceInfo {
[INFO] [stderr]   |            ------------ field in this struct
[INFO] [stderr] 9 |     resource: ResourceId,
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `ResourceInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/path.rs:161:17
[INFO] [stderr]     |
[INFO] [stderr] 161 |     pub fn iter(&self) -> PathIter<T> {
[INFO] [stderr]     |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 161 |     pub fn iter(&self) -> PathIter<'_, T> {
[INFO] [stderr]     |                                    +++
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/resource.rs:297:40
[INFO] [stderr]     |
[INFO] [stderr] 297 |                     path.add(names[idx].clone(), segments[idx]);
[INFO] [stderr]     |                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stderr]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/resource.rs:329:44
[INFO] [stderr]     |
[INFO] [stderr] 329 |                         path.add(names[idx].clone(), segments[idx]);
[INFO] [stderr]     |                                            ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/resource.rs:416:40
[INFO] [stderr]     |
[INFO] [stderr] 416 |                     path.add(names[idx].clone(), segments[idx]);
[INFO] [stderr]     |                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/resource.rs:455:44
[INFO] [stderr]     |
[INFO] [stderr] 455 |                         path.add(names[idx].clone(), segments[idx]);
[INFO] [stderr]     |                                            ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stderr] 
[INFO] [stderr] warning: `scrappy-router` (lib) generated 7 warnings (run `cargo fix --lib -p scrappy-router` to apply 6 suggestions)
[INFO] [stderr] warning: struct `Id` is never constructed
[INFO] [stderr]    --> src/de.rs:494:12
[INFO] [stderr]     |
[INFO] [stderr] 494 |     struct Id {
[INFO] [stderr]     |            ^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `resource` is never read
[INFO] [stderr]  --> src/router.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub struct ResourceInfo {
[INFO] [stderr]   |            ------------ field in this struct
[INFO] [stderr] 9 |     resource: ResourceId,
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `ResourceInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `scrappy-router` (lib test) generated 8 warnings (6 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/scrappy_router-f9c08e6391379ed4)
[INFO] [stdout] 
[INFO] [stdout] running 18 tests
[INFO] [stdout] test resource::tests::test_resource_prefix ... ok
[INFO] [stdout] test resource::tests::test_parse_static ... ok
[INFO] [stdout] test url::tests::test_parse_url ... ok
[INFO] [stdout] test de::tests::test_extract_errors ... ok
[INFO] [stdout] test resource::tests::test_parse_param ... ok
[INFO] [stdout] test resource::tests::test_static_tail ... ok
[INFO] [stdout] test de::tests::test_extract_enum ... ok
[INFO] [stdout] test de::tests::test_extract_enum_value ... ok
[INFO] [stdout] test resource::tests::test_reousrce_prefix_dynamic ... ok
[INFO] [stdout] test router::tests::test_recognizer_2 ... ok
[INFO] [stdout] test router::tests::test_recognizer_with_prefix ... ok
[INFO] [stdout] test de::tests::test_extract_path_single ... ok
[INFO] [stdout] test resource::tests::test_resource_path ... ok
[INFO] [stdout] test resource::tests::test_parse_urlencoded_param ... ok
[INFO] [stdout] test resource::tests::test_parse_tail ... ok
[INFO] [stdout] test de::tests::test_request_extract ... ok
[INFO] [stdout] test router::tests::test_recognizer_1 ... ok
[INFO] [stdout] test resource::tests::test_dynamic_set ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests scrappy_router
[INFO] [stderr] warning: unnecessary braces around block return value
[INFO] [stderr]   --> src/url.rs:34:37
[INFO] [stderr]    |
[INFO] [stderr] 34 |     static DEFAULT_QUOTER: Quoter = { Quoter::new(b"@:", b"/+") };
[INFO] [stderr]    |                                     ^^                         ^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these braces
[INFO] [stderr]    |
[INFO] [stderr] 34 -     static DEFAULT_QUOTER: Quoter = { Quoter::new(b"@:", b"/+") };
[INFO] [stderr] 34 +     static DEFAULT_QUOTER: Quoter = Quoter::new(b"@:", b"/+") ;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[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" "a30b0de2bfff35c89aeff9c274e58fd52820e3ab168d32641cffaad251244651", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a30b0de2bfff35c89aeff9c274e58fd52820e3ab168d32641cffaad251244651", kill_on_drop: false }`
[INFO] [stdout] a30b0de2bfff35c89aeff9c274e58fd52820e3ab168d32641cffaad251244651
