[INFO] fetching crate swas 0.3.1... [INFO] testing swas-0.3.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate swas 0.3.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate swas 0.3.1 [INFO] finished tweaking crates.io crate swas 0.3.1 [INFO] tweaked toml for crates.io crate swas 0.3.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swas 0.3.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate swas 0.3.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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65184d9fb1f6b8d852a9ec820eac129ff721961f4bf03f996067728c2a177b73 [INFO] running `Command { std: "docker" "start" "-a" "65184d9fb1f6b8d852a9ec820eac129ff721961f4bf03f996067728c2a177b73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65184d9fb1f6b8d852a9ec820eac129ff721961f4bf03f996067728c2a177b73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65184d9fb1f6b8d852a9ec820eac129ff721961f4bf03f996067728c2a177b73", kill_on_drop: false }` [INFO] [stdout] 65184d9fb1f6b8d852a9ec820eac129ff721961f4bf03f996067728c2a177b73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14400fa7800fd80157e39f63c8fffda46b90b5403ddcb73ab992bce300cd70ae [INFO] running `Command { std: "docker" "start" "-a" "14400fa7800fd80157e39f63c8fffda46b90b5403ddcb73ab992bce300cd70ae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling native-tls v0.2.9 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling tinyjson v2.3.0 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Compiling clap v3.1.6 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling swas v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "14400fa7800fd80157e39f63c8fffda46b90b5403ddcb73ab992bce300cd70ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14400fa7800fd80157e39f63c8fffda46b90b5403ddcb73ab992bce300cd70ae", kill_on_drop: false }` [INFO] [stdout] 14400fa7800fd80157e39f63c8fffda46b90b5403ddcb73ab992bce300cd70ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 444b2eacdab66205f027cac40e61d9769d277a664b2e1627f4cdb94c8765d03c [INFO] running `Command { std: "docker" "start" "-a" "444b2eacdab66205f027cac40e61d9769d277a664b2e1627f4cdb94c8765d03c", kill_on_drop: false }` [INFO] [stderr] Compiling swas v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "444b2eacdab66205f027cac40e61d9769d277a664b2e1627f4cdb94c8765d03c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "444b2eacdab66205f027cac40e61d9769d277a664b2e1627f4cdb94c8765d03c", kill_on_drop: false }` [INFO] [stdout] 444b2eacdab66205f027cac40e61d9769d277a664b2e1627f4cdb94c8765d03c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8f6b4f0abd066851ee08226bb48140875953a9e8e69c9df635d6bae529b7422f [INFO] running `Command { std: "docker" "start" "-a" "8f6b4f0abd066851ee08226bb48140875953a9e8e69c9df635d6bae529b7422f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swas-94a04755066bfff3) [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] [stderr] Running unittests src/bin/swas.rs (/opt/rustwide/target/debug/deps/swas-afd300854fabb24c) [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] [stderr] Doc-tests swas [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - raw_search_with_title (line 80) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - raw_search_with_title (line 80) stdout ---- [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 5 | let resp = swas::raw_search_with_title("Code with swastik").expect("Error fetching data"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------- argument #2 of type `u8` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn raw_search_with_title(query: &str, page: u8) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 5 | let resp = swas::raw_search_with_title("Code with swastik", /* u8 */).expect("Error fetching data"); [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - raw_search_with_title (line 80) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8f6b4f0abd066851ee08226bb48140875953a9e8e69c9df635d6bae529b7422f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f6b4f0abd066851ee08226bb48140875953a9e8e69c9df635d6bae529b7422f", kill_on_drop: false }` [INFO] [stdout] 8f6b4f0abd066851ee08226bb48140875953a9e8e69c9df635d6bae529b7422f