[INFO] cloning repository https://github.com/felix-hedenstrom/ngramfiller [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/felix-hedenstrom/ngramfiller" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-hedenstrom%2Fngramfiller", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-hedenstrom%2Fngramfiller'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5f2944db09e55f0f7bebb81c695e3cbedc11440 [INFO] checking felix-hedenstrom/ngramfiller/c5f2944db09e55f0f7bebb81c695e3cbedc11440 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-hedenstrom%2Fngramfiller" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felix-hedenstrom/ngramfiller on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/felix-hedenstrom/ngramfiller [INFO] finished tweaking git repo https://github.com/felix-hedenstrom/ngramfiller [INFO] tweaked toml for git repo https://github.com/felix-hedenstrom/ngramfiller written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/felix-hedenstrom/ngramfiller 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/dgrunwald/rust-cpython` [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d15e8a099a1c50e198ae493cc420fecf9056ec23d40f6495922823e0c236c76 [INFO] running `Command { std: "docker" "start" "-a" "3d15e8a099a1c50e198ae493cc420fecf9056ec23d40f6495922823e0c236c76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d15e8a099a1c50e198ae493cc420fecf9056ec23d40f6495922823e0c236c76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d15e8a099a1c50e198ae493cc420fecf9056ec23d40f6495922823e0c236c76", kill_on_drop: false }` [INFO] [stdout] 3d15e8a099a1c50e198ae493cc420fecf9056ec23d40f6495922823e0c236c76 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18ef2ceb3346000e07926f811dd383ad1ec956cf480718f190d74b3d90ec8df9 [INFO] running `Command { std: "docker" "start" "-a" "18ef2ceb3346000e07926f811dd383ad1ec956cf480718f190d74b3d90ec8df9", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling cpython v0.2.1 (https://github.com/dgrunwald/rust-cpython#c5cfd32c) [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.10 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling aho-corasick v0.7.4 [INFO] [stderr] Compiling regex v1.2.0 [INFO] [stderr] Compiling python3-sys v0.2.1 (https://github.com/dgrunwald/rust-cpython#c5cfd32c) [INFO] [stderr] Checking ngramconnector v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | r#try!(m.add(py, "__doc__", "This module is implemented in Rust")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | r#try!(m.add(py, "depth", py_fn!(py, depth(val: PyDict)))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | r#try!(m.add( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/graph.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(hash_set_entry)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 199 | s!("a") => vec![s!("test"), s!("trial")], [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 199 | s!("a") => vec![s!("test"), s!("trial")], [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 199 | s!("a") => vec![s!("test"), s!("trial")], [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 200 | s!("an") => vec![s!("assessment"), s!("approval")] [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 200 | s!("an") => vec![s!("assessment"), s!("approval")] [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 200 | s!("an") => vec![s!("assessment"), s!("approval")] [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 210 | s!("is") => is_lowest_ngrams]), [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 218 | assert_eq!(testdata.get_neighbors(&NGram::new(vec![s!("the")])), None); [INFO] [stdout] | --------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 225 | testdata.get_neighbors(&NGram::new(vec![s!("a")])), [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 227 | NGram::new(vec![s!("a"), s!("test")]), [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 227 | NGram::new(vec![s!("a"), s!("test")]), [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 228 | NGram::new(vec![s!("a"), s!("trial")]) [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 228 | NGram::new(vec![s!("a"), s!("trial")]) [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 237 | &testdata.get_neighbors(&NGram::new(vec![s!("is")])).unwrap(), [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 239 | NGram::new(vec![s!("is"), s!("a"), s!("test")]), [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 239 | NGram::new(vec![s!("is"), s!("a"), s!("test")]), [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 239 | NGram::new(vec![s!("is"), s!("a"), s!("test")]), [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 240 | NGram::new(vec![s!("is"), s!("a"), s!("trial")]), [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 240 | NGram::new(vec![s!("is"), s!("a"), s!("trial")]), [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 240 | NGram::new(vec![s!("is"), s!("a"), s!("trial")]), [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 241 | NGram::new(vec![s!("is"), s!("an"), s!("assessment")]), [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 241 | NGram::new(vec![s!("is"), s!("an"), s!("assessment")]), [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 241 | NGram::new(vec![s!("is"), s!("an"), s!("assessment")]), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 242 | NGram::new(vec![s!("is"), s!("an"), s!("approval")]), [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 242 | NGram::new(vec![s!("is"), s!("an"), s!("approval")]), [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 242 | NGram::new(vec![s!("is"), s!("an"), s!("approval")]), [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 247 | .get_neighbors(&NGram::new(vec![s!("is"), s!("an")])) [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 247 | .get_neighbors(&NGram::new(vec![s!("is"), s!("an")])) [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 250 | NGram::new(vec![s!("is"), s!("an"), s!("assessment")]), [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ngrams` as mutable more than once at a time [INFO] [stdout] --> src/graph.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | ngrams.push(neighbor); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] 39 | let neighbor_p = ngrams.last_mut().unwrap(); [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] 40 | [INFO] [stdout] 41 | if !visited.insert(neighbor_p){ [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ngrams` as mutable more than once at a time [INFO] [stdout] --> src/graph.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | let neighbor_p = ngrams.last_mut().unwrap(); [INFO] [stdout] | ^^^^^^ `ngrams` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] 40 | [INFO] [stdout] 41 | if !visited.insert(neighbor_p){ [INFO] [stdout] | ------- first borrow used here, in later iteration of loop [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 250 | NGram::new(vec![s!("is"), s!("an"), s!("assessment")]), [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 250 | NGram::new(vec![s!("is"), s!("an"), s!("assessment")]), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 251 | NGram::new(vec![s!("is"), s!("an"), s!("approval")]), [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 251 | NGram::new(vec![s!("is"), s!("an"), s!("approval")]), [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ngram_graph.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | String::from($str); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 251 | NGram::new(vec![s!("is"), s!("an"), s!("approval")]), [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `s` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | r#try!(m.add(py, "__doc__", "This module is implemented in Rust")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | r#try!(m.add(py, "depth", py_fn!(py, depth(val: PyDict)))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | r#try!(m.add( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/graph.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(hash_set_entry)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ngramconnector` (lib) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0499]: cannot borrow `ngrams` as mutable more than once at a time [INFO] [stdout] --> src/graph.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | ngrams.push(neighbor); [INFO] [stdout] | ^^^^^^ second mutable borrow occurs here [INFO] [stdout] 39 | let neighbor_p = ngrams.last_mut().unwrap(); [INFO] [stdout] | ------ first mutable borrow occurs here [INFO] [stdout] 40 | [INFO] [stdout] 41 | if !visited.insert(neighbor_p){ [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ngrams` as mutable more than once at a time [INFO] [stdout] --> src/graph.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | let neighbor_p = ngrams.last_mut().unwrap(); [INFO] [stdout] | ^^^^^^ `ngrams` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] 40 | [INFO] [stdout] 41 | if !visited.insert(neighbor_p){ [INFO] [stdout] | ------- first borrow used here, in later iteration of loop [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ngramconnector` (lib test) due to 3 previous errors; 72 warnings emitted [INFO] running `Command { std: "docker" "inspect" "18ef2ceb3346000e07926f811dd383ad1ec956cf480718f190d74b3d90ec8df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18ef2ceb3346000e07926f811dd383ad1ec956cf480718f190d74b3d90ec8df9", kill_on_drop: false }` [INFO] [stdout] 18ef2ceb3346000e07926f811dd383ad1ec956cf480718f190d74b3d90ec8df9