{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rustc-serialize/issues/23","labels_url":"https://api.github.com/repos/rust-lang/rustc-serialize/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rustc-serialize/issues/23/comments","events_url":"https://api.github.com/repos/rust-lang/rustc-serialize/issues/23/events","html_url":"https://github.com/rust-lang/rustc-serialize/issues/23","id":54065993,"number":23,"title":"Building rustc-serialize as a dependency","user":{"login":"xeet","id":6851898,"avatar_url":"https://avatars.githubusercontent.com/u/6851898?v=3","gravatar_id":"","url":"https://api.github.com/users/xeet","html_url":"https://github.com/xeet","followers_url":"https://api.github.com/users/xeet/followers","following_url":"https://api.github.com/users/xeet/following{/other_user}","gists_url":"https://api.github.com/users/xeet/gists{/gist_id}","starred_url":"https://api.github.com/users/xeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xeet/subscriptions","organizations_url":"https://api.github.com/users/xeet/orgs","repos_url":"https://api.github.com/users/xeet/repos","events_url":"https://api.github.com/users/xeet/events{/privacy}","received_events_url":"https://api.github.com/users/xeet/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-12T15:27:19Z","updated_at":"2015-01-15T13:36:34Z","closed_at":"2015-01-12T16:10:16Z","body":"Hello guys, I was trying to use the toml-rs library to read config files made in toml for my project and it had marked the rustc-serialize crate (is that ok?) as a dependecy. During the build I encountered the following error that I couldn't sort out so if you could give me a hint of what is happening I would be really grateful.\r\n\r\n```\r\n$ cargo build --verbose\r\nCompiling rustc-serialize v0.2.7 (https://github.com/rust-lang/rustc-serialize.git#2ff7f6c1)\r\n     Running `rustc /home/vagrant/.cargo/git/checkouts/rustc-serialize-bdc70357aa712c7d/master/src/lib.rs --crate-name rustc-serialize --crate-type lib -g -C metadata=4fe51b58123782a8 -C extra-filename=-4fe51b58123782a8 --out-dir /home/vagrant/infeyes/target/deps --emit=dep-info,link -L dependency=/home/vagrant/infeyes/target/deps -L dependency=/home/vagrant/infeyes/target/deps -Awarnings`\r\n       Fresh libey v0.0.1 (file:///home/vagrant/infeyes)\r\n/home/vagrant/.cargo/git/checkouts/rustc-serialize-bdc70357aa712c7d/master/src/json.rs:3422:27: 3422:30 error: illegal suffix `us` for numeric literal\r\n/home/vagrant/.cargo/git/checkouts/rustc-serialize-bdc70357aa712c7d/master/src/json.rs:3422         for i in range(0, 4us) {\r\n                                                                                                                      ^~~\r\n/home/vagrant/.cargo/git/checkouts/rustc-serialize-bdc70357aa712c7d/master/src/json.rs:3803:42: 3803:45 error: illegal suffix `us` for numeric literal\r\n/home/vagrant/.cargo/git/checkouts/rustc-serialize-bdc70357aa712c7d/master/src/json.rs:3803         tree_map.insert(\"a\".to_string(), 1us);\r\n                                                                                                                                     ^~~\r\n/home/vagrant/.cargo/git/checkouts/rustc-serialize-bdc70357aa712c7d/master/src/json.rs:3807:42: 3807:45 error: illegal suffix `us` for numeric literal\r\n/home/vagrant/.cargo/git/checkouts/rustc-serialize-bdc70357aa712c7d/master/src/json.rs:3807         hash_map.insert(\"a\".to_string(), 1us);\r\n                                                                                                                                     ^~~\r\nerror: aborting due to 3 previous errors\r\nCould not compile `rustc-serialize`.\r\n\r\nCaused by:\r\n  Process didn't exit successfully: `rustc /home/vagrant/.cargo/git/checkouts/rustc-serialize-bdc70357aa712c7d/master/src/lib.rs --crate-name rustc-serialize --crate-type lib -g -C metadata=4fe51b58123782a8 -C extra-filename=-4fe51b58123782a8 --out-dir /home/vagrant/infeyes/target/deps --emit=dep-info,link -L dependency=/home/vagrant/infeyes/target/deps -L dependency=/home/vagrant/infeyes/target/deps -Awarnings` (status=101)\r\n```\r\n\r\nRegards"},"comment":{"url":"https://api.github.com/repos/rust-lang/rustc-serialize/issues/comments/70086024","html_url":"https://github.com/rust-lang/rustc-serialize/issues/23#issuecomment-70086024","issue_url":"https://api.github.com/repos/rust-lang/rustc-serialize/issues/23","id":70086024,"user":{"login":"xeet","id":6851898,"avatar_url":"https://avatars.githubusercontent.com/u/6851898?v=3","gravatar_id":"","url":"https://api.github.com/users/xeet","html_url":"https://github.com/xeet","followers_url":"https://api.github.com/users/xeet/followers","following_url":"https://api.github.com/users/xeet/following{/other_user}","gists_url":"https://api.github.com/users/xeet/gists{/gist_id}","starred_url":"https://api.github.com/users/xeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xeet/subscriptions","organizations_url":"https://api.github.com/users/xeet/orgs","repos_url":"https://api.github.com/users/xeet/repos","events_url":"https://api.github.com/users/xeet/events{/privacy}","received_events_url":"https://api.github.com/users/xeet/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T13:36:34Z","updated_at":"2015-01-15T13:36:34Z","body":"Thanks a lot guys, that solved the issue. \r\nI expected the rustup.sh script to download the 1.0.0 version of rustc but it downloaded the stable one, so  I just rebuilt everything from scratch."}}