[INFO] cloning repository https://github.com/0x009922/parity-scale-trivial-num-casts-issue
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0x009922/parity-scale-trivial-num-casts-issue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x009922%2Fparity-scale-trivial-num-casts-issue", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x009922%2Fparity-scale-trivial-num-casts-issue'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 65ba1aa766ae2c4382bb3c8ad6affa4de81b56f7
[INFO] testing 0x009922/parity-scale-trivial-num-casts-issue against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x009922%2Fparity-scale-trivial-num-casts-issue" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/0x009922/parity-scale-trivial-num-casts-issue
[INFO] finished tweaking git repo https://github.com/0x009922/parity-scale-trivial-num-casts-issue
[INFO] tweaked toml for git repo https://github.com/0x009922/parity-scale-trivial-num-casts-issue written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0x009922/parity-scale-trivial-num-casts-issue on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0x009922/parity-scale-trivial-num-casts-issue 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 95093a78cc9afeb2fa960afe0eb1c61f84e61f1015f362698ee0231076fa6e24
[INFO] running `Command { std: "docker" "start" "-a" "95093a78cc9afeb2fa960afe0eb1c61f84e61f1015f362698ee0231076fa6e24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "95093a78cc9afeb2fa960afe0eb1c61f84e61f1015f362698ee0231076fa6e24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95093a78cc9afeb2fa960afe0eb1c61f84e61f1015f362698ee0231076fa6e24", kill_on_drop: false }`
[INFO] [stdout] 95093a78cc9afeb2fa960afe0eb1c61f84e61f1015f362698ee0231076fa6e24
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] c80a88e73f7174cceaa11c80ddba6377827e7994c8c43eaa2ff2298d62603abc
[INFO] running `Command { std: "docker" "start" "-a" "c80a88e73f7174cceaa11c80ddba6377827e7994c8c43eaa2ff2298d62603abc", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling winnow v0.7.10
[INFO] [stderr]    Compiling toml_datetime v0.6.9
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling byte-slice-cast v1.2.3
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.34
[INFO] [stderr]    Compiling parity-scale-codec v3.7.5
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling const_format v0.2.34
[INFO] [stderr]    Compiling toml_edit v0.22.26
[INFO] [stderr]    Compiling proc-macro-crate v3.3.0
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.3
[INFO] [stderr]    Compiling parity-scale-codec-derive v3.7.5
[INFO] [stderr]    Compiling parity-scale-trivial-num-casts-issue v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: trivial numeric cast: `usize` as `usize`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     One,
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: cast can be replaced by coercion; this might require a temporary variable
[INFO] [stdout]   = note: requested on the command line with `-D trivial-numeric-casts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trivial numeric cast: `usize` as `usize`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Two
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: cast can be replaced by coercion; this might require a temporary variable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `parity-scale-trivial-num-casts-issue` (lib) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "c80a88e73f7174cceaa11c80ddba6377827e7994c8c43eaa2ff2298d62603abc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c80a88e73f7174cceaa11c80ddba6377827e7994c8c43eaa2ff2298d62603abc", kill_on_drop: false }`
[INFO] [stdout] c80a88e73f7174cceaa11c80ddba6377827e7994c8c43eaa2ff2298d62603abc
