[INFO] fetching crate rustration 0.1.0... [INFO] testing rustration-0.1.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate rustration 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate rustration 0.1.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustration 0.1.0 [INFO] finished tweaking crates.io crate rustration 0.1.0 [INFO] tweaked toml for crates.io crate rustration 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e609a2fb3ad149cae975834e72e28e56f784ea70079c9c66081a645d95e8227 [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" "2e609a2fb3ad149cae975834e72e28e56f784ea70079c9c66081a645d95e8227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e609a2fb3ad149cae975834e72e28e56f784ea70079c9c66081a645d95e8227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e609a2fb3ad149cae975834e72e28e56f784ea70079c9c66081a645d95e8227", kill_on_drop: false }` [INFO] [stdout] 2e609a2fb3ad149cae975834e72e28e56f784ea70079c9c66081a645d95e8227 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de174a08bb457dd3d3f6dbe60ac38bd397ef13b337e8050294eeb442a37e49d6 [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" "de174a08bb457dd3d3f6dbe60ac38bd397ef13b337e8050294eeb442a37e49d6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling rustration v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/parse/ast.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let block = try!(parse(code, false)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/parse/parsing.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let entry = try!(parse(self, false)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/parse/parsing.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | Expr::Loop(try!(Loop::new(parser))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/main.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | let mut file = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/main.rs:246:3 [INFO] [stdout] | [INFO] [stdout] 246 | try!(file.read_to_end(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/error.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.34s [INFO] running `Command { std: "docker" "inspect" "de174a08bb457dd3d3f6dbe60ac38bd397ef13b337e8050294eeb442a37e49d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de174a08bb457dd3d3f6dbe60ac38bd397ef13b337e8050294eeb442a37e49d6", kill_on_drop: false }` [INFO] [stdout] de174a08bb457dd3d3f6dbe60ac38bd397ef13b337e8050294eeb442a37e49d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7707653e4a77c1031cef60fcc7ceb1819c8fedf259e62bd6b61913da9063e121 [INFO] running `Command { std: "docker" "start" "-a" "7707653e4a77c1031cef60fcc7ceb1819c8fedf259e62bd6b61913da9063e121", kill_on_drop: false }` [INFO] [stderr] Compiling rustration v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/parse/ast.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let block = try!(parse(code, false)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/parse/parsing.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let entry = try!(parse(self, false)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/parse/parsing.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | Expr::Loop(try!(Loop::new(parser))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/main.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | let mut file = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/main.rs:246:3 [INFO] [stdout] | [INFO] [stdout] 246 | try!(file.read_to_end(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/error.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for enum `std::result::Result, std::io::Error>` in the current scope [INFO] [stdout] --> src/parse/parsing.rs:223:44 [INFO] [stdout] | [INFO] [stdout] 223 | let mut parser = RawParser::new(data.clone()); [INFO] [stdout] | ^^^^^ method not found in `std::result::Result, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the method `clone` exists but the following trait bounds were not satisfied: [INFO] [stdout] `std::io::Error: std::clone::Clone` [INFO] [stdout] which is required by `std::result::Result, std::io::Error>: std::clone::Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `token` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/parse/parsing.rs:288:22 [INFO] [stdout] | [INFO] [stdout] 288 | assert_eq!(token.token(), &Token::MoveRight); [INFO] [stdout] | ^^^^^ method not found in `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `token` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/parse/parsing.rs:291:22 [INFO] [stdout] | [INFO] [stdout] 291 | assert_eq!(token.token(), &Token::MoveLeft); [INFO] [stdout] | ^^^^^ method not found in `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `token` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/parse/parsing.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | assert_eq!(token.token(), &Token::Increment); [INFO] [stdout] | ^^^^^ method not found in `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `token` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/parse/parsing.rs:297:22 [INFO] [stdout] | [INFO] [stdout] 297 | assert_eq!(token.token(), &Token::Increment); [INFO] [stdout] | ^^^^^ method not found in `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `token` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/parse/parsing.rs:300:22 [INFO] [stdout] | [INFO] [stdout] 300 | assert_eq!(token.token(), &Token::Output); [INFO] [stdout] | ^^^^^ method not found in `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `token` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/parse/parsing.rs:303:22 [INFO] [stdout] | [INFO] [stdout] 303 | assert_eq!(token.token(), &Token::Eof); [INFO] [stdout] | ^^^^^ method not found in `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `token` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/parse/parsing.rs:305:22 [INFO] [stdout] | [INFO] [stdout] 305 | assert_eq!(token.token(), &Token::Eof); [INFO] [stdout] | ^^^^^ method not found in `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `token` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/parse/parsing.rs:307:22 [INFO] [stdout] | [INFO] [stdout] 307 | assert_eq!(token.token(), &Token::Eof); [INFO] [stdout] | ^^^^^ method not found in `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustration`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7707653e4a77c1031cef60fcc7ceb1819c8fedf259e62bd6b61913da9063e121", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7707653e4a77c1031cef60fcc7ceb1819c8fedf259e62bd6b61913da9063e121", kill_on_drop: false }` [INFO] [stdout] 7707653e4a77c1031cef60fcc7ceb1819c8fedf259e62bd6b61913da9063e121