[INFO] cloning repository https://github.com/QuaeroEtTego/file-adder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/QuaeroEtTego/file-adder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQuaeroEtTego%2Ffile-adder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQuaeroEtTego%2Ffile-adder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d80ea1bef7198366ba1c07de54ef7fc9d69a664 [INFO] building QuaeroEtTego/file-adder against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQuaeroEtTego%2Ffile-adder" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/QuaeroEtTego/file-adder on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/QuaeroEtTego/file-adder [INFO] finished tweaking git repo https://github.com/QuaeroEtTego/file-adder [INFO] tweaked toml for git repo https://github.com/QuaeroEtTego/file-adder written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/QuaeroEtTego/file-adder 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b664e5f47c16063dd59be636afcc98c63da3c3579799c94fccf10bdbbc65c4bc [INFO] running `Command { std: "docker" "start" "-a" "b664e5f47c16063dd59be636afcc98c63da3c3579799c94fccf10bdbbc65c4bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b664e5f47c16063dd59be636afcc98c63da3c3579799c94fccf10bdbbc65c4bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b664e5f47c16063dd59be636afcc98c63da3c3579799c94fccf10bdbbc65c4bc", kill_on_drop: false }` [INFO] [stdout] b664e5f47c16063dd59be636afcc98c63da3c3579799c94fccf10bdbbc65c4bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0d33320978c3d903131a37a6484b2dab318a5c2743b2f7ec089b80125500092 [INFO] running `Command { std: "docker" "start" "-a" "e0d33320978c3d903131a37a6484b2dab318a5c2743b2f7ec089b80125500092", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling file-adder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `INPUT_PATH` not defined at compile time [INFO] [stdout] --> src/main.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | const INPUT_FILE: &[u8] = include_bytes!(env!("INPUT_PATH")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("INPUT_PATH")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `OUTPUT_PATH` not defined at compile time [INFO] [stdout] --> src/main.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | const OUTPUT_PATH: &str = env!("OUTPUT_PATH"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("OUTPUT_PATH")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `file-adder` (bin "file-adder") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "e0d33320978c3d903131a37a6484b2dab318a5c2743b2f7ec089b80125500092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0d33320978c3d903131a37a6484b2dab318a5c2743b2f7ec089b80125500092", kill_on_drop: false }` [INFO] [stdout] e0d33320978c3d903131a37a6484b2dab318a5c2743b2f7ec089b80125500092