[INFO] cloning repository https://github.com/archer884/left-pad [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/archer884/left-pad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcher884%2Fleft-pad", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcher884%2Fleft-pad'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4625b187e3acd309c1320a829d87cb3c7d0dd5bf [INFO] testing archer884/left-pad against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcher884%2Fleft-pad" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/archer884/left-pad on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/archer884/left-pad [INFO] finished tweaking git repo https://github.com/archer884/left-pad [INFO] tweaked toml for git repo https://github.com/archer884/left-pad written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/archer884/left-pad already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bc4d5897cd7adb0d3cc5a416c338a50acf5996c5590f9f36ecf4761a7597df9 [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" "2bc4d5897cd7adb0d3cc5a416c338a50acf5996c5590f9f36ecf4761a7597df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bc4d5897cd7adb0d3cc5a416c338a50acf5996c5590f9f36ecf4761a7597df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bc4d5897cd7adb0d3cc5a416c338a50acf5996c5590f9f36ecf4761a7597df9", kill_on_drop: false }` [INFO] [stdout] 2bc4d5897cd7adb0d3cc5a416c338a50acf5996c5590f9f36ecf4761a7597df9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7be1c4be25e806ee5cbf8086f50260b8f485bfda50d44695f2c4368d1534fa6b [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" "7be1c4be25e806ee5cbf8086f50260b8f485bfda50d44695f2c4368d1534fa6b", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling route-recognizer v0.1.13 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling router v0.6.0 [INFO] [stderr] Compiling left-pad v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: no rules expected the token `"/"` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | get "/" => help, [INFO] [stdout] | ^^^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/params.rs:35:66 [INFO] [stdout] | [INFO] [stdout] 35 | let response = Response::with((status::BadRequest, error.description())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `iron::Url::into_generic_url`: use `into` from the `Into` trait instead [INFO] [stdout] --> src/params.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | let query = url.clone().into_generic_url(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/params.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | match query.query_pairs() { [INFO] [stdout] | ------------------- this expression has type `Parse<'_>` [INFO] [stdout] 46 | None => Err(ParamsError::MissingParams), [INFO] [stdout] | ^^^^ expected struct `Parse`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Parse<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/params.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 45 | match query.query_pairs() { [INFO] [stdout] | ------------------- this expression has type `Parse<'_>` [INFO] [stdout] 46 | None => Err(ParamsError::MissingParams), [INFO] [stdout] 47 | Some(query_params) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `Parse`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Parse<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `left-pad` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7be1c4be25e806ee5cbf8086f50260b8f485bfda50d44695f2c4368d1534fa6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7be1c4be25e806ee5cbf8086f50260b8f485bfda50d44695f2c4368d1534fa6b", kill_on_drop: false }` [INFO] [stdout] 7be1c4be25e806ee5cbf8086f50260b8f485bfda50d44695f2c4368d1534fa6b