[INFO] fetching crate hangar 0.0.4... [INFO] building hangar-0.0.4 against master#461e8078010433ff7de2db2aaae8a3cfb0847215 for pr-94962 [INFO] extracting crate hangar 0.0.4 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate hangar 0.0.4 on toolchain 461e8078010433ff7de2db2aaae8a3cfb0847215 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hangar 0.0.4 [INFO] finished tweaking crates.io crate hangar 0.0.4 [INFO] tweaked toml for crates.io crate hangar 0.0.4 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unic-common v0.7.0 [INFO] [stderr] Downloaded humansize v1.1.1 [INFO] [stderr] Downloaded unic-char-property v0.7.0 [INFO] [stderr] Downloaded unic-ucd-version v0.7.0 [INFO] [stderr] Downloaded tera v0.11.20 [INFO] [stderr] Downloaded unic-char-range v0.7.0 [INFO] [stderr] Downloaded unic-ucd-segment v0.7.0 [INFO] [stderr] Downloaded unic-segment v0.7.0 [INFO] [stderr] Downloaded cargo_metadata v0.1.2 [INFO] [stderr] Downloaded cargo-shim v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 096b327a94cbc4e5d7c9c81fcfefce96262f608cf65ca6ed3799d31c614df68c [INFO] running `Command { std: "docker" "start" "-a" "096b327a94cbc4e5d7c9c81fcfefce96262f608cf65ca6ed3799d31c614df68c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "096b327a94cbc4e5d7c9c81fcfefce96262f608cf65ca6ed3799d31c614df68c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "096b327a94cbc4e5d7c9c81fcfefce96262f608cf65ca6ed3799d31c614df68c", kill_on_drop: false }` [INFO] [stdout] 096b327a94cbc4e5d7c9c81fcfefce96262f608cf65ca6ed3799d31c614df68c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dfc678812f8ee72a7cd6ac8a9732965decc983ef781830b6dac9cf25e574842 [INFO] running `Command { std: "docker" "start" "-a" "6dfc678812f8ee72a7cd6ac8a9732965decc983ef781830b6dac9cf25e574842", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling unic-common v0.7.0 [INFO] [stderr] Compiling unic-char-range v0.7.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling unic-ucd-version v0.7.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unic-char-property v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling unic-ucd-segment v0.7.0 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling unic-segment v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling cargo_metadata v0.1.2 [INFO] [stderr] Compiling cargo-shim v0.1.5 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling tera v0.11.20 [INFO] [stderr] Compiling hangar v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/generator/mod.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | context.add("database_url", &setting.db_url); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/generator/mod.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | context.add("authors_name_email", &setting.author); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/generator/mod.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | context.add("cargo_db", cargo_db); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/generator/mod.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | context.add("db_connection_long", db_connection_long); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/generator/mod.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | context.add("db_connection_short", db_connection_short); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/main.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | let result: Result = if let Some(matches) = matches.subcommand_matches("build") [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/main.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | } else if let Some(matches) = matches.subcommand_matches("db") { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/main.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | } else if let Some(matches) = matches.subcommand_matches("run") { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/generator/mod.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | tera.add_raw_template(var_template_name, var_template_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.17s [INFO] running `Command { std: "docker" "inspect" "6dfc678812f8ee72a7cd6ac8a9732965decc983ef781830b6dac9cf25e574842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dfc678812f8ee72a7cd6ac8a9732965decc983ef781830b6dac9cf25e574842", kill_on_drop: false }` [INFO] [stdout] 6dfc678812f8ee72a7cd6ac8a9732965decc983ef781830b6dac9cf25e574842 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76e1382acf6b3a618a91c6008903abfe9383ac5cb42843e1ce151ae93db7d74b [INFO] running `Command { std: "docker" "start" "-a" "76e1382acf6b3a618a91c6008903abfe9383ac5cb42843e1ce151ae93db7d74b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling hangar v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/generator/mod.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | context.add("database_url", &setting.db_url); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/generator/mod.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | context.add("authors_name_email", &setting.author); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/generator/mod.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | context.add("cargo_db", cargo_db); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/generator/mod.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | context.add("db_connection_long", db_connection_long); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tera::Context::add`: Use `insert` instead to keep consistency with std collections [INFO] [stdout] --> src/generator/mod.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | context.add("db_connection_short", db_connection_short); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/main.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | let result: Result = if let Some(matches) = matches.subcommand_matches("build") [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/main.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | } else if let Some(matches) = matches.subcommand_matches("db") { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/main.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | } else if let Some(matches) = matches.subcommand_matches("run") { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/generator/mod.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | tera.add_raw_template(var_template_name, var_template_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.02s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/hangar-fd8bed3b153089d9) [INFO] running `Command { std: "docker" "inspect" "76e1382acf6b3a618a91c6008903abfe9383ac5cb42843e1ce151ae93db7d74b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76e1382acf6b3a618a91c6008903abfe9383ac5cb42843e1ce151ae93db7d74b", kill_on_drop: false }` [INFO] [stdout] 76e1382acf6b3a618a91c6008903abfe9383ac5cb42843e1ce151ae93db7d74b