[INFO] fetching crate hangar 0.0.4... [INFO] checking hangar-0.0.4 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate hangar 0.0.4 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate hangar 0.0.4 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cargo-shim v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6ccd5696641c613406e2098794f96177e85389ae0a606ed02525cdd7d540b213 [INFO] running `Command { std: "docker" "start" "-a" "6ccd5696641c613406e2098794f96177e85389ae0a606ed02525cdd7d540b213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ccd5696641c613406e2098794f96177e85389ae0a606ed02525cdd7d540b213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ccd5696641c613406e2098794f96177e85389ae0a606ed02525cdd7d540b213", kill_on_drop: false }` [INFO] [stdout] 6ccd5696641c613406e2098794f96177e85389ae0a606ed02525cdd7d540b213 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c110221d0a0c096a8c036f57d339359765a22b9ccd5b9db0930c9f77140f68f1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c110221d0a0c096a8c036f57d339359765a22b9ccd5b9db0930c9f77140f68f1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unic-char-range v0.7.0 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking unic-common v0.7.0 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking rustc-demangle v0.1.17 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking unic-char-property v0.7.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking unic-ucd-version v0.7.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking unic-ucd-segment v0.7.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking unic-segment v0.7.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking backtrace v0.3.51 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking serde_json v0.9.10 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking cargo_metadata v0.1.2 [INFO] [stderr] Checking cargo-shim v0.1.5 [INFO] [stderr] Checking serde_json v1.0.58 [INFO] [stderr] Checking tera v0.11.20 [INFO] [stderr] Checking 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: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: 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 `std::result::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: unused `std::result::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] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.46s [INFO] running `Command { std: "docker" "inspect" "c110221d0a0c096a8c036f57d339359765a22b9ccd5b9db0930c9f77140f68f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c110221d0a0c096a8c036f57d339359765a22b9ccd5b9db0930c9f77140f68f1", kill_on_drop: false }` [INFO] [stdout] c110221d0a0c096a8c036f57d339359765a22b9ccd5b9db0930c9f77140f68f1