[INFO] cloning repository https://github.com/alexandercampbell/rust-cc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexandercampbell/rust-cc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexandercampbell%2Frust-cc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexandercampbell%2Frust-cc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8caab9188cd8b063fc1a4ca0ee74755ac6ad6ce0 [INFO] testing alexandercampbell/rust-cc against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexandercampbell%2Frust-cc" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexandercampbell/rust-cc on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alexandercampbell/rust-cc [INFO] finished tweaking git repo https://github.com/alexandercampbell/rust-cc [INFO] tweaked toml for git repo https://github.com/alexandercampbell/rust-cc written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/alexandercampbell/rust-cc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", 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] fd87cd353ff5210d96321737d405aa5477694d1f5590f81127e6eb5f69dd66c8 [INFO] running `Command { std: "docker" "start" "-a" "fd87cd353ff5210d96321737d405aa5477694d1f5590f81127e6eb5f69dd66c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd87cd353ff5210d96321737d405aa5477694d1f5590f81127e6eb5f69dd66c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd87cd353ff5210d96321737d405aa5477694d1f5590f81127e6eb5f69dd66c8", kill_on_drop: false }` [INFO] [stdout] fd87cd353ff5210d96321737d405aa5477694d1f5590f81127e6eb5f69dd66c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 031e11e4f618cafdb40a966fff97f48a267758b75d7364abc2af6f96bb93e8c0 [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" "031e11e4f618cafdb40a966fff97f48a267758b75d7364abc2af6f96bb93e8c0", kill_on_drop: false }` [INFO] [stderr] Compiling rust-cc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/interpreter/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(checker::check_program(program)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | ... let first_arg = try!(expression(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:49:74 [INFO] [stdout] | [INFO] [stdout] 49 | ... Some(Token::Comma) => arguments.push(try!(expression(context))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | let rhs = try!(atom(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | let lhs_node = try!(build_subtree(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | let rhs_node = try!(binary_operator_helper(context, allowed_operators, build_subtree)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | let expr = try!(expression(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:211:41 [INFO] [stdout] | [INFO] [stdout] 211 | let statement = try!(statement(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | let statement = try!(statement(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | let first_arg = try!(declaration(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:268:59 [INFO] [stdout] | [INFO] [stdout] 268 | Some(Token::Comma) => arguments.push(try!(declaration(context))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:280:22 [INFO] [stdout] | [INFO] [stdout] 280 | let statements = try!(statement_block(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:440:35 [INFO] [stdout] | [INFO] [stdout] 440 | let declaration = try!(declaration(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:461:40 [INFO] [stdout] | [INFO] [stdout] 461 | let function = try!(function_definition(context, declaration)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/lex_subroutines.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | '0'...'9' => (), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/lex_subroutines.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | 'A'...'Z'|'a'...'z'|'0'...'9'|'_' => literal.push(ch), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/lex_subroutines.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | 'A'...'Z'|'a'...'z'|'0'...'9'|'_' => literal.push(ch), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/lex_subroutines.rs:87:36 [INFO] [stdout] | [INFO] [stdout] 87 | 'A'...'Z'|'a'...'z'|'0'...'9'|'_' => literal.push(ch), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/mod.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | '0'...'9'|'.' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/lexer/mod.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | let number = try!(lex_subroutines::number(&mut context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/mod.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | 'a'...'z'|'A'...'Z'|'_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/mod.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | 'a'...'z'|'A'...'Z'|'_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/lexer/mod.rs:130:47 [INFO] [stdout] | [INFO] [stdout] 130 | '"' => push_tok(Token::String(try!(lex_subroutines::string(&mut context)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/mod.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let tokens = try!(lexer::lex(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/mod.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | let expr = try!(build::expression(&mut context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/mod.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | let tokens = try!(lexer::lex(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | try!(f.read_to_string(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_disk(location: &Path) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let mut f = try!(fs::File::open(location)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "031e11e4f618cafdb40a966fff97f48a267758b75d7364abc2af6f96bb93e8c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "031e11e4f618cafdb40a966fff97f48a267758b75d7364abc2af6f96bb93e8c0", kill_on_drop: false }` [INFO] [stdout] 031e11e4f618cafdb40a966fff97f48a267758b75d7364abc2af6f96bb93e8c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b8734535c4d40ef0c4558bc7cf713fe90277c0e2e9e137e49fcc6529b3c328f [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" "0b8734535c4d40ef0c4558bc7cf713fe90277c0e2e9e137e49fcc6529b3c328f", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/interpreter/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(checker::check_program(program)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-cc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | ... let first_arg = try!(expression(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:49:74 [INFO] [stdout] | [INFO] [stdout] 49 | ... Some(Token::Comma) => arguments.push(try!(expression(context))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | let rhs = try!(atom(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | let lhs_node = try!(build_subtree(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | let rhs_node = try!(binary_operator_helper(context, allowed_operators, build_subtree)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | let expr = try!(expression(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:211:41 [INFO] [stdout] | [INFO] [stdout] 211 | let statement = try!(statement(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | let statement = try!(statement(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | let first_arg = try!(declaration(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:268:59 [INFO] [stdout] | [INFO] [stdout] 268 | Some(Token::Comma) => arguments.push(try!(declaration(context))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:280:22 [INFO] [stdout] | [INFO] [stdout] 280 | let statements = try!(statement_block(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:440:35 [INFO] [stdout] | [INFO] [stdout] 440 | let declaration = try!(declaration(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:461:40 [INFO] [stdout] | [INFO] [stdout] 461 | let function = try!(function_definition(context, declaration)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/lex_subroutines.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | '0'...'9' => (), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/lex_subroutines.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | 'A'...'Z'|'a'...'z'|'0'...'9'|'_' => literal.push(ch), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/lex_subroutines.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | 'A'...'Z'|'a'...'z'|'0'...'9'|'_' => literal.push(ch), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/lex_subroutines.rs:87:36 [INFO] [stdout] | [INFO] [stdout] 87 | 'A'...'Z'|'a'...'z'|'0'...'9'|'_' => literal.push(ch), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/mod.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | '0'...'9'|'.' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/lexer/mod.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | let number = try!(lex_subroutines::number(&mut context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/mod.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | 'a'...'z'|'A'...'Z'|'_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/mod.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | 'a'...'z'|'A'...'Z'|'_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/lexer/mod.rs:130:47 [INFO] [stdout] | [INFO] [stdout] 130 | '"' => push_tok(Token::String(try!(lex_subroutines::string(&mut context)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/mod.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let tokens = try!(lexer::lex(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/mod.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | let expr = try!(build::expression(&mut context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/mod.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | let tokens = try!(lexer::lex(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | try!(f.read_to_string(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_disk(location: &Path) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let mut f = try!(fs::File::open(location)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/interpreter/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(checker::check_program(program)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:43:45 [INFO] [stdout] | [INFO] [stdout] 43 | ... let first_arg = try!(expression(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:49:74 [INFO] [stdout] | [INFO] [stdout] 49 | ... Some(Token::Comma) => arguments.push(try!(expression(context))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | let rhs = try!(atom(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | let lhs_node = try!(build_subtree(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | let rhs_node = try!(binary_operator_helper(context, allowed_operators, build_subtree)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | let expr = try!(expression(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:211:41 [INFO] [stdout] | [INFO] [stdout] 211 | let statement = try!(statement(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | let statement = try!(statement(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | let first_arg = try!(declaration(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:268:59 [INFO] [stdout] | [INFO] [stdout] 268 | Some(Token::Comma) => arguments.push(try!(declaration(context))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:280:22 [INFO] [stdout] | [INFO] [stdout] 280 | let statements = try!(statement_block(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:440:35 [INFO] [stdout] | [INFO] [stdout] 440 | let declaration = try!(declaration(context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/build.rs:461:40 [INFO] [stdout] | [INFO] [stdout] 461 | let function = try!(function_definition(context, declaration)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/lex_subroutines.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | '0'...'9' => (), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/lex_subroutines.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | 'A'...'Z'|'a'...'z'|'0'...'9'|'_' => literal.push(ch), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/lex_subroutines.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | 'A'...'Z'|'a'...'z'|'0'...'9'|'_' => literal.push(ch), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/lex_subroutines.rs:87:36 [INFO] [stdout] | [INFO] [stdout] 87 | 'A'...'Z'|'a'...'z'|'0'...'9'|'_' => literal.push(ch), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/mod.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | '0'...'9'|'.' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/lexer/mod.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | let number = try!(lex_subroutines::number(&mut context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/mod.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | 'a'...'z'|'A'...'Z'|'_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexer/mod.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | 'a'...'z'|'A'...'Z'|'_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/lexer/mod.rs:130:47 [INFO] [stdout] | [INFO] [stdout] 130 | '"' => push_tok(Token::String(try!(lex_subroutines::string(&mut context)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/mod.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let tokens = try!(lexer::lex(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/mod.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | let expr = try!(build::expression(&mut context)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser/mod.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | let tokens = try!(lexer::lex(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | try!(f.read_to_string(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/source.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_disk(location: &Path) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/source.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let mut f = try!(fs::File::open(location)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.34s [INFO] running `Command { std: "docker" "inspect" "0b8734535c4d40ef0c4558bc7cf713fe90277c0e2e9e137e49fcc6529b3c328f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b8734535c4d40ef0c4558bc7cf713fe90277c0e2e9e137e49fcc6529b3c328f", kill_on_drop: false }` [INFO] [stdout] 0b8734535c4d40ef0c4558bc7cf713fe90277c0e2e9e137e49fcc6529b3c328f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a76531630733ab65941a31fd4cb494df27a667fcaaeefef565a4f598b80a53e9 [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" "a76531630733ab65941a31fd4cb494df27a667fcaaeefef565a4f598b80a53e9", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/interpreter/mod.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | try!(checker::check_program(program)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser/build.rs:43:45 [INFO] [stderr] | [INFO] [stderr] 43 | ... let first_arg = try!(expression(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser/build.rs:49:74 [INFO] [stderr] | [INFO] [stderr] 49 | ... Some(Token::Comma) => arguments.push(try!(expression(context))), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser/build.rs:91:23 [INFO] [stderr] | [INFO] [stderr] 91 | let rhs = try!(atom(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser/build.rs:130:20 [INFO] [stderr] | [INFO] [stderr] 130 | let lhs_node = try!(build_subtree(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser/build.rs:149:20 [INFO] [stderr] | [INFO] [stderr] 149 | let rhs_node = try!(binary_operator_helper(context, allowed_operators, build_subtree)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser/build.rs:184:16 [INFO] [stderr] | [INFO] [stderr] 184 | let expr = try!(expression(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser/build.rs:211:41 [INFO] [stderr] | [INFO] [stderr] 211 | let statement = try!(statement(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser/build.rs:221:29 [INFO] [stderr] | [INFO] [stderr] 221 | let statement = try!(statement(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser/build.rs:262:29 [INFO] [stderr] | [INFO] [stderr] 262 | let first_arg = try!(declaration(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser/build.rs:268:59 [INFO] [stderr] | [INFO] [stderr] 268 | Some(Token::Comma) => arguments.push(try!(declaration(context))), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser/build.rs:280:22 [INFO] [stderr] | [INFO] [stderr] 280 | let statements = try!(statement_block(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser/build.rs:440:35 [INFO] [stderr] | [INFO] [stderr] 440 | let declaration = try!(declaration(context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser/build.rs:461:40 [INFO] [stderr] | [INFO] [stderr] 461 | let function = try!(function_definition(context, declaration)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/parser/lexer/lex_subroutines.rs:26:16 [INFO] [stderr] | [INFO] [stderr] 26 | '0'...'9' => (), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/parser/lexer/lex_subroutines.rs:87:16 [INFO] [stderr] | [INFO] [stderr] 87 | 'A'...'Z'|'a'...'z'|'0'...'9'|'_' => literal.push(ch), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/parser/lexer/lex_subroutines.rs:87:26 [INFO] [stderr] | [INFO] [stderr] 87 | 'A'...'Z'|'a'...'z'|'0'...'9'|'_' => literal.push(ch), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/parser/lexer/lex_subroutines.rs:87:36 [INFO] [stderr] | [INFO] [stderr] 87 | 'A'...'Z'|'a'...'z'|'0'...'9'|'_' => literal.push(ch), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/parser/lexer/mod.rs:121:20 [INFO] [stderr] | [INFO] [stderr] 121 | '0'...'9'|'.' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser/lexer/mod.rs:123:34 [INFO] [stderr] | [INFO] [stderr] 123 | let number = try!(lex_subroutines::number(&mut context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/parser/lexer/mod.rs:126:20 [INFO] [stderr] | [INFO] [stderr] 126 | 'a'...'z'|'A'...'Z'|'_' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/parser/lexer/mod.rs:126:30 [INFO] [stderr] | [INFO] [stderr] 126 | 'a'...'z'|'A'...'Z'|'_' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser/lexer/mod.rs:130:47 [INFO] [stderr] | [INFO] [stderr] 130 | '"' => push_tok(Token::String(try!(lex_subroutines::string(&mut context)))), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser/mod.rs:35:18 [INFO] [stderr] | [INFO] [stderr] 35 | let tokens = try!(lexer::lex(s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser/mod.rs:46:16 [INFO] [stderr] | [INFO] [stderr] 46 | let expr = try!(build::expression(&mut context)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser/mod.rs:59:18 [INFO] [stderr] | [INFO] [stderr] 59 | let tokens = try!(lexer::lex(s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/source.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | try!(f.read_to_string(&mut s)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/source.rs:19:59 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn from_disk(location: &Path) -> Result> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/source.rs:20:21 [INFO] [stderr] | [INFO] [stderr] 20 | let mut f = try!(fs::File::open(location)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-cc` (lib) generated 29 warnings [INFO] [stderr] warning: `rust-cc` (lib test) generated 29 warnings (29 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cc-dc56f69cf5553adb) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test parser::lexer::test::identifiers ... ok [INFO] [stdout] test parser::lexer::test::numbers ... ok [INFO] [stdout] test parser::lexer::test::one_line_comments ... ok [INFO] [stdout] test parser::lexer::test::simple_program ... ok [INFO] [stdout] test parser::lexer::test::unexpected_character ... ok [INFO] [stdout] test parser::lexer::test::strings ... ok [INFO] [stdout] test parser::test::operator_precedence ... ok [INFO] [stdout] test parser::test::function_call_with_parameters ... ok [INFO] [stdout] test parser::test::empty_function_call ... ok [INFO] [stdout] test parser::test::constant_declaration ... ok [INFO] [stdout] test parser::test::empty_program ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_cc-db371454472e2a3b) [INFO] [stdout] test parser::test::pointer_pointer ... ok [INFO] [stdout] test parser::test::function_definition ... ok [INFO] [stdout] test source::strip_block_comments ... ok [INFO] [stdout] test util::test::next_and_step_back ... ok [INFO] [stdout] test parser::test::void_function ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests cc [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/parser/lexer/lex_subroutines.rs:26:16 [INFO] [stderr] | [INFO] [stderr] 26 | '0'...'9' => (), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/parser/lexer/lex_subroutines.rs:87:16 [INFO] [stderr] | [INFO] [stderr] 87 | 'A'...'Z'|'a'...'z'|'0'...'9'|'_' => literal.push(ch), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/parser/lexer/lex_subroutines.rs:87:26 [INFO] [stderr] | [INFO] [stderr] 87 | 'A'...'Z'|'a'...'z'|'0'...'9'|'_' => literal.push(ch), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/parser/lexer/lex_subroutines.rs:87:36 [INFO] [stderr] | [INFO] [stderr] 87 | 'A'...'Z'|'a'...'z'|'0'...'9'|'_' => literal.push(ch), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/parser/lexer/mod.rs:121:20 [INFO] [stderr] | [INFO] [stderr] 121 | '0'...'9'|'.' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/parser/lexer/mod.rs:126:20 [INFO] [stderr] | [INFO] [stderr] 126 | 'a'...'z'|'A'...'Z'|'_' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/workdir/src/parser/lexer/mod.rs:126:30 [INFO] [stderr] | [INFO] [stderr] 126 | 'a'...'z'|'A'...'Z'|'_' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stdout] running 1 test [INFO] [stderr] [INFO] [stdout] test src/util/mod.rs - util::StepbackIterator::next (line 20) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.72s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a76531630733ab65941a31fd4cb494df27a667fcaaeefef565a4f598b80a53e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a76531630733ab65941a31fd4cb494df27a667fcaaeefef565a4f598b80a53e9", kill_on_drop: false }` [INFO] [stdout] a76531630733ab65941a31fd4cb494df27a667fcaaeefef565a4f598b80a53e9