[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthekashifmalik%2Fpython.rs" "/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/thekashifmalik/python.rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-14/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64527d5e4828e0203489558d3132941f2e7f80b58e211cb85ac11ec5dc437da2 [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" "64527d5e4828e0203489558d3132941f2e7f80b58e211cb85ac11ec5dc437da2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64527d5e4828e0203489558d3132941f2e7f80b58e211cb85ac11ec5dc437da2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64527d5e4828e0203489558d3132941f2e7f80b58e211cb85ac11ec5dc437da2", kill_on_drop: false }` [INFO] [stdout] 64527d5e4828e0203489558d3132941f2e7f80b58e211cb85ac11ec5dc437da2 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7139fc72ea40d7f11e93d1b776c539b481ca04d255fd88f2dcd56bf0315913da [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" "7139fc72ea40d7f11e93d1b776c539b481ca04d255fd88f2dcd56bf0315913da", 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[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: 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[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[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 enum `PythonType`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `PythonType<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lines` found for struct `Stdin` in the current scope [INFO] [stdout] --> src/main.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | for line in io::stdin().lines() { [INFO] [stdout] | ^^^^^ method not found in `Stdin` [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: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 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[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | "None" => { Ok(None) }, [INFO] [stdout] | ^^^^ expected enum `PythonType`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `PythonType<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `python` [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] [stdout] error[E0599]: no method named `lines` found for struct `Stdin` in the current scope [INFO] [stdout] --> src/main.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | for line in io::stdin().lines() { [INFO] [stdout] | ^^^^^ method not found in `Stdin` [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: required by `std::fmt::Display::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 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: build failed [INFO] running `Command { std: "docker" "inspect" "7139fc72ea40d7f11e93d1b776c539b481ca04d255fd88f2dcd56bf0315913da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7139fc72ea40d7f11e93d1b776c539b481ca04d255fd88f2dcd56bf0315913da", kill_on_drop: false }` [INFO] [stdout] 7139fc72ea40d7f11e93d1b776c539b481ca04d255fd88f2dcd56bf0315913da