[INFO] cloning repository https://github.com/sfarqu/try-trie [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sfarqu/try-trie" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsfarqu%2Ftry-trie", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsfarqu%2Ftry-trie'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d8bcd465c113e061598d3430f18816eb0a40f7e [INFO] checking sfarqu/try-trie against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsfarqu%2Ftry-trie" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sfarqu/try-trie [INFO] finished tweaking git repo https://github.com/sfarqu/try-trie [INFO] tweaked toml for git repo https://github.com/sfarqu/try-trie written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sfarqu/try-trie on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sfarqu/try-trie 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded heapsize v0.4.2 [INFO] [stderr] Downloaded serde_cbor v0.11.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.64 [INFO] [stderr] Downloaded tinytemplate v1.1.0 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded oorandom v11.1.2 [INFO] [stderr] Downloaded criterion-plot v0.4.3 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.64 [INFO] [stderr] Downloaded js-sys v0.3.41 [INFO] [stderr] Downloaded half v1.6.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.64 [INFO] [stderr] Downloaded criterion v0.3.3 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.64 [INFO] [stderr] Downloaded wasm-bindgen v0.2.64 [INFO] [stderr] Downloaded web-sys v0.3.41 [INFO] [stderr] Downloaded plotters v0.2.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18c1f2eda870b93c37dda6d79b2103d87f6d95af4ca40ed489853b2fc0521c6a [INFO] running `Command { std: "docker" "start" "-a" "18c1f2eda870b93c37dda6d79b2103d87f6d95af4ca40ed489853b2fc0521c6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18c1f2eda870b93c37dda6d79b2103d87f6d95af4ca40ed489853b2fc0521c6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18c1f2eda870b93c37dda6d79b2103d87f6d95af4ca40ed489853b2fc0521c6a", kill_on_drop: false }` [INFO] [stdout] 18c1f2eda870b93c37dda6d79b2103d87f6d95af4ca40ed489853b2fc0521c6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3633dbd23abf5971a17be3d0769033f35dcb87b0b5704b31eaa47a4bdc6cac5d [INFO] running `Command { std: "docker" "start" "-a" "3633dbd23abf5971a17be3d0769033f35dcb87b0b5704b31eaa47a4bdc6cac5d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking oorandom v11.1.2 [INFO] [stderr] Checking try-trie v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `do_action` is never used [INFO] [stdout] --> src/lib.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn do_action(obj: &mut trie_v1::Trie, action: &str, str: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> examples/12ms-trie-example.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let i = (c as usize - 97); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - let i = (c as usize - 97); [INFO] [stdout] 68 + let i = c as usize - 97; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> examples/12ms-trie-example.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | let i = (c as usize - 97); // cheater way of getting 0-26, only works lc ASCII [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - let i = (c as usize - 97); // cheater way of getting 0-26, only works lc ASCII [INFO] [stdout] 86 + let i = c as usize - 97; // cheater way of getting 0-26, only works lc ASCII [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `search_internal`, `search`, and `starts_with` are never used [INFO] [stdout] --> examples/12ms-trie-example.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 55 | impl Trie { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | fn search_internal(&self, word: String, full: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn search(&self, word: String) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn starts_with(&self, prefix: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3633dbd23abf5971a17be3d0769033f35dcb87b0b5704b31eaa47a4bdc6cac5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3633dbd23abf5971a17be3d0769033f35dcb87b0b5704b31eaa47a4bdc6cac5d", kill_on_drop: false }` [INFO] [stdout] 3633dbd23abf5971a17be3d0769033f35dcb87b0b5704b31eaa47a4bdc6cac5d