[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnikita-skobov%2Fcontext-based-variable-substitution" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nikita-skobov/context-based-variable-substitution on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-12/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b89b324e21a6304441c9a8ce18741f94fbc90f2f700c82e9e3e3e812c48b32d9 [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" "b89b324e21a6304441c9a8ce18741f94fbc90f2f700c82e9e3e3e812c48b32d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b89b324e21a6304441c9a8ce18741f94fbc90f2f700c82e9e3e3e812c48b32d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b89b324e21a6304441c9a8ce18741f94fbc90f2f700c82e9e3e3e812c48b32d9", kill_on_drop: false }` [INFO] [stdout] b89b324e21a6304441c9a8ce18741f94fbc90f2f700c82e9e3e3e812c48b32d9 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 7bc26480c96cd04b0aedf447cdb717223a6dbf013265bf139875701f02b96af0 [INFO] running `Command { std: "docker" "start" "-a" "7bc26480c96cd04b0aedf447cdb717223a6dbf013265bf139875701f02b96af0", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.19 [INFO] [stderr] Checking aho-corasick v0.7.13 [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_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: 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: `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 7.76s [INFO] running `Command { std: "docker" "inspect" "7bc26480c96cd04b0aedf447cdb717223a6dbf013265bf139875701f02b96af0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bc26480c96cd04b0aedf447cdb717223a6dbf013265bf139875701f02b96af0", kill_on_drop: false }` [INFO] [stdout] 7bc26480c96cd04b0aedf447cdb717223a6dbf013265bf139875701f02b96af0