[INFO] cloning repository https://github.com/gbuglione/error-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gbuglione/error-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgbuglione%2Ferror-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgbuglione%2Ferror-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9823f01cf4948a41279f6a3febcf793130cab4f6 [INFO] testing gbuglione/error-code against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgbuglione%2Ferror-code" "/workspace/builds/worker-118/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-118/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gbuglione/error-code on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gbuglione/error-code [INFO] finished tweaking git repo https://github.com/gbuglione/error-code [INFO] tweaked toml for git repo https://github.com/gbuglione/error-code written to /workspace/builds/worker-118/source/Cargo.toml [INFO] crate git repo https://github.com/gbuglione/error-code already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--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-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e44c7a6f2cb7c51c8d47279d5752d0f916ae92ef48edfccb7a3e6d02ce2c3538 [INFO] running `Command { std: "docker" "start" "-a" "e44c7a6f2cb7c51c8d47279d5752d0f916ae92ef48edfccb7a3e6d02ce2c3538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e44c7a6f2cb7c51c8d47279d5752d0f916ae92ef48edfccb7a3e6d02ce2c3538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e44c7a6f2cb7c51c8d47279d5752d0f916ae92ef48edfccb7a3e6d02ce2c3538", kill_on_drop: false }` [INFO] [stdout] e44c7a6f2cb7c51c8d47279d5752d0f916ae92ef48edfccb7a3e6d02ce2c3538 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c293bcc1e96a8f628632075c9c6acc970b08c5f64cf1ccbd2750ac75b004585 [INFO] running `Command { std: "docker" "start" "-a" "5c293bcc1e96a8f628632075c9c6acc970b08c5f64cf1ccbd2750ac75b004585", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling error_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/lib.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | pub const STRING: String = String::from("invalid"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0013]: constants cannot refer to statics [INFO] [stdout] --> src/lib.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | const Y: i32 = X; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: consider extracting the value of the `static` to a `const`, and referring to that [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0013, E0015. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0013`. [INFO] [stdout] [INFO] [stderr] error: could not compile `error_code` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "5c293bcc1e96a8f628632075c9c6acc970b08c5f64cf1ccbd2750ac75b004585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c293bcc1e96a8f628632075c9c6acc970b08c5f64cf1ccbd2750ac75b004585", kill_on_drop: false }` [INFO] [stdout] 5c293bcc1e96a8f628632075c9c6acc970b08c5f64cf1ccbd2750ac75b004585