[INFO] fetching crate actori-router 0.2.4... [INFO] testing actori-router-0.2.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate actori-router 0.2.4 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate actori-router 0.2.4 [INFO] finished tweaking crates.io crate actori-router 0.2.4 [INFO] tweaked toml for crates.io crate actori-router 0.2.4 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate actori-router 0.2.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding bytestring v0.1.5 (available: v1.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0afcc38df66b5338dbf68821d28eb2bb38e4dc723950bb3bc5dcc22c7dee040 [INFO] running `Command { std: "docker" "start" "-a" "b0afcc38df66b5338dbf68821d28eb2bb38e4dc723950bb3bc5dcc22c7dee040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0afcc38df66b5338dbf68821d28eb2bb38e4dc723950bb3bc5dcc22c7dee040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0afcc38df66b5338dbf68821d28eb2bb38e4dc723950bb3bc5dcc22c7dee040", kill_on_drop: false }` [INFO] [stdout] b0afcc38df66b5338dbf68821d28eb2bb38e4dc723950bb3bc5dcc22c7dee040 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c3db3f0469699b43c0734b186abcefd78b3c56e606743612e1bfcaec13ae318 [INFO] running `Command { std: "docker" "start" "-a" "7c3db3f0469699b43c0734b186abcefd78b3c56e606743612e1bfcaec13ae318", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling actori-router v0.2.4 (/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 { [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 9.00s [INFO] running `Command { std: "docker" "inspect" "7c3db3f0469699b43c0734b186abcefd78b3c56e606743612e1bfcaec13ae318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c3db3f0469699b43c0734b186abcefd78b3c56e606743612e1bfcaec13ae318", kill_on_drop: false }` [INFO] [stdout] 7c3db3f0469699b43c0734b186abcefd78b3c56e606743612e1bfcaec13ae318 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d32d106726d84d13f8f8504dea2799693ce6f6c686b7543c92499a580d16dc7e [INFO] running `Command { std: "docker" "start" "-a" "d32d106726d84d13f8f8504dea2799693ce6f6c686b7543c92499a580d16dc7e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [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 { [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 quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling actori-router v0.2.4 (/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 { [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 9.60s [INFO] running `Command { std: "docker" "inspect" "d32d106726d84d13f8f8504dea2799693ce6f6c686b7543c92499a580d16dc7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d32d106726d84d13f8f8504dea2799693ce6f6c686b7543c92499a580d16dc7e", kill_on_drop: false }` [INFO] [stdout] d32d106726d84d13f8f8504dea2799693ce6f6c686b7543c92499a580d16dc7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 492bd9ddb4fe4562152f4fd305db149fab35e8d70529f14ee1728dca124eb188 [INFO] running `Command { std: "docker" "start" "-a" "492bd9ddb4fe4562152f4fd305db149fab35e8d70529f14ee1728dca124eb188", 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 { [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: `actori-router` (lib) generated 7 warnings (run `cargo fix --lib -p actori-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: `actori-router` (lib test) generated 8 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/actori_router-91ce2394c0aea570) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test de::tests::test_extract_errors ... ok [INFO] [stdout] test de::tests::test_extract_enum ... ok [INFO] [stdout] test resource::tests::test_parse_tail ... ok [INFO] [stdout] test resource::tests::test_reousrce_prefix_dynamic ... ok [INFO] [stdout] test resource::tests::test_parse_static ... ok [INFO] [stdout] test resource::tests::test_resource_prefix ... ok [INFO] [stdout] test resource::tests::test_parse_urlencoded_param ... ok [INFO] [stdout] test url::tests::test_parse_url ... ok [INFO] [stdout] test router::tests::test_recognizer_2 ... ok [INFO] [stdout] test router::tests::test_recognizer_with_prefix ... ok [INFO] [stdout] test resource::tests::test_parse_param ... ok [INFO] [stdout] test de::tests::test_extract_path_single ... ok [INFO] [stdout] test de::tests::test_extract_enum_value ... ok [INFO] [stdout] test de::tests::test_request_extract ... ok [INFO] [stdout] test resource::tests::test_resource_path ... ok [INFO] [stdout] test resource::tests::test_dynamic_set ... ok [INFO] [stdout] test resource::tests::test_static_tail ... ok [INFO] [stdout] test router::tests::test_recognizer_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests actori_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" "492bd9ddb4fe4562152f4fd305db149fab35e8d70529f14ee1728dca124eb188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "492bd9ddb4fe4562152f4fd305db149fab35e8d70529f14ee1728dca124eb188", kill_on_drop: false }` [INFO] [stdout] 492bd9ddb4fe4562152f4fd305db149fab35e8d70529f14ee1728dca124eb188