[INFO] fetching crate small-router 0.2.1... [INFO] building small-router-0.2.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate small-router 0.2.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate small-router 0.2.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate small-router 0.2.1 [INFO] tweaked toml for crates.io crate small-router 0.2.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate small-router 0.2.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate small-router 0.2.1 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded idna_adapter v1.2.1 [INFO] [stderr] Downloaded utf8_iter v1.0.4 [INFO] [stderr] Downloaded percent-encoding v2.3.1 [INFO] [stderr] Downloaded smallvec v1.15.1 [INFO] [stderr] Downloaded zerofrom v0.1.6 [INFO] [stderr] Downloaded synstructure v0.13.2 [INFO] [stderr] Downloaded zerovec v0.11.4 [INFO] [stderr] Downloaded potential_utf v0.1.3 [INFO] [stderr] Downloaded zerofrom-derive v0.1.6 [INFO] [stderr] Downloaded tinystr v0.8.1 [INFO] [stderr] Downloaded form_urlencoded v1.2.1 [INFO] [stderr] Downloaded icu_normalizer v2.0.0 [INFO] [stderr] Downloaded icu_normalizer_data v2.0.0 [INFO] [stderr] Downloaded icu_collections v2.0.0 [INFO] [stderr] Downloaded icu_properties_data v2.0.1 [INFO] [stderr] Downloaded icu_locale_core v2.0.0 [INFO] [stderr] Downloaded serde v1.0.219 [INFO] [stderr] Downloaded idna v1.1.0 [INFO] [stderr] Downloaded displaydoc v0.2.5 [INFO] [stderr] Downloaded serde_derive v1.0.219 [INFO] [stderr] Downloaded syn v2.0.104 [INFO] [stderr] Downloaded quote v1.0.40 [INFO] [stderr] Downloaded icu_provider v2.0.0 [INFO] [stderr] Downloaded zerotrie v0.2.2 [INFO] [stderr] Downloaded litemap v0.8.0 [INFO] [stderr] Downloaded writeable v0.6.1 [INFO] [stderr] Downloaded url v2.5.4 [INFO] [stderr] Downloaded yoke v0.8.0 [INFO] [stderr] Downloaded zerovec-derive v0.11.1 [INFO] [stderr] Downloaded stable_deref_trait v1.2.0 [INFO] [stderr] Downloaded yoke-derive v0.8.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.95 [INFO] [stderr] Downloaded unicode-ident v1.0.18 [INFO] [stderr] Downloaded icu_properties v2.0.1 [INFO] [stderr] Downloaded small-http v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ddd59293abe0567ed52b0538fe0c94fb2b3ec52f1587794dea10bb49eb4c5d1 [INFO] running `Command { std: "docker" "start" "-a" "1ddd59293abe0567ed52b0538fe0c94fb2b3ec52f1587794dea10bb49eb4c5d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ddd59293abe0567ed52b0538fe0c94fb2b3ec52f1587794dea10bb49eb4c5d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ddd59293abe0567ed52b0538fe0c94fb2b3ec52f1587794dea10bb49eb4c5d1", kill_on_drop: false }` [INFO] [stdout] 1ddd59293abe0567ed52b0538fe0c94fb2b3ec52f1587794dea10bb49eb4c5d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c403e0d5aa966a7b88824c6a821a44c745266be0d323e2f96964f9799b3c02d [INFO] running `Command { std: "docker" "start" "-a" "4c403e0d5aa966a7b88824c6a821a44c745266be0d323e2f96964f9799b3c02d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling small-http v0.2.1 [INFO] [stderr] Compiling small-router v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.94s [INFO] running `Command { std: "docker" "inspect" "4c403e0d5aa966a7b88824c6a821a44c745266be0d323e2f96964f9799b3c02d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c403e0d5aa966a7b88824c6a821a44c745266be0d323e2f96964f9799b3c02d", kill_on_drop: false }` [INFO] [stdout] 4c403e0d5aa966a7b88824c6a821a44c745266be0d323e2f96964f9799b3c02d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccf5849ddbcc096e3daab41ec8d92f73a2d192d7b64d7556f855ac5e2e235454 [INFO] running `Command { std: "docker" "start" "-a" "ccf5849ddbcc096e3daab41ec8d92f73a2d192d7b64d7556f855ac5e2e235454", kill_on_drop: false }` [INFO] [stderr] Compiling small-router v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0423]: expected function, found module `small_http::serve` [INFO] [stdout] --> examples/small-router-layers.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | small_http::serve(listener, move |req| router.handle(req)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `small_http::serve` [INFO] [stdout] --> examples/small-router-context.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | small_http::serve(listener, move |req| router.handle(req)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `serve` is private [INFO] [stdout] --> examples/small-router-layers.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | small_http::serve(listener, move |req| router.handle(req)); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `serve` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/small-http-0.2.1/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | mod serve; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `serve` is private [INFO] [stdout] --> examples/small-router-context.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | small_http::serve(listener, move |req| router.handle(req)); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `serve` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/small-http-0.2.1/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | mod serve; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `small-router` (example "small-router-context") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `small-router` (example "small-router-layers") due to 2 previous errors [INFO] [stdout] error[E0423]: expected function, found module `small_http::serve` [INFO] [stdout] --> examples/small-router-simple.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | small_http::serve(listener, move |req| router.handle(req)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `serve` is private [INFO] [stdout] --> examples/small-router-simple.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | small_http::serve(listener, move |req| router.handle(req)); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `serve` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/small-http-0.2.1/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | mod serve; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `small-router` (example "small-router-simple") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "ccf5849ddbcc096e3daab41ec8d92f73a2d192d7b64d7556f855ac5e2e235454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccf5849ddbcc096e3daab41ec8d92f73a2d192d7b64d7556f855ac5e2e235454", kill_on_drop: false }` [INFO] [stdout] ccf5849ddbcc096e3daab41ec8d92f73a2d192d7b64d7556f855ac5e2e235454