[INFO] cloning repository https://github.com/thekashifmalik/python.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thekashifmalik/python.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthekashifmalik%2Fpython.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthekashifmalik%2Fpython.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 053009f1436fb5b9b0c6a762e6cd546fb91a44fd [INFO] checking thekashifmalik/python.rs against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthekashifmalik%2Fpython.rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thekashifmalik/python.rs on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thekashifmalik/python.rs [INFO] finished tweaking git repo https://github.com/thekashifmalik/python.rs [INFO] tweaked toml for git repo https://github.com/thekashifmalik/python.rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thekashifmalik/python.rs 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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking thekashifmalik/python.rs against try#7ee76453dd3eae6de6c1351f26482bed63b01beb for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthekashifmalik%2Fpython.rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thekashifmalik/python.rs on toolchain 7ee76453dd3eae6de6c1351f26482bed63b01beb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thekashifmalik/python.rs [INFO] finished tweaking git repo https://github.com/thekashifmalik/python.rs [INFO] tweaked toml for git repo https://github.com/thekashifmalik/python.rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/thekashifmalik/python.rs 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" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ec274ac084615b436ae37982a266c14b7d4086be847a3a76a40f601d2091d1f [INFO] running `Command { std: "docker" "start" "-a" "1ec274ac084615b436ae37982a266c14b7d4086be847a3a76a40f601d2091d1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ec274ac084615b436ae37982a266c14b7d4086be847a3a76a40f601d2091d1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ec274ac084615b436ae37982a266c14b7d4086be847a3a76a40f601d2091d1f", kill_on_drop: false }` [INFO] [stdout] 1ec274ac084615b436ae37982a266c14b7d4086be847a3a76a40f601d2091d1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd324d5f38a3b244e13a5c1a23859e5e8060a150ed78d5a8fa918b0f6882a926 [INFO] running `Command { std: "docker" "start" "-a" "cd324d5f38a3b244e13a5c1a23859e5e8060a150ed78d5a8fa918b0f6882a926", kill_on_drop: false }` [INFO] [stderr] Checking python v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bool` in this scope [INFO] [stdout] --> src/main.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | "True" => { Ok(Bool(true)) }, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use PythonType::Bool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bool` in this scope [INFO] [stdout] --> src/main.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | "False" => { Ok(Bool(false)) }, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use PythonType::Bool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bool` in this scope [INFO] [stdout] --> src/main.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | "True" => { Ok(Bool(true)) }, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use PythonType::Bool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Bool` in this scope [INFO] [stdout] --> src/main.rs:37:29 [INFO] [stdout] | [INFO] [stdout] 37 | "False" => { Ok(Bool(false)) }, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use PythonType::Bool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_char` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | let hopefully_newline = line.pop_char().unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `pop_char` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | let hopefully_newline = line.pop_char().unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | match self.token.as_slice() { [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | "None" => { Ok(None) }, [INFO] [stdout] | -- ^^^^ expected `PythonType<'_>`, found `Option<_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `PythonType<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] help: the type constructed contains `Option<_>` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | "None" => { Ok(None) }, [INFO] [stdout] | ^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/7ee76453dd3eae6de6c1351f26482bed63b01beb/library/core/src/result.rs:506:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | match self.token.as_slice() { [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PythonType<'_>` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | print!("{}\n", value); [INFO] [stdout] | ^^^^^ `PythonType<'_>` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `PythonType<'_>` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | "None" => { Ok(None) }, [INFO] [stdout] | -- ^^^^ expected `PythonType<'_>`, found `Option<_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `PythonType<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] help: the type constructed contains `Option<_>` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | "None" => { Ok(None) }, [INFO] [stdout] | ^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Ok` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/7ee76453dd3eae6de6c1351f26482bed63b01beb/library/core/src/result.rs:506:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `PythonType<'_>` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | print!("{}\n", value); [INFO] [stdout] | ^^^^^ `PythonType<'_>` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `PythonType<'_>` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `print` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `python` (bin "python" test) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `python` (bin "python") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "cd324d5f38a3b244e13a5c1a23859e5e8060a150ed78d5a8fa918b0f6882a926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd324d5f38a3b244e13a5c1a23859e5e8060a150ed78d5a8fa918b0f6882a926", kill_on_drop: false }` [INFO] [stdout] cd324d5f38a3b244e13a5c1a23859e5e8060a150ed78d5a8fa918b0f6882a926