[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] checking archer884/left-pad against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farcher884%2Fleft-pad" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/archer884/left-pad on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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-14/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" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-14/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" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 313584074c93750c226943bcbc4e90d60fde5ecebc48a3d7b3d0d7f8f5ef289e [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" "313584074c93750c226943bcbc4e90d60fde5ecebc48a3d7b3d0d7f8f5ef289e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "313584074c93750c226943bcbc4e90d60fde5ecebc48a3d7b3d0d7f8f5ef289e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "313584074c93750c226943bcbc4e90d60fde5ecebc48a3d7b3d0d7f8f5ef289e", kill_on_drop: false }` [INFO] [stdout] 313584074c93750c226943bcbc4e90d60fde5ecebc48a3d7b3d0d7f8f5ef289e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1582a37927ab439fa24222f6e1d71893028569c101032b5e946e4b4f41b6bb6d [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" "1582a37927ab439fa24222f6e1d71893028569c101032b5e946e4b4f41b6bb6d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking hyper v0.10.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] Checking iron v0.6.1 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking 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] 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] 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] 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 `iron::url::form_urlencoded::Parse<'_>` [INFO] [stdout] 46 | None => Err(ParamsError::MissingParams), [INFO] [stdout] | ^^^^ expected struct `iron::url::form_urlencoded::Parse`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `iron::url::form_urlencoded::Parse<'_>` [INFO] [stdout] found enum `std::option::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 `iron::url::form_urlencoded::Parse<'_>` [INFO] [stdout] 46 | None => Err(ParamsError::MissingParams), [INFO] [stdout] 47 | Some(query_params) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `iron::url::form_urlencoded::Parse`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `iron::url::form_urlencoded::Parse<'_>` [INFO] [stdout] found enum `std::option::Option<_>` [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 `iron::url::form_urlencoded::Parse<'_>` [INFO] [stdout] 46 | None => Err(ParamsError::MissingParams), [INFO] [stdout] | ^^^^ expected struct `iron::url::form_urlencoded::Parse`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `iron::url::form_urlencoded::Parse<'_>` [INFO] [stdout] found enum `std::option::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 `iron::url::form_urlencoded::Parse<'_>` [INFO] [stdout] 46 | None => Err(ParamsError::MissingParams), [INFO] [stdout] 47 | Some(query_params) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `iron::url::form_urlencoded::Parse`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `iron::url::form_urlencoded::Parse<'_>` [INFO] [stdout] found enum `std::option::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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1582a37927ab439fa24222f6e1d71893028569c101032b5e946e4b4f41b6bb6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1582a37927ab439fa24222f6e1d71893028569c101032b5e946e4b4f41b6bb6d", kill_on_drop: false }` [INFO] [stdout] 1582a37927ab439fa24222f6e1d71893028569c101032b5e946e4b4f41b6bb6d