[INFO] cloning repository https://github.com/nikita-skobov/context-based-variable-substitution [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nikita-skobov/context-based-variable-substitution" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikita-skobov%2Fcontext-based-variable-substitution", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikita-skobov%2Fcontext-based-variable-substitution'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 125621371968bab041c27fad95e8f25d43a9ef64 [INFO] checking nikita-skobov/context-based-variable-substitution against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikita-skobov%2Fcontext-based-variable-substitution" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nikita-skobov/context-based-variable-substitution on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nikita-skobov/context-based-variable-substitution [INFO] finished tweaking git repo https://github.com/nikita-skobov/context-based-variable-substitution [INFO] tweaked toml for git repo https://github.com/nikita-skobov/context-based-variable-substitution written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/nikita-skobov/context-based-variable-substitution already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1a11e83ae96291bd0c906ca6f96328480acca4e06ab95f221564dea64e83042 [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" "d1a11e83ae96291bd0c906ca6f96328480acca4e06ab95f221564dea64e83042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1a11e83ae96291bd0c906ca6f96328480acca4e06ab95f221564dea64e83042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1a11e83ae96291bd0c906ca6f96328480acca4e06ab95f221564dea64e83042", kill_on_drop: false }` [INFO] [stdout] d1a11e83ae96291bd0c906ca6f96328480acca4e06ab95f221564dea64e83042 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 681a0d49c56395cd2de747fb691838730d6ac1353f3741f7dfb12c8249546a76 [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" "681a0d49c56395cd2de747fb691838730d6ac1353f3741f7dfb12c8249546a76", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex v1.4.0 [INFO] [stderr] Checking context_based_variable_substitution v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `FM_ignore` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | FM_ignore, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `FmIgnore` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FM_panic` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | FM_panic, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `FmPanic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FM_default` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | FM_default(String), [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `FmDefault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `syntax_char` [INFO] [stdout] --> src/lib.rs:90:45 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_value_from_key(&self, key: &str, syntax_char: char) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_syntax_char` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FM_ignore` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | FM_ignore, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `FmIgnore` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FM_panic` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | FM_panic, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `FmPanic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FM_default` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | FM_default(String), [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `FmDefault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `syntax_char` [INFO] [stdout] --> src/lib.rs:90:45 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_value_from_key(&self, key: &str, syntax_char: char) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_syntax_char` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/lib.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | let expected = "this is my custom_context"; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `replaced` [INFO] [stdout] --> src/lib.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | let replaced = replace_all_from(text, &context, FailureMode::FM_panic, None); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replaced` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `syntax_char` [INFO] [stdout] --> src/lib.rs:235:49 [INFO] [stdout] | [INFO] [stdout] 235 | fn get_value_from_key(&self, key: &str, syntax_char: char) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_syntax_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/lib.rs:354:42 [INFO] [stdout] | [INFO] [stdout] 354 | fn get_value_from_key(&self, key: &str, syntax_char: char) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.55s [INFO] running `Command { std: "docker" "inspect" "681a0d49c56395cd2de747fb691838730d6ac1353f3741f7dfb12c8249546a76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "681a0d49c56395cd2de747fb691838730d6ac1353f3741f7dfb12c8249546a76", kill_on_drop: false }` [INFO] [stdout] 681a0d49c56395cd2de747fb691838730d6ac1353f3741f7dfb12c8249546a76