[INFO] cloning repository https://github.com/StelarCF/slancf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/StelarCF/slancf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStelarCF%2Fslancf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStelarCF%2Fslancf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2832a239d91bf7ebb7caf74b3792c9c19308b03d [INFO] building StelarCF/slancf against master#461e8078010433ff7de2db2aaae8a3cfb0847215 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStelarCF%2Fslancf" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/StelarCF/slancf on toolchain 461e8078010433ff7de2db2aaae8a3cfb0847215 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/StelarCF/slancf [INFO] finished tweaking git repo https://github.com/StelarCF/slancf [INFO] tweaked toml for git repo https://github.com/StelarCF/slancf written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/StelarCF/slancf already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfaf06c415d4aa1db07738a82c459ae5a4301fe4eb058108ee8c869feb70d98b [INFO] running `Command { std: "docker" "start" "-a" "dfaf06c415d4aa1db07738a82c459ae5a4301fe4eb058108ee8c869feb70d98b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfaf06c415d4aa1db07738a82c459ae5a4301fe4eb058108ee8c869feb70d98b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfaf06c415d4aa1db07738a82c459ae5a4301fe4eb058108ee8c869feb70d98b", kill_on_drop: false }` [INFO] [stdout] dfaf06c415d4aa1db07738a82c459ae5a4301fe4eb058108ee8c869feb70d98b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e7406528482648d1e9c7249a142a9cb613452d946ac9e58b5ff984d78750c1f [INFO] running `Command { std: "docker" "start" "-a" "6e7406528482648d1e9c7249a142a9cb613452d946ac9e58b5ff984d78750c1f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling slancf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lexer.rs:59:37 [INFO] [stdout] | [INFO] [stdout] 59 | res.push(Token::Literal(try!(parse_literal(crt_string.clone())))); [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/lexer.rs:93:48 [INFO] [stdout] | [INFO] [stdout] 93 | res.push(Token::Expression(try!(lex(crt_string.clone())))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lexer.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | try!(check_forming(&mut res, &mut crt_string, literal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lexer.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | try!(check_forming(&mut res, &mut crt_string, literal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lexer.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | try!(check_forming(&mut res, &mut crt_string, literal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lexer.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | try!(check_forming(&mut res, &mut crt_string, literal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lexer.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | try!(check_forming(&mut res, &mut crt_string, literal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | ... let value = try!(self.into_type(token.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | try!(self.parse(&expression)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 48 | / match first_token { [INFO] [stdout] 49 | | Token::Name(s) => { [INFO] [stdout] 50 | | match s.as_ref() { [INFO] [stdout] 51 | | "print" => { // print key word [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] 80 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 81 | Ok(Type::Empty) [INFO] [stdout] | ^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.19s [INFO] running `Command { std: "docker" "inspect" "6e7406528482648d1e9c7249a142a9cb613452d946ac9e58b5ff984d78750c1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e7406528482648d1e9c7249a142a9cb613452d946ac9e58b5ff984d78750c1f", kill_on_drop: false }` [INFO] [stdout] 6e7406528482648d1e9c7249a142a9cb613452d946ac9e58b5ff984d78750c1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7de36ae513d3fc65c237e81825f47b12676682a8680fc9dac2a68eba189620f0 [INFO] running `Command { std: "docker" "start" "-a" "7de36ae513d3fc65c237e81825f47b12676682a8680fc9dac2a68eba189620f0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lexer.rs:59:37 [INFO] [stdout] | [INFO] [stdout] 59 | res.push(Token::Literal(try!(parse_literal(crt_string.clone())))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling slancf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lexer.rs:93:48 [INFO] [stdout] | [INFO] [stdout] 93 | res.push(Token::Expression(try!(lex(crt_string.clone())))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lexer.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | try!(check_forming(&mut res, &mut crt_string, literal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lexer.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | try!(check_forming(&mut res, &mut crt_string, literal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lexer.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | try!(check_forming(&mut res, &mut crt_string, literal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lexer.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | try!(check_forming(&mut res, &mut crt_string, literal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lexer.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | try!(check_forming(&mut res, &mut crt_string, literal)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 53 | ... let value = try!(self.into_type(token.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | try!(self.parse(&expression)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 48 | / match first_token { [INFO] [stdout] 49 | | Token::Name(s) => { [INFO] [stdout] 50 | | match s.as_ref() { [INFO] [stdout] 51 | | "print" => { // print key word [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] 80 | | } [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 81 | Ok(Type::Empty) [INFO] [stdout] | ^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.88s [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/slancf-6e539a72e3aa0a4d) [INFO] running `Command { std: "docker" "inspect" "7de36ae513d3fc65c237e81825f47b12676682a8680fc9dac2a68eba189620f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7de36ae513d3fc65c237e81825f47b12676682a8680fc9dac2a68eba189620f0", kill_on_drop: false }` [INFO] [stdout] 7de36ae513d3fc65c237e81825f47b12676682a8680fc9dac2a68eba189620f0